Commit Graph

670 Commits

Author SHA1 Message Date
Luca Frosini 48560853f2 Enhanced version due to deep refactoring and IS Model reorganization 2020-02-11 11:30:57 +01: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 8413b94a86 Changed DataTime Pattern import due to changes in IS Model 2020-02-04 09:44:38 +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 58488f743e fixed test compiling 2020-01-29 16:33:18 +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
Luca Frosini 96439e829e Splitted test 2020-01-24 16:54:44 +01:00
Luca Frosini 5d9da98508 Fixed Schema management and test 2020-01-24 11:25:13 +01:00
Luca Frosini ecc047889e Fixed types creations 2020-01-23 17:15:02 +01:00
Luca Frosini a825fe51af Fixed types creation to support resource schema definition. 2020-01-20 10:29:56 +01:00
Luca Frosini 72f2ee3e15 Removed restriction annotation which is not needed with open JDK 2019-12-13 10:19:52 +01:00
Luca Frosini b206f4458f Fixed ignore file 2019-12-13 10:19:24 +01:00
Luca Frosini 7deab36d24 Removed and ignored eclipse project files 2019-12-10 11:30:35 +01:00
Luca Frosini ac111cfe73 Removed and ignored eclipse project files 2019-12-10 11:29:15 +01:00
Luca Frosini 058e83a065 Fixed README 2019-12-05 18:10:15 +01:00
Luca Frosini 63700398d4 removed empty javadoc 2019-12-05 17:03:59 +01:00
Luca Frosini 9b3b2e2a95 Commmented test 2019-12-05 17:01:35 +01:00
Luca Frosini 50edc71829 Fixed distro files and pom 2019-12-05 16:59:10 +01:00
Luca Frosini 2e57ccd304 Fixed pom 2019-12-05 15:27:21 +01:00
Luca Frosini aed7adfbbf Removed distro directory 2019-12-05 15:27:14 +01:00
Luca Frosini ed241fb03c Fixed bom version imports 2019-12-05 12:09:43 +01:00
Luca Frosini a830b8de37 Fixed imports and code to comply with IsIdentifiedBy relation which has
been moved from IS Model to gCube Model
2019-12-05 12:09:23 +01:00
Luca Frosini 7e602b72bd Fixed type schema serialization 2019-11-11 16:09:47 +01:00
Luca Frosini da8082d55f The type definition is now created for every type (for *TypeDefinition
too)
2019-11-08 18:37:30 +01:00
Luca Frosini 6354f99103 Fixing Type definition 2019-11-08 18:14:45 +01:00
Luca Frosini 6bc15e3164 fixed type definitions creation 2019-11-08 13:14:56 +01:00
Luca Frosini f8427ea85b Fixing database initializations 2019-11-08 12:29:32 +01:00
Luca Frosini c6ddf6da91 Fixed package name 2019-11-06 12:14:27 +01:00
Luca Frosini e59af36a4f Changed orientdb deprecated api for query 2019-11-06 12:13:19 +01:00
Luca Frosini f683681a8a Switched from OrientGraph to oDatabaseDocument to have one interface for
managing vertexes, edges and properties.
Moreover, switched from Element to OElement, Vertex to OVertex, Edge to
OEdge to have the same APIs to manage instances, and to be able to
directly use oDatabaseDocument instead of frequent casts to
OrientElement to perform operations not supported by thinkerpop standard
interface.
2019-11-05 18:36:44 +01:00
Luca Frosini f14061774d Refactoring servcie 2019-11-05 09:28:55 +01:00
Luca Frosini 383887e7d2 Refactoring service to be aligned with IS model refactorign 2019-11-04 18:01:20 +01:00
Luca Frosini 914f267c29 All tests are back to normal 2019-10-30 12:43:30 +01:00
Luca Frosini 495cba3145 Fixing resource-registry due to model redesign 2019-10-30 09:57:36 +01:00
Luca Frosini 10e5feb9d9 Changed the way to set context for tests 2019-10-28 15:06:31 +01:00
Luca Frosini b599c27351 Fixing imports and code to be aligned with model reorganization 2019-10-25 17:45:59 +02:00
Luca Frosini 1d8af30bea Fixed dependency 2019-10-10 17:07:41 +02:00
Luca Frosini 74581f132e Added test 2019-10-03 14:54:37 +02:00
Luca Frosini db18c24e5f Fixed eclipse project files 2019-10-03 14:54:30 +02:00
Luca Frosini ff57b76911 Fixed maven parent and 'scm' section 2019-10-03 14:54:11 +02:00
Luca Frosini 3e91d58900 Remvoed worng test 2019-07-30 16:48:18 +02:00
Luca Frosini d75b7810d5 Fixed test 2019-07-30 16:47:15 +02:00