Luca Frosini
647e772827
Removed old commented code of sanityCheck
2021-03-02 10:59:44 +01:00
Luca Frosini
94388d9a36
SanityCheck on Resource for non safe operation made on Facet/IsRealtedTo
2021-03-02 10:58:23 +01:00
Luca Frosini
f36ff52dcf
Added Operation enum to be able to check which action has been executed
2021-03-02 10:25:58 +01:00
Luca Frosini
0a807d74a2
Improving code
2021-03-02 09:35:02 +01:00
Luca Frosini
c65e84a0bb
Removed old commented code
2021-03-02 09:21:10 +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
a6a45d50e2
The target context is now a class variable
2021-03-01 17:09:09 +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
99e88fc1e3
Cleaning code
2021-02-26 18:46:00 +01:00
Luca Frosini
b3433d2d23
Cleaning code
2021-02-26 18:41:55 +01:00
Luca Frosini
6d3d9b8e37
Cleaning code
2021-02-26 18:41:14 +01:00
Luca Frosini
5f8850611d
Cleaning code
2021-02-26 18:39:53 +01:00
Luca Frosini
cc908bf1b0
Cleaning code
2021-02-26 18:37:57 +01:00
Luca Frosini
9deed7214b
fixed log
2021-02-26 18:11:35 +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
d58dcc20cf
Fixed bug and tests
2021-02-23 12:27:42 +01:00
Luca Frosini
2485f43510
Fixing test
2021-02-23 11:51:37 +01:00
Luca Frosini
985d37a077
Fixing test
2021-02-23 11:44:09 +01:00
Luca Frosini
c443ae8c4e
Fixing test
2021-02-23 11:40:44 +01:00
Luca Frosini
132f9c51c6
fixing test
2021-02-23 11:38:35 +01:00
Luca Frosini
02c924d111
Fixed generic
2021-02-23 11:36:00 +01:00
Luca Frosini
3756439c72
Fixed tests to comply with new validation made by the service
2021-02-23 11:33:57 +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
b276fecdc8
Added facet schema validation
2021-02-22 11:19:11 +01:00
Luca Frosini
f767fc021a
Moved sanityCheck in internalCreate() and internalUpdate() functions
2021-02-22 11:15:15 +01:00
Luca Frosini
8822d1a40b
Moved a link a in tests placeholder strings from http to https #20783
2021-02-22 09:46:00 +01:00
Luca Frosini
d98303c28d
Fixing code
2021-02-19 19:38:10 +01:00
Luca Frosini
44631557da
Improving code
2021-02-19 19:32:23 +01:00
Luca Frosini
a0ffe74776
Fixing tests
2021-02-19 16:08:57 +01:00
Luca Frosini
b7a2e6c6eb
Fixed bugs
2021-02-19 15:31:26 +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
dbbdd206d5
Fixed test conrner case
2021-02-17 15:52:09 +01:00
Luca Frosini
a553b9cd8d
Reorganizing tests
2021-02-17 15:51:25 +01:00
Luca Frosini
2597379ad4
Fixing serilization
2021-02-17 15:16:25 +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
fe37358ea7
Adding SchemaViolationException
2021-02-16 17:17:40 +01:00
Luca Frosini
e653081e55
Fixed typo. Tests runs successfully
2021-02-16 13:52:23 +01:00
Luca Frosini
a96cd187a2
Fixed bugs introduced with refactoring
2021-02-12 17:06:12 +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
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
d4f4ac9468
Implementing strategy for add/remove to/from context no follow
2021-02-02 16:51:40 +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
6082e3a0d6
Fixed tests
2021-01-29 17:29:49 +01:00
Luca Frosini
55b79bc835
Superclasses are now filtered (i.e. internal types are not added to the
...
list)and ordered (first the immediate superclass and the last the basic
type e.g. Resource, Facet, IsRelatedTo, ConsistsOf) #20319
2021-01-29 16:13:33 +01:00
Luca Frosini
58d7aa93c3
Implemented #20555 #20530
2021-01-28 22:53:10 +01:00
Luca Frosini
27cec7ec31
Add to Context deny to add a resource without adding at least a facet.
...
Added a test to check the service behave properly
2021-01-27 21:57:06 +01:00
Luca Frosini
376fbd1df6
Improved tests and assertion
2021-01-26 17:35:08 +01:00
Luca Frosini
406035dd40
Impl. Add/Remove to/from Context not following PropagationConstraints
2021-01-26 17:04:00 +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
ab8b77ba65
Added hidden test
2021-01-21 14:44:35 +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
0efb8f5e08
Added assertion in junit test to properly test type update
2021-01-15 16:09:07 +01:00
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
e51c635dea
Added Test
2021-01-10 23:42:11 +01:00
Luca Frosini
e89481a5f1
Fixed tests due to changes in the model
2020-12-23 10:55:16 +01:00
Luca Frosini
e635cf1a6d
added intermediate variable to improve debugging
2020-12-22 16:34:50 +01:00
Luca Frosini
18a552a3b7
Merge remote-tracking branch 'origin/feature/20367' into feature/20298
2020-12-22 11:38:31 +01:00
Luca Frosini
1a82b13878
extracted function to get the proper type management class
2020-12-22 11:37:36 +01:00
Luca Frosini
10e5538c6d
Fixed tests to comply with fixed model
2020-12-21 23:09:57 +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
7327f61370
Added test for prepared query
2020-12-10 18:16:28 +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
1646cbe8de
Fixed test
2020-11-05 17:03:05 +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
cb84f7aa29
Fixed test
2020-10-14 14:54:01 +02:00
lucafrosini
b18ea8efdb
Removed unused import
2020-10-07 16:25:19 +02:00
Luca Frosini
ec73e33c5a
Added suppress warning annotation
2020-07-07 17:16:30 +02:00
Luca Frosini
1e47580d39
Switching to gcube-jackson
2020-07-07 17:15:22 +02:00
Luca Frosini
e5520c06c3
Improved ignore file
2020-05-14 18:25:44 +02:00
Luca Frosini
5d17c53dae
Fixed commented test
2020-05-14 18:25:13 +02:00
Luca Frosini
bee0017d58
Commented test
2020-05-14 18:24:14 +02:00
Luca Frosini
c93cd35172
Fixed code to generate DB Key
2020-05-08 12:41:58 +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
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
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
aed7adfbbf
Removed distro directory
2019-12-05 15:27:14 +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
74581f132e
Added test
2019-10-03 14:54:37 +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
Luca Frosini
53cb5e45a8
Removed unneded annotation from tests
2019-07-19 12:22:03 +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
f8480f0c43
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@168994 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 16:28:08 +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
047f1a678d
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@168989 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-08 13:47:05 +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
a82ec92870
Removed old test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166937 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-04-12 12:46:43 +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
eabfa329d2
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@160157 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-07 12:51:57 +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
d1fe6daa64
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158885 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-29 08:25:17 +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
Luca Frosini
d79b91361e
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158791 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 16:28:30 +00:00
Luca Frosini
bbef5ed1d3
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158790 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 16:09:19 +00:00
Luca Frosini
6899669ccf
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158789 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 15:37:53 +00:00
Luca Frosini
d9fe526386
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158787 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 15:25:16 +00:00
Luca Frosini
bdf17da9aa
Refs #10247 : Create Resource Registry Context Client
...
Task-Url: https://support.d4science.org/issues/10247
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158786 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 14:10:08 +00:00
Luca Frosini
4f42387f85
Fixing log
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158785 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 11:40:35 +00:00
Luca Frosini
96b98199e8
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158776 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 09:17:38 +00:00
Luca Frosini
c4116ed127
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158775 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 09:14:28 +00:00
Luca Frosini
33f4264348
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158773 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-23 08:39:21 +00:00
Luca Frosini
635e8b5f6d
Removed commented code which is not needed anymore
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158746 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-22 10:04:12 +00:00
Luca Frosini
c4a2a28b68
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158741 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-21 17:35:12 +00:00
Luca Frosini
92075c38b3
Refs #10390 : The serialized resource is the old verson in some cases after update
...
Task-Url: https://support.d4science.org/issues/10390
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158739 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-21 17:18:11 +00:00
Luca Frosini
93187f062d
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158635 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 17:42:30 +00:00
Luca Frosini
05ae780494
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158634 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 17:41:02 +00:00
Luca Frosini
782e60ff13
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158633 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 17:10:35 +00:00
Luca Frosini
2d7805b132
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158632 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 16:34:29 +00:00
Luca Frosini
008f621677
Commented Test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158628 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 16:10:54 +00:00
Luca Frosini
72d9fe2059
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158622 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 15:26:49 +00:00
Luca Frosini
99d0e8e04f
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158615 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 15:04:15 +00:00
Luca Frosini
6edb78bdfd
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158614 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 14:59:25 +00:00
Luca Frosini
bcf1621866
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158597 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 11:31:22 +00:00
Luca Frosini
b9a5ebe072
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158595 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-17 10:42:37 +00:00
Luca Frosini
3794de9127
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158560 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-16 11:26:40 +00:00
Luca Frosini
996a00f10f
Refs #10238 : Refactor Context Port Type
...
Task-Url: https://support.d4science.org/issues/10238
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158532 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-15 18:31:49 +00:00
Luca Frosini
a3de8cee21
Added alternative user tokens
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158409 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:53:40 +00:00
Luca Frosini
e4bcd8f1b9
Fixing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158408 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:52:53 +00:00
Luca Frosini
3d93e7ea0a
Fixing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158407 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:52:13 +00:00
Luca Frosini
9a47d5d13a
Fixing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158406 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:51:37 +00:00
Luca Frosini
7fe7e641f4
Committing missing change
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158405 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:50:53 +00:00
Luca Frosini
6155b24dbe
Added TODO
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158404 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:50:11 +00:00
Luca Frosini
4431d0f364
Refs #9999 : Add modifiedBy in header of entities and relations
...
Task-Url: https://support.d4science.org/issues/9999
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158401 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-13 11:41:41 +00:00
Luca Frosini
ecbe981112
Refs #10245 : Expose read Context API through Access port type in addition to Context port type
...
Task-Url: https://support.d4science.org/issues/10245
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158313 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-09 09:38:06 +00:00
Luca Frosini
bc2fdf8afd
Refs #10244 : Expose getSchema() API through Schema port type in addition to Access port type
...
Task-Url: https://support.d4science.org/issues/10244
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158261 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 17:22:29 +00:00
Luca Frosini
d12160248c
Refs #10245 : Expose read Context API through Access port type in addition to Context port type
...
Task-Url: https://support.d4science.org/issues/10245
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158260 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 17:10:14 +00:00
Luca Frosini
73de150208
Refs #10241 : Expose API to Read the Context definition
...
Task-Url: https://support.d4science.org/issues/10241
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158254 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 15:50:59 +00:00
Luca Frosini
f4673a0517
Refs #10221 : Reopen DB connection if closed
...
Task-Url: https://support.d4science.org/issues/10221
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158229 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-06 14:35:48 +00:00
Luca Frosini
f59b3b550f
Refs #10221 : Reopen DB connection if closed
...
Task-Url: https://support.d4science.org/issues/10221
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158228 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-06 13:56:36 +00:00
Luca Frosini
3fd72527ed
Refs #10207 : Improve management of SchemaException
...
Task-Url: https://support.d4science.org/issues/10207
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158163 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-03 17:21:02 +00:00
Luca Frosini
a39495bdd0
Adding support to set last-updater on header refs #9999
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157628 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 15:28:11 +00:00
Luca Frosini
56a36499cd
Adding support to set last-updater on header refs #9999
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157620 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 15:09:07 +00:00
Luca Frosini
ea7a49b6d7
removed unneeded whitespaces
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@157587 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-26 10:01:42 +00:00
Luca Frosini
7fc50be129
set devnext as default context for test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@155172 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-12 09:43:28 +00:00
Luca Frosini
b704fb7551
Commented test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154891 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:44:29 +00:00
Luca Frosini
94a63e61f4
Added test for resource update
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154890 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:44:18 +00:00
Luca Frosini
934f3216d1
Added test for resource update
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154888 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-05 09:39:50 +00:00
Luca Frosini
6c2a602c8d
changed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154697 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-28 16:32:21 +00:00
Luca Frosini
7e567fb247
Fixed issue with gcube-token or gcube-scope provided as query params instead of in http header
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154693 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-28 14:58:15 +00:00
Luca Frosini
7c46d4dcfb
Added API to retrieve Resource instances filtering by values of one of the attached facet. Facet type and consistsOf relation can also by specified
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154665 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-27 15:30:49 +00:00
Luca Frosini
7abb718a10
Added API to retrieve Resource instances filtering by values of one of the attached facet. Facet type and consistsOf relation can also by specified
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154651 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-27 10:59:00 +00:00
Luca Frosini
e4ad9c6d09
Creating missing ConsistsOf when updating a Resource
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150850 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-07-06 15:45:22 +00:00
Luca Frosini
d06dea6f73
Removed List and Set support as workaround fo OrientDB bug refs #9021
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150606 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-28 14:29:01 +00:00
Luca Frosini
965954622f
REST methods override default ServiceUsageRecord 'calledMethod' field to improve accounting performaces refs #9020
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150605 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-28 14:26:47 +00:00
Luca Frosini
31901d5ce3
Overriding calledMethod accounting field. Refs #9020
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150578 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-27 15:22:19 +00:00
Luca Frosini
10b00af70e
Improved logging for rest classes
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150486 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:41:26 +00:00
Luca Frosini
69d45439c9
Restored abstract declaration
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150485 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-22 15:27:29 +00:00
Luca Frosini
91cb8132a5
Removed abstract declaration
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150412 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 14:20:01 +00:00
Luca Frosini
908cfb5fae
Set enum as static
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150411 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 14:07:16 +00:00
Luca Frosini
9b05ff260c
Merged changed made in branch for release.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150395 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-16 09:23:03 +00:00
Luca Frosini
bbed0810ef
suppressed warning
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148330 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 14:07:04 +00:00
Luca Frosini
8951681d06
Defined a custom pattern for DateTimeFormat to support timezone. The value is also changed on DB configuration when the database is created.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148327 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 13:51:40 +00:00
Luca Frosini
ed6f906c7e
Added Context UUID cache
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148299 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-04 15:43:36 +00:00
Luca Frosini
e559991510
Added Context UUID cache
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148297 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-04 15:24:36 +00:00
Luca Frosini
b8d082399c
Added Source Resource in relation including only header. this reflect the behaviour set on jackson marshalling
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148278 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 15:50:55 +00:00
Luca Frosini
08db977881
Implementing possibility to create a relation and target entity with one call
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148248 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 09:21:45 +00:00
Luca Frosini
ea2c1392bd
Removed code which get properties no more needed
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148243 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 15:00:33 +00:00
Luca Frosini
5bf6d4777b
Fixed import
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148242 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 14:59:05 +00:00
Luca Frosini
cf80b80829
Reorganizing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148241 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 14:58:56 +00:00
Luca Frosini
2f4fd9e4fd
Reorganizing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148237 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 13:31:45 +00:00
Luca Frosini
479564f509
fixing test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148236 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 13:30:00 +00:00
Luca Frosini
e7d9986962
Fixing specific exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148230 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 12:25:06 +00:00
Luca Frosini
1498750f9e
Fixing specific exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148229 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-02 09:56:24 +00:00
Luca Frosini
a78e2dc505
Fixing specific exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147257 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-28 15:43:30 +00:00
Luca Frosini
faae4afaa7
Removed commented code which was useless
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147222 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 13:57:10 +00:00
Luca Frosini
bcd0d7c457
Improved and optimized set and list management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@147138 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-26 09:40:34 +00:00
Luca Frosini
583c63797a
Used a constant to define connection strategy
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146955 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-19 12:39:29 +00:00
Luca Frosini
0bd37933bc
Fixed bug introduced to fix embedded set
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146944 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-19 08:08:32 +00:00
Luca Frosini
77f241016b
Fixing embeddedlist creation
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146941 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 14:10:01 +00:00
Luca Frosini
227eee7ebd
Fixed log
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146912 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:56:00 +00:00
Luca Frosini
b360dbd9ae
Removing code which was added for mistake
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146911 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:47:05 +00:00
Luca Frosini
727d39b388
throwing exception instead of ignoring it
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146910 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-18 07:44:58 +00:00
Luca Frosini
b559d2f546
Fixing log and exception throwing
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146909 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-14 12:37:57 +00:00
Luca Frosini
4c0e3ef978
Improving HTTP Response code to be more standard.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146775 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:38:46 +00:00
Luca Frosini
533a4e128a
First attempt to add gremlin query support
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146774 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:22:05 +00:00
Luca Frosini
d4b69c2c1e
First attempt to add gremlin query support
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146773 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 17:21:32 +00:00
Luca Frosini
6e4e0fe259
fixing HTTP response codes
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146755 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 13:22:53 +00:00
Luca Frosini
4eca4513da
Fixing exception mapper response code
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146733 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-10 15:37:58 +00:00
Luca Frosini
8a20df8e90
Fixed limit management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146732 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-10 15:37:29 +00:00
Luca Frosini
4b08a2c717
Delete Resourse is done using admin user
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146688 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-07 13:55:22 +00:00
Luca Frosini
20359dd47b
Added tests for the convenient method introduced Resource in IS model
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146678 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-06 18:21:11 +00:00
Luca Frosini
8a985b16f3
Fixing entity creation throwing the proper exception
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146551 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-04 13:03:25 +00:00
Luca Frosini
a95d369ba2
Fixed exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146436 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 15:02:02 +00:00
Luca Frosini
290ce6ac90
Using AccessType instead of class and its name which is much more clear and the code is cleaner
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146435 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 14:53:37 +00:00
Luca Frosini
5e7bb046c3
Fixing ER deserialization and checks for element in different context
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146431 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-29 14:14:03 +00:00
Luca Frosini
f8ce50d91d
Added test checks
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146399 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:27:56 +00:00
Luca Frosini
c6fb345a3b
Denied Creation of Abstract Type.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146398 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:02:23 +00:00
Luca Frosini
dfb18b9144
Added exists method which use HTTP HEAD method
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146397 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 14:01:42 +00:00
Luca Frosini
0ebbef1c55
Added embedded management for unknown property
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146361 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-27 13:04:44 +00:00
Luca Frosini
8f87923fee
Commented test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146357 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-27 10:15:10 +00:00
Luca Frosini
bc80fae3d3
Removed whitespace
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146339 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-24 16:51:57 +00:00
Luca Frosini
eed62edff7
Added charset=UTF-8 on REST api @Consumes and @Produces for proper json management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146333 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-24 16:04:09 +00:00
Luca Frosini
09dae86c43
Fixed cascading management on add and remove from context
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146290 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-23 12:37:15 +00:00
Luca Frosini
1647e73e8d
Added creation of new admin user
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146256 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-22 08:49:16 +00:00
Luca Frosini
ecff48a91a
refs #7355 - Check Source-Target Relation compatibility
...
Added creation of instances in admin context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146252 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-21 16:54:06 +00:00
Luca Frosini
6cdc2af21f
Fixing javadoc
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146242 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-21 14:12:07 +00:00
Luca Frosini
4b89424f70
Fixed access rest path
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144258 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 12:22:29 +00:00
Luca Frosini
26cde724ad
Fixing exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144257 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:46:18 +00:00
Luca Frosini
3e7084ae57
Fixing exception management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144251 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 11:01:33 +00:00
Luca Frosini
dbab124043
Fixed error message whitespace
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144233 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-24 09:52:56 +00:00
Luca Frosini
bf27efa315
Added exception marshalling/umarshalling via json using jackson
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:08:04 +00:00
Luca Frosini
b1e3f5eb34
Reformatted code
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142386 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-08 16:31:04 +00:00
Luca Frosini
97b77f36c6
Added exception catch while setting description on schema creation
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142210 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:10:46 +00:00
Luca Frosini
e2dbd009d9
Renamed class in ISMapper
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141894 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-30 10:43:18 +00:00
Luca Frosini
8a7542d5dd
Fixed Header management
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141776 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 14:33:38 +00:00
Luca Frosini
c29c5c9bca
Import changes due to refactor in is-model
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141708 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-23 16:41:11 +00:00
Luca Frosini
4164340b10
Added test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141683 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-20 17:43:41 +00:00
Luca Frosini
e6eee27a7e
static String from private to public
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141621 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 14:05:56 +00:00
Luca Frosini
127dd2b7e5
Changed the way to marshall ER
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141620 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 13:57:20 +00:00
Luca Frosini
7a4d5aa96e
changed import of CLASS_PROPERTY form Entities to ER
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141618 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-18 13:54:57 +00:00
Luca Frosini
4e5426e283
Changed relations serialization
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141608 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-17 15:53:24 +00:00
Luca Frosini
1ea16a59bc
Fixed REST path
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141575 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:16:41 +00:00
Luca Frosini
3c21a3eda5
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141572 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 17:00:33 +00:00
Luca Frosini
e727e1e6e5
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141568 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:56:28 +00:00
Luca Frosini
f5b33d67c1
Changed the way to get all relations
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141565 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 16:06:57 +00:00
Luca Frosini
b853a799f9
Changed the way to serialize relations
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141547 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-13 11:21:35 +00:00
Luca Frosini
ac2c827022
Refactoring
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141534 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 16:03:11 +00:00
Luca Frosini
41b112670e
Implementing get all relation from a provided resource
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141522 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-12 10:13:09 +00:00
Luca Frosini
2b55c43477
Refactoring
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141519 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 17:00:21 +00:00
Luca Frosini
35bc8a6c83
Fixed test log
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141512 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 16:12:00 +00:00
Luca Frosini
7ede9a4688
IMplementing get all instances of a specified type
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141511 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 16:11:28 +00:00
Luca Frosini
f005fbfb1d
IMplementing get all instances of a specified type
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141506 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-11 11:06:50 +00:00
Luca Frosini
800bb05a76
Removed unused import
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141498 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-10 13:59:12 +00:00
Luca Frosini
098bf95122
Refactored
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141497 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-10 13:58:13 +00:00
Luca Frosini
1078b43fcf
Reorganizing code
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141436 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-30 16:31:12 +00:00
Luca Frosini
0bcdd8a260
Fixed addtoContext and removeFromContext
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141413 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-27 14:31:39 +00:00
Luca Frosini
92c081a8d8
Reorganizing code
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141409 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-27 10:27:01 +00:00
Luca Frosini
8ddd4bd3db
Reorganizing PACKAGES
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141387 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:33:10 +00:00
Luca Frosini
e34bc1a10f
Reorganizing components
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141385 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 16:27:26 +00:00
Luca Frosini
152b844b0a
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141351 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 18:12:29 +00:00
Luca Frosini
130cbbbdd3
Generating list with no duplicates
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141350 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 18:01:14 +00:00
Luca Frosini
3168085d05
Creating Embedded type too
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141349 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 17:59:13 +00:00
Luca Frosini
45e11a3806
Fixed Relations names
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141322 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 15:28:16 +00:00
Luca Frosini
7c4625c2d9
refs #6273 : Manage Propagation Constraint on Resource Registry
...
https://support.d4science.org/issues/6273
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141292 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 17:36:17 +00:00
Luca Frosini
19206b90b7
refs #5753 : Expose Remove From Context API
...
https://support.d4science.org/issues/5753
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141291 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 17:34:06 +00:00
Luca Frosini
30dc36d5bc
Substituted relation property with PropagationConstraint
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141285 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-20 15:51:57 +00:00
Luca Frosini
a338ff3ef2
Refactored EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141261 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 16:00:49 +00:00
Luca Frosini
21c7896b85
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141260 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 15:38:31 +00:00
Luca Frosini
ce495de6f5
Removed old EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141259 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 15:28:46 +00:00
Luca Frosini
4718080044
Refactored EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141258 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 15:25:29 +00:00
Luca Frosini
963afbe0fb
Refactoring EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141257 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 14:56:16 +00:00
Luca Frosini
8b68f5d93f
Refactoring EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141252 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 14:37:15 +00:00
Luca Frosini
b1112136fa
Refactored EntityManagement
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141249 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-19 13:59:27 +00:00
Luca Frosini
6960ef5738
removed uneeded import
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135249 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-02 15:45:33 +00:00
Luca Frosini
d8943fa68e
Added facet creation even with a provided header
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135182 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-01 17:14:14 +00:00
Luca Frosini
6d0d99f0a8
Added code (and commented) to return also target Resource on Resource marshalling.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135176 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-01 16:17:03 +00:00
Luca Frosini
78213468eb
Implementing Referential integrity
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135078 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 17:49:43 +00:00
Luca Frosini
bcad10fe05
Deleting facet when deleting resource taking in account referential intergity attribute on consistsOf relation if any.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135032 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 12:10:49 +00:00
Luca Frosini
35adebb0fa
Preparing query
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135025 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 10:13:00 +00:00
Luca Frosini
ee136fb6a6
Checking if an entity with the same UUID already exist. Throwing an exception in such a case
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135011 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 17:17:14 +00:00
Luca Frosini
a576d3d8fa
Refactoring service due to exception reoganization in resource-registry-api
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@135001 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:18:07 +00:00
Luca Frosini
02de4c1b0d
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134931 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 08:13:20 +00:00
Luca Frosini
ffdc507202
Added missing commit
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134849 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 16:06:25 +00:00
Luca Frosini
62553c1bf5
Fixed test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134839 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 15:41:22 +00:00
Luca Frosini
0bb59cb6c2
Fixed bug on properties update
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134838 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 15:39:17 +00:00
Luca Frosini
1c9f4cec10
Removed catch in resource marshalling
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134820 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 14:48:35 +00:00
Luca Frosini
e4cbaf19d4
Fixing update properties
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134816 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 14:44:21 +00:00
Luca Frosini
eb2c8022ba
Fixed error on resource marshalling
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134709 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:56:05 +00:00
Luca Frosini
92173467be
Added a method where the graph connection is provided
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134708 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:55:35 +00:00
Luca Frosini
77c47433d4
Added test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134706 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:54:32 +00:00
Luca Frosini
1b0c54852a
Fixed bug introduced with refactoring
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134683 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 14:13:55 +00:00
Luca Frosini
62c0d06750
Fixed bug
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134672 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 11:28:30 +00:00
Luca Frosini
635f18f667
Removed uneeded log
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134662 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 10:27:36 +00:00
Luca Frosini
87cd63d2b6
Fixed bug introduced on function merging. Set a function to static.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134654 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 09:40:51 +00:00
Luca Frosini
0b1bd22e4e
Changed updateResource method signature. Exposed REST API for Update Resource
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134639 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 17:14:56 +00:00
Luca Frosini
7a65a38438
Added missing function due to changes in relative interface
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134626 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:57:10 +00:00
Luca Frosini
fe3be05045
Refactored code and added update resource function
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134625 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:56:21 +00:00
Luca Frosini
9954274a9d
Changed function invocation due to refactoring of called method
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134619 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:54:17 +00:00
Luca Frosini
149ab8de56
Changed function signature for compliancy with all invocations
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134617 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:53:41 +00:00
Luca Frosini
5e37f319d3
Merged two functions to reduce code
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134616 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:52:04 +00:00
Luca Frosini
a10c66578a
Merged three functions in only one
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134607 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-23 16:25:47 +00:00
Luca Frosini
e1d3c9d65d
Commented test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134560 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:36:18 +00:00
Luca Frosini
83e1234841
Changed comment
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134559 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:32:24 +00:00
Luca Frosini
7c4816ae59
Changed comment
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134558 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 16:31:42 +00:00
Luca Frosini
f7784bfb39
Fixing header
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134422 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 10:52:56 +00:00
Luca Frosini
3a0541a8b4
PUt parameter moved from query params to content
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134412 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:07:28 +00:00
Luca Frosini
cf36f9784a
Fixed log level on some logs
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134407 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:02:40 +00:00
Luca Frosini
1b4376137a
Fixed bug while updating properties of facet
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134406 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 08:54:56 +00:00
Luca Frosini
ebb17ba6bf
Fixing POST and PUT methods in entity manager to be able to manage large content
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134391 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 18:35:23 +00:00
Luca Frosini
28e62b7b83
Fixing POST and PUT methods in entity manager to be able to manage large content
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134390 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 18:10:32 +00:00
Luca Frosini
aa41ffb22c
Fixing test
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134355 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-18 07:46:20 +00:00
Luca Frosini
ab786c6f28
Fixing bug on properties
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134351 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 17:47:00 +00:00
Luca Frosini
daf61bc522
Fixing bug on properties
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134345 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 17:28:05 +00:00
Luca Frosini
14e35279bb
Added logs to better understanding what happen in case of failure
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134335 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:41:13 +00:00
Luca Frosini
cfa9c0ed32
Added logs to better understanding what happen in case of failure
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134334 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:40:46 +00:00
Luca Frosini
6dff36cb0c
Added logs
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134330 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 16:02:48 +00:00
Luca Frosini
fb98a6e857
Fixed Header Issue
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134322 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:50:37 +00:00
Luca Frosini
afc66c822e
Exposing AddToContext APi refs #5701
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134120 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 15:33:27 +00:00
Luca Frosini
b40503fa33
Exposing AddToContext APi refs #5701
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134114 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 11:02:51 +00:00
Luca Frosini
631e030dae
Fixing tests
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134098 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 17:18:54 +00:00
Luca Frosini
c99030ee66
Fixing problem on admin factories
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134097 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 16:55:09 +00:00
Luca Frosini
38eedcea37
Reverted some changes
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134084 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 11:01:12 +00:00