|
SymbIoTeLibraries
|


Public Member Functions | |
| FeignRHClient (ISecurityHandler securityHandler, String homePlatformId) | |
| List< CloudResource > | getResources () |
| CloudResource | getResource (String resourceInternalId) |
| CloudResource | addL1Resource (CloudResource resource) |
| List< CloudResource > | addL1Resources (List< CloudResource > resources) |
| List< CloudResource > | addL1RdfResources (RdfCloudResourceList resources) |
| CloudResource | updateL1Resource (CloudResource resource) |
| List< CloudResource > | updateL1Resources (List< CloudResource > resources) |
| List< CloudResource > | sync () |
| CloudResource | deleteL1Resource (String resourceInternalId) |
| List< CloudResource > | deleteL1Resources (List< String > resourceInternalIds) |
| void | clearResources () |
| List< CloudResource > | addL2Resources (List< CloudResource > cloudResources) |
| List< CloudResource > | updateL2Resources (List< CloudResource > cloudResources) |
| List< String > | removeL2Resources (List< String > resourceInternalIds) |
| Map< String, List< CloudResource > > | shareL2Resources (Map< String, Map< String, Boolean >> input) |
| Map< String, List< CloudResource > > | unshareL2Resources (Map< String, List< String >> input) |
symbIoTe Registration Handler client based on Feign
| eu.h2020.symbiote.client.feign.FeignRHClient.FeignRHClient | ( | ISecurityHandler | securityHandler, |
| String | homePlatformId | ||
| ) |
| securityHandler | the security handler implementation that is going to be used |
| homePlatformId | the home Platform Id |
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.addL1RdfResources | ( | RdfCloudResourceList | resources | ) |
Register a list of L1 resources using RDF
| resources | a list of RdfCloudResourceList describing the L1 resource metadata |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| CloudResource eu.h2020.symbiote.client.feign.FeignRHClient.addL1Resource | ( | CloudResource | resource | ) |
Register L1 resource
| resource | a CloudResource describing the L1 resource metadata |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.addL1Resources | ( | List< CloudResource > | resources | ) |
Register a list of L1 resources
| resources | a list of CloudResource describing the L1 resource metadata |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.addL2Resources | ( | List< CloudResource > | cloudResources | ) |
Register a list of L2 resources
| cloudResources | a list of CloudResource describing the L2 resources |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| void eu.h2020.symbiote.client.feign.FeignRHClient.clearResources | ( | ) |
Clear both L1 and L2 resources
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| CloudResource eu.h2020.symbiote.client.feign.FeignRHClient.deleteL1Resource | ( | String | resourceInternalId | ) |
Delete a L1 resource based on the internal id
| resourceInternalId | the internal id of the resource |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.deleteL1Resources | ( | List< String > | resourceInternalIds | ) |
Delete a list of L1 resources based on the internal ids
| resourceInternalIds | the internal ids of the resources |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| CloudResource eu.h2020.symbiote.client.feign.FeignRHClient.getResource | ( | String | resourceInternalId | ) |
Get specific registered resource
| resourceInternalId | the internal id of the resource |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.getResources | ( | ) |
Get all registered resources (both L1 and L2)
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<String> eu.h2020.symbiote.client.feign.FeignRHClient.removeL2Resources | ( | List< String > | resourceInternalIds | ) |
Delete a list of L2 resources based on the internal ids
| resourceInternalIds | the internal ids of the resources |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| Map<String, List<CloudResource> > eu.h2020.symbiote.client.feign.FeignRHClient.shareL2Resources | ( | Map< String, Map< String, Boolean >> | input | ) |
Share already registered L2 metadata to federations
| input | a map which has as keys the federation ids and as values another map, which has as keys the internal ids of the resources and as values a flag showing if the resource is bartered or not |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.sync | ( | ) |
Sync the local L1 resources with Core Registry
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| Map<String, List<CloudResource> > eu.h2020.symbiote.client.feign.FeignRHClient.unshareL2Resources | ( | Map< String, List< String >> | input | ) |
Unshare already registered L2 metadata from federations
| input | a map which has as keys the federation ids and as values a list of the resource internal ids where the resource is going to be unshared from |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| CloudResource eu.h2020.symbiote.client.feign.FeignRHClient.updateL1Resource | ( | CloudResource | resource | ) |
Update the metadata of a L1 resource
| resource | a CloudResource describing the resource metadata |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.updateL1Resources | ( | List< CloudResource > | resources | ) |
Update the metadata of a list of L1 resources
| resources | a list of CloudResource describing the L1 resource metadata |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
| List<CloudResource> eu.h2020.symbiote.client.feign.FeignRHClient.updateL2Resources | ( | List< CloudResource > | cloudResources | ) |
Update a list of L2 resources
| cloudResources | a list of CloudResource describing the L2 resources |
Implements eu.h2020.symbiote.client.interfaces.RHClient.
1.8.14