Commit Graph

90 Commits

Author SHA1 Message Date
Luca Frosini 972b8469e1 Migrating code 2023-05-12 16:06:48 +02:00
Luca Frosini f4600172e2 Managing Context Cache 2023-05-10 17:21:00 +02:00
Luca Frosini 024af70188 Fixed code to properly set UriInfo 2023-05-05 15:48:59 +02:00
Luca Frosini a3c0f725c6 Extracted RequestInfo interface and renamed class to ServerRequestInfo 2023-05-02 17:24:42 +02:00
Luca Frosini 119ae14dfa Metadata are included only if requested by the client 2023-05-02 14:48:38 +02:00
Luca Frosini ff68eb6f28 Changed '@class' to 'type' 2023-04-26 21:44:03 +02:00
Luca Frosini b1876862e8 Fixed javadoc 2022-07-20 15:08:03 +02:00
Luca Frosini a881688667 Reorganized query and path parameters constants 2022-07-20 12:10:03 +02:00
Luca Frosini 8e83ce6d98 Removed uneeded parameters 2022-07-18 16:35:44 +02:00
Luca Frosini fa503eb828 Fixing raw query 2022-07-18 14:19:05 +02:00
Luca Frosini 0ffca0008e Fixed comments with examples 2022-07-14 15:48:36 +02:00
Luca Frosini a5eda58293 Fixed javadoc 2022-03-07 11:29:03 +01:00
Luca Frosini 6bd1cc11d0 Refactoring due to package renaming in resource-registry-api 2022-02-01 16:49:12 +01:00
Luca Frosini 7fd579a80e Fixed import due to packages renaming 2021-10-25 11:40:47 +02:00
Luca Frosini 414e3f5672 Aligned package names 2021-10-25 11:00:54 +02:00
Luca Frosini d2324da565 Renamed Class 2021-10-22 10:24:16 +02:00
Luca Frosini 485b20ac05 Starting to support results different from Resources 2021-10-18 12:24:57 +02:00
Luca Frosini 5a2035d21f Refactoring JsonQuery 2021-10-14 15:01:22 +02:00
Luca Frosini 4592036a7c Fixed REST API 2021-09-27 18:29:23 +02:00
Luca Frosini 2b71d1db12 Json Query has been implemented 2021-09-27 18:00:18 +02:00
Luca Frosini 93855856b7 Header contains context property only when requested 2021-09-02 15:06:40 +02:00
Luca Frosini 4ec7d40f7b Fixed prepared query 2021-07-07 17:36:10 +02:00
Luca Frosini 6770823e29 Removed OLD query parameter in prepared query API 2021-07-07 12:01:47 +02:00
Luca Frosini 67eb336c96 Added a _ prefix for query parameters to avoid constraint clashes 2021-07-07 11:24:47 +02:00
Luca Frosini 6b999a54ef Solved rawtypes and Removed some @SuppressWarnings("rawtypes") 2021-03-05 15:04:27 +01:00
Luca Frosini 12ade8e7de Removed old commented code to set the calledMethod 2021-03-02 09:13:53 +01:00
Luca Frosini 6d3d9b8e37 Cleaning code 2021-02-26 18:41:14 +01:00
Luca Frosini 799aa5a770 Improving code 2021-02-19 14:34:48 +01:00
Luca Frosini 3434f373f6 Refactoring service 2021-02-05 17:50:16 +01:00
Luca Frosini 58d7aa93c3 Implemented #20555 #20530 2021-01-28 22:53:10 +01:00
Luca Frosini 0606d291a4 Implementing update. Removed uneeded interface 2021-01-13 21:52:09 +01:00
Luca Frosini 251d239773 Fixed access method 2020-11-12 12:35:31 +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 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 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 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 1fcceb17c5 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@169083 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 15:24:19 +00:00
Luca Frosini f4b358be2c 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@169078 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 15:13:29 +00:00