Commit Graph

44 Commits

Author SHA1 Message Date
Luca Frosini 4e43217b63 Improved code 2021-09-17 10:35:57 +02: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 5f8850611d Cleaning code 2021-02-26 18:39:53 +01:00
Luca Frosini 129c4b5b54 Getting constant from ORientDB class in place of redefining it 2021-02-26 18:08:13 +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 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 44631557da Improving code 2021-02-19 19:32:23 +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 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 319fa760e3 Fixing code due to refactoring 2021-02-12 12:09:33 +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 a10323735d Implementing #20530 #20531 2021-01-25 17:38:19 +01:00
Luca Frosini 342d89185c Added fixed authorship 2021-01-20 17:08:59 +01:00
Luca Frosini 73e1fee53b Fixed code 2021-01-20 17:04:29 +01:00
Luca Frosini 1ccefd44e2 Ported SchemaManagement to the new way to define the type of a property 2021-01-20 15:11:51 +01:00
Luca Frosini bf24fe07c4 Fixing type management 2021-01-19 17:21:51 +01:00
Luca Frosini c1f694a9e2 Fixed type update 2021-01-14 18:26:26 +01:00
Luca Frosini 0606d291a4 Implementing update. Removed uneeded interface 2021-01-13 21:52:09 +01:00
Luca Frosini c0fb892279 Implementing type update 2021-01-12 15:41:19 +01:00
Luca Frosini 1a82b13878 extracted function to get the proper type management class 2020-12-22 11:37:36 +01:00
Luca Frosini 648abc52c3 Implementing type update 2020-12-14 12:36:53 +01:00
Luca Frosini 679c0a7910 Creating update method ofr type 2020-12-14 12:34:21 +01:00
Luca Frosini 1e47580d39 Switching to gcube-jackson 2020-07-07 17:15:22 +02:00
Luca Frosini 1488506060 Fixed catch to properly propagate exception 2020-02-05 16:22:33 +01:00
Luca Frosini 3bbcccca79 Fixed thrown exception in case the type does not exists to return a 404
Not Found HTTP error to client
2020-02-05 16:16:21 +01:00
Luca Frosini aa72d03b4f TypeBinder has been renamed to TypeMapper 2020-02-04 09:30:50 +01:00
Luca Frosini 69647bbc32 Fixed code 2020-02-03 11:22:12 +01:00
Luca Frosini ede8f1be76 Fixed imports and class name due to IS Model refactoring 2020-02-03 10:52:09 +01:00
Luca Frosini aaaa3915fe Renaming classes to align the name with the IS model reorganization 2020-01-30 11:53:15 +01:00
Luca Frosini 241b6269bc Reorganized model as following
Element
 - EntityElement
   - Entity
     - Resource
     - Facet
   - Context
   - EntityType
     - ResourceType (3 lists of PropertyDefinition, LinkedFacet,
LinkedResource)
     - FacetType (1 list of PropertyDefinition)
 - RelationElement
   - Relation
     - IsRelatedTo
     - ConsistsOf
   - IsParentOf
   - RelationType
     - IsRelatedTo (1 list of PropertyDefinition)
     - ConsistsOf (1 list of PropertyDefinition)
 - PropertyElement
   - Property
     - Header
     - PropagationConstraint
     - Encrypted
   - PropertyType (1 list of PropertyDefinition)
     - PropertyDefinition
     - LinkedEntity
       - LinkedFacet
       - LinkedResource
2020-01-30 11:04:16 +01:00
Luca Frosini 1e02edd42c Used switch case in place of if else if 2020-01-28 10:09:58 +01:00
Luca Frosini d780357089 Fixed bug which does not allow to create PropertyTypeDefiniton of
Property during DB initialization
2020-01-27 17:57:24 +01:00
Luca Frosini d5c2ecd896 Reorganizing packages 2020-01-27 17:07:37 +01:00
Luca Frosini eb99996c62 Reorganized Packages 2020-01-27 17:04:45 +01:00