Commit Graph

392 Commits

Author SHA1 Message Date
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