IKANOW / Aleph2

The IKANOW v2 meta-database and analytics platform
Apache License 2.0
2 stars 1 forks source link

Build a multi-bucket container #71

Open Alex-Ikanow opened 8 years ago

Alex-Ikanow commented 8 years ago

Add the following fields to the data bucket bean

multi_bucket_container: List<DataBucketBean>
multi_bucket_parent_path: String

and then when a multi_bucket is received, then it decomposes (adding path to the parent path name - maybe also overwriting any other top level fields that are set?) and calls each one separately as a new or update (depending on whether it exists or not), and calls delete on any bucket with multi_bucket_parent_path that is no longer

Then tweak the bucket builder forms so that you can build a multi bucket up in the UI