ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
173 stars 110 forks source link

S3/FS loading current OPTs on bootstrap should avoid to load .deleted and .old ones #1072

Closed ppazos closed 4 years ago

ppazos commented 4 years ago

Right now the deleted and old OPTs are being loaded on bootstrap from S3, and should be avoided.

Need to check how that is done on FS also.

ppazos commented 4 years ago

The filter should be applied in OptRepositoryS3Impl.getAllOptKeysAndContents().

In OptRepositoryFSImpl.getAllOptKeysAndContents() there are filters already https://github.com/ppazos/openEHR-OPT/blob/master/src/com/cabolabs/openehr/opt/manager/OptRepositoryFSImpl.groovy

ppazos commented 4 years ago

fixed