Commit Graph

61 Commits

Author SHA1 Message Date
Luca Frosini f17106e42e Add to context add only the ERElement in the source context #12218 2021-09-16 15:23:04 +02:00
Luca Frosini fa47217afd improved bug fix 2021-08-05 19:44:11 +02:00
Luca Frosini 0760bd29d6 Fixed null pointer exception 2021-08-05 16:41:29 +02:00
Luca Frosini 5db160a2dc IMproved affected instances management 2021-03-06 10:53:45 +01:00
Luca Frosini 6afde17b0f Fixing corner cases 2021-03-05 17:22:01 +01:00
Luca Frosini ada9439ab9 DryRun has been implemented as transaction rollback 2021-03-05 16:19:55 +01:00
Luca Frosini 00a3efb1f6 Fixed bug 2021-03-05 15:26:19 +01:00
Luca Frosini e148a0b253 Harmonizing APIs 2021-03-05 15:14:51 +01:00
Luca Frosini 93f5999553 Added affected instances variable to ElementManagement 2021-03-05 11:59:24 +01:00
Luca Frosini 9770531b33 Reorganizing code 2021-03-05 10:46:59 +01:00
Luca Frosini 5a94aadce5 Implemented strategy to properly check resource sanity in case a delete
has been requested for a ConsistsOf or a Facet.
2021-03-04 21:57:01 +01:00
Luca Frosini dc481fbba6 Reorganizing code 2021-03-04 11:45:27 +01:00
Luca Frosini 35be405f8e Set uuid on Management instance to avoid null in logs during tests 2021-03-04 10:39:18 +01:00
Luca Frosini 005d9a2427 Changed sanityCheck strategy 2021-03-04 10:24:21 +01:00
Luca Frosini 88baf3cb90 Fixing bug and added tests 2021-03-03 17:18:36 +01:00
Luca Frosini 25f2850114 Fixed bug 2021-03-02 16:39:30 +01:00
Luca Frosini f36ff52dcf Added Operation enum to be able to check which action has been executed 2021-03-02 10:25:58 +01:00
Luca Frosini 0a807d74a2 Improving code 2021-03-02 09:35:02 +01:00
Luca Frosini c65e84a0bb Removed old commented code 2021-03-02 09:21:10 +01:00
Luca Frosini 703a5f3b22 Merge remote-tracking branch 'origin/feature/20316' into feature/20316 2021-03-01 17:09:26 +01:00
Luca Frosini 9cf40bf2fa Going to improve sanity check to manage the
addToContext/removeFromContext actions
2021-03-01 16:42:34 +01:00
Luca Frosini 99e88fc1e3 Cleaning code 2021-02-26 18:46:00 +01:00
Luca Frosini b3433d2d23 Cleaning code 2021-02-26 18:41:55 +01:00
Luca Frosini 83ca22a15e Instances are now validate with the defined schema #18216 and #7355 2021-02-23 17:31:46 +01:00
Luca Frosini 151ad9add4 Improving code 2021-02-23 14:44:37 +01:00
Luca Frosini d58dcc20cf Fixed bug and tests 2021-02-23 12:27:42 +01:00
Luca Frosini 3756439c72 Fixed tests to comply with new validation made by the service 2021-02-23 11:33:57 +01:00
Luca Frosini 30be493f4a Refactorign code 2021-02-22 16:36:19 +01:00
Luca Frosini 03271c0e41 Validating instances 2021-02-22 12:38:12 +01:00
Luca Frosini f767fc021a Moved sanityCheck in internalCreate() and internalUpdate() functions 2021-02-22 11:15:15 +01:00
Luca Frosini 44631557da Improving code 2021-02-19 19:32:23 +01:00
Luca Frosini b7a2e6c6eb Fixed bugs 2021-02-19 15:31:26 +01:00
Luca Frosini 799aa5a770 Improving code 2021-02-19 14:34:48 +01:00
Luca Frosini de12ce5a6d Implementing sanityCheck 2021-02-18 18:22:39 +01:00
Luca Frosini ad1637ab14 renamed variable 2021-02-18 09:42:51 +01:00
Luca Frosini dbbdd206d5 Fixed test conrner case 2021-02-17 15:52:09 +01:00
Luca Frosini 2597379ad4 Fixing serilization 2021-02-17 15:16:25 +01:00
Luca Frosini 74be68d2b6 Revisited serilization 2021-02-17 11:29:43 +01:00
Luca Frosini 845ddde2c8 Rivisiting element serilization 2021-02-16 18:43:47 +01:00
Luca Frosini a518f98235 Refactoring code to simplify type management and to have a better
support for types cache.
2021-02-11 14:35:54 +01:00
Luca Frosini b98af42e99 Reorganizing code 2021-02-10 15:54:52 +01:00
Luca Frosini 421dce843f Adding type cache. Refatoring code 2021-02-10 15:45:48 +01:00
Luca Frosini c21fa2aa1a Refactoring code 2021-02-08 16:26:58 +01:00
Luca Frosini 3434f373f6 Refactoring service 2021-02-05 17:50:16 +01:00
Luca Frosini f722c2b148 Implementing add/remove to/from context no follow #20531 2021-02-04 14:05:52 +01:00
Luca Frosini dd2e363a51 Implementing strategy for add/remove to/from context no follow 2021-02-02 17:11:13 +01:00
Luca Frosini b18ebe7427 Implementing strategy for add/remove to/from context no follow 2021-02-02 16:50:48 +01:00
Luca Frosini 55b79bc835 Superclasses are now filtered (i.e. internal types are not added to the
list)and ordered (first the immediate superclass and the last the basic
type e.g. Resource, Facet, IsRelatedTo, ConsistsOf) #20319
2021-01-29 16:13:33 +01:00
Luca Frosini 58d7aa93c3 Implemented #20555 #20530 2021-01-28 22:53:10 +01:00
Luca Frosini 27cec7ec31 Add to Context deny to add a resource without adding at least a facet.
Added a test to check the service behave properly
2021-01-27 21:57:06 +01:00