Luca Frosini
c1f694a9e2
Fixed type update
2021-01-14 18:26:26 +01:00
Luca Frosini
11bf7f0638
Renamed class toalign the naming to the others
2021-01-13 21:55:01 +01:00
Luca Frosini
fe96b0811f
Changed PROPAGATION_CONSTRAINT in PROPAGATION_CONSTRAINT_PROPERTY due to
...
change in IS Model
2021-01-13 21:53:51 +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
e635cf1a6d
added intermediate variable to improve debugging
2020-12-22 16:34:50 +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
daa7959a7e
Fixing prepared query
2020-12-10 11:13:14 +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
a92f5c532c
Improved test
2020-11-05 15:58:30 +01:00
Luca Frosini
fd32391267
Added Context Cache
2020-11-05 12:12:19 +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
a7c89cded0
Fixed name
2020-10-27 15:12:11 +01:00
Luca Frosini
1e47580d39
Switching to gcube-jackson
2020-07-07 17:15:22 +02:00
Luca Frosini
35e9883a38
Added ServletContextListener to intercept start and stop of the service
2020-03-17 17:22:03 +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
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
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
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
63700398d4
removed empty javadoc
2019-12-05 17:03:59 +01:00
Luca Frosini
aed7adfbbf
Removed distro directory
2019-12-05 15:27:14 +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
b599c27351
Fixing imports and code to be aligned with model reorganization
2019-10-25 17:45:59 +02:00
Luca Frosini
04b50ebc89
Ignored tests resources and generated files
2019-07-18 16:58:34 +02:00
Luca Frosini
6a16d77b70
Changed strategy to set the DateTimeFormat and added test for that
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@177238 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-22 13:35:56 +00:00
Luca Frosini
e7e7cc588e
Fixes #13180 : Migrate OrientDB from version 2.2.X to 3.0.X
...
Task-Url: https://support.d4science.org/issues/13180
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@177123 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-13 15:53:17 +00: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
Luca Frosini
f25aa078de
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@169086 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 15:55:46 +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
Luca Frosini
4f07e57030
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@169072 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 14:43:47 +00:00
Luca Frosini
5fb6eae171
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@169060 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 14:06:36 +00:00
Luca Frosini
184690f2d6
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@169049 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 12:37:41 +00:00
Luca Frosini
7caa7b9766
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@169046 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 10:47:09 +00:00
Luca Frosini
1207bb6570
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@169045 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 10:22:58 +00:00
Luca Frosini
4829fd0ba7
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@169042 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 10:00:45 +00:00
Luca Frosini
33ee498c81
Refs #11902 : Use new REST interface in Resource Registry Client
...
Task-Url: https://support.d4science.org/issues/11902
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@169037 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-12 09:23:15 +00:00
Luca Frosini
2925ef950a
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@169013 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-11 13:27:05 +00:00
Luca Frosini
32b5499b2e
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@168999 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-11 10:03:46 +00:00
Luca Frosini
d5d79c14cc
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@168995 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-11 09:01:10 +00:00
Luca Frosini
cba560a6e8
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@168993 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 16:18:48 +00:00
Luca Frosini
d5f7daa4a1
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@168988 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:45:11 +00:00
Luca Frosini
a2c4b85851
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@168987 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:39:04 +00:00
Luca Frosini
4cd64f8094
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@168986 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:05:47 +00:00
Luca Frosini
747b64fcfd
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@168973 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 07:30:02 +00:00
Luca Frosini
5a8812a5a0
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@168972 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-07 16:12:06 +00:00
Luca Frosini
5590c79548
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@167900 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-06 17:26:19 +00:00
Luca Frosini
9e609c1acf
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@167869 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:42:59 +00:00
Luca Frosini
19fec74668
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@167868 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:34:20 +00:00
Luca Frosini
8571ea190e
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@167867 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 13:31:13 +00:00
Luca Frosini
4796e807ef
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@167856 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-04 10:31:09 +00:00
Luca Frosini
de6d9eeccc
Closing factory before creating a new one
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@167105 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-18 12:16:09 +00:00
Luca Frosini
859935a3c9
removed redundant AND
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166961 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-12 15:32:17 +00:00
Luca Frosini
629d14ad96
Added utility function for database context management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166936 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-12 12:46:24 +00:00
Luca Frosini
cc0e645ba5
Merged from branch after release 4.9.0. refs #10253
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160760 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-21 10:09:46 +00:00
Luca Frosini
2421c33ec6
Exposed get all context through access port type
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160191 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 16:22:59 +00:00
Luca Frosini
ba83014726
Fixed REST PATH for API to get all contexts
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160169 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 14:22:22 +00:00
Luca Frosini
12af8197c2
exposed api to get the list of contexts
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160114 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-06 14:23:47 +00:00
Luca Frosini
263bcf07c9
Fixes #10435 : Add support for hierarchical roles to support child context overview
...
Task-Url: https://support.d4science.org/issues/10435
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160040 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-05 09:10:34 +00:00
Luca Frosini
1fcdccd7af
Refs #10435 : Add support for hierarchical roles to support child context overview
...
Task-Url: https://support.d4science.org/issues/10435
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158968 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-30 17:06:08 +00:00
Luca Frosini
f754bf7dda
Refs #10435 : Add support for hierarchical roles to support child context overview
...
Task-Url: https://support.d4science.org/issues/10435
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158879 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-28 16:34:43 +00:00