Commit Graph

114 Commits

Author SHA1 Message Date
Luca Frosini 0a807d74a2 Improving code 2021-03-02 09:35:02 +01:00
Luca Frosini 12ade8e7de Removed old commented code to set the calledMethod 2021-03-02 09:13:53 +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 6d3d9b8e37 Cleaning code 2021-02-26 18:41:14 +01:00
Luca Frosini 30be493f4a Refactorign code 2021-02-22 16:36:19 +01:00
Luca Frosini 799aa5a770 Improving code 2021-02-19 14:34:48 +01:00
Luca Frosini fe37358ea7 Adding SchemaViolationException 2021-02-16 17:17:40 +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 421dce843f Adding type cache. Refatoring code 2021-02-10 15:45:48 +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 58d7aa93c3 Implemented #20555 #20530 2021-01-28 22:53:10 +01:00
Luca Frosini ab1f81fce7 Revert "Revert "Added dryRun""
This reverts commit 3585ccc197.
2021-01-26 16:54:20 +01:00
Luca Frosini 3585ccc197 Revert "Added dryRun"
This reverts commit afbc42eb8b.
2021-01-26 16:53:26 +01:00
Luca Frosini afbc42eb8b Added dryRun 2021-01-26 16:52:02 +01:00
Luca Frosini a10323735d Implementing #20530 #20531 2021-01-25 17:38:19 +01:00
Luca Frosini 60c96b6a91 Reorganizing REST interface 2021-01-24 23:33:06 +01:00
Luca Frosini 342d89185c Added fixed authorship 2021-01-20 17:08:59 +01:00
Luca Frosini 11bf7f0638 Renamed class toalign the naming to the others 2021-01-13 21:55:01 +01:00
Luca Frosini 0606d291a4 Implementing update. Removed uneeded interface 2021-01-13 21:52:09 +01:00
Luca Frosini 64b0c49771 Fixed URL path 2020-11-24 15:39:09 +01:00
Luca Frosini 251d239773 Fixed access method 2020-11-12 12:35:31 +01:00
Luca Frosini 9c8633d8e1 Aligned code with the same APIs exposed in ACCESS port type 2020-11-11 14:17:28 +01:00
Luca Frosini 2ce233c694 Added getInstanceContexts() in ACCESS port type 2020-11-11 14:17:03 +01:00
Luca Frosini 18cd7e167e Including contexts in the instances header when requested #20012 2020-11-09 15:45:07 +01:00
Luca Frosini f4fb2102d7 Added API to get the list of contexts for an instance 2020-11-03 16:30:24 +01:00
Luca Frosini f8ec6b9084 Fixed path parameters on AddToContext and RemoveFromContexts 2020-10-30 21:10:37 +01:00
Luca Frosini 6793b16856 Added support to perform hierarchical mode requests 2020-10-27 15:46:46 +01:00
Luca Frosini a19c3dbf87 Added full support for hierarchical mode 2020-10-27 15:36:28 +01:00
Luca Frosini 64177d1c85 Changed the way to account requests.
The accounted called Methods are summarized in file ISMethods.txt in
src/test/resources
2020-03-16 14:51:13 +01:00
Luca Frosini f3b3c038db Fixed calledMethod set 2020-03-12 19:22:27 +01:00
Luca Frosini aa72d03b4f TypeBinder has been renamed to TypeMapper 2020-02-04 09:30:50 +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 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 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 383887e7d2 Refactoring service to be aligned with IS model refactorign 2019-11-04 18:01:20 +01:00
Luca Frosini 495cba3145 Fixing resource-registry due to model redesign 2019-10-30 09:57:36 +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 1e14003aa8 Merged from private branch used to refactor and add features
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@177107 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-13 11:33:29 +00:00
Luca Frosini 65456d3cc3 Refs #11455: Integrate GX REST in resource-registry client libraries
Task-Url: https://support.d4science.org/issues/11455

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@176626 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-17 10:18:02 +00:00
Luca Frosini 0195a58bd6 Merged changes made in branch caused by is-model and gcube-model repackaging
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@171802 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-02 07:17:58 +00:00
Luca Frosini abbe452462 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169154 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-13 14:24:45 +00:00
Luca Frosini 3a20b40169 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169104 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 18:04:54 +00:00
Luca Frosini 4f42103a1f Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169103 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 17:42:45 +00:00
Luca Frosini 8b40881f77 Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169087 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 16:09:36 +00:00