Dexels / navajo

Navajo Service-oriented Applications
GNU Affero General Public License v3.0
9 stars 5 forks source link

(Bundle creation/deletion) When deleting a webservice that has a generic and a tenant-specific include, the tenant-specific bundle shouldn't stick around #596

Open kharybdys opened 3 years ago

kharybdys commented 3 years ago

See the junit tests in BundleManipulationTest, test testBundleCreationWithIncludeAndDeletion. The final assertion should work but it currently fails.

This is because bundle uninstall doesn't allow for actions on related bundles (the system doesn't really know the bundles are related). Note that the tenant-specific bundle should NOT be uninstalled if its source was a bundle specific version of the webservice (instead of derived from the tenant-specific include).

It is verified that the current navajo system also exhibits the same, wrong, behaviour.

kharybdys commented 3 years ago

Note that more tests in the same class fail for this reason. They have this issue number next to them as a marker to turn them back on once fixed