SymbIoTeLibraries
Public Member Functions | List of all members
eu.h2020.symbiote.client.interfaces.RHClient Interface Reference
Inheritance diagram for eu.h2020.symbiote.client.interfaces.RHClient:
Inheritance graph
Collaboration diagram for eu.h2020.symbiote.client.interfaces.RHClient:
Collaboration graph

Public Member Functions

List< CloudResourcegetResources ()
 
CloudResource getResource (String resourceInternalId)
 
CloudResource addL1Resource (CloudResource resource)
 
List< CloudResourceaddL1Resources (List< CloudResource > resources)
 
List< CloudResourceaddL1RdfResources (RdfCloudResourceList resources)
 
CloudResource updateL1Resource (CloudResource resource)
 
List< CloudResourceupdateL1Resources (List< CloudResource > resources)
 
List< CloudResourcesync ()
 
CloudResource deleteL1Resource (String resourceInternalId)
 
List< CloudResourcedeleteL1Resources (List< String > resourceInternalIds)
 
void clearResources ()
 
List< CloudResourceaddL2Resources (List< CloudResource > cloudResources)
 
List< CloudResourceupdateL2Resources (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)
 

Detailed Description

Interface for querying the Platform Registration Handler component

Author
Vasilis Glykantzis

Member Function Documentation

◆ addL1RdfResources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.addL1RdfResources ( RdfCloudResourceList  resources)

Register a list of L1 resources using RDF

Parameters
resourcesa list of RdfCloudResourceList describing the L1 resource metadata
Returns
a list of CloudResource describing the registered resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ addL1Resource()

CloudResource eu.h2020.symbiote.client.interfaces.RHClient.addL1Resource ( CloudResource  resource)

Register L1 resource

Parameters
resourcea CloudResource describing the L1 resource metadata
Returns
a CloudResource describing the registered resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ addL1Resources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.addL1Resources ( List< CloudResource resources)

Register a list of L1 resources

Parameters
resourcesa list of CloudResource describing the L1 resource metadata
Returns
a list of CloudResource describing the registered resources

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ addL2Resources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.addL2Resources ( List< CloudResource cloudResources)

Register a list of L2 resources

Parameters
cloudResourcesa list of CloudResource describing the L2 resources
Returns
a list of CloudResource describing the registered L2 resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ clearResources()

void eu.h2020.symbiote.client.interfaces.RHClient.clearResources ( )

Clear both L1 and L2 resources

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ deleteL1Resource()

CloudResource eu.h2020.symbiote.client.interfaces.RHClient.deleteL1Resource ( String  resourceInternalId)

Delete a L1 resource based on the internal id

Parameters
resourceInternalIdthe internal id of the resource
Returns
a CloudResource describing the deleted resource

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ deleteL1Resources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.deleteL1Resources ( List< String >  resourceInternalIds)

Delete a list of L1 resources based on the internal ids

Parameters
resourceInternalIdsthe internal ids of the resources
Returns
a list of CloudResource describing the deleted resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ getResource()

CloudResource eu.h2020.symbiote.client.interfaces.RHClient.getResource ( String  resourceInternalId)

Get specific registered resource

Parameters
resourceInternalIdthe internal id of the resource
Returns
a CloudResource describing the registered resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ getResources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.getResources ( )

Get all registered resources (both L1 and L2)

Returns
a list of CloudResource describing the registered L1 and L2 resources

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ removeL2Resources()

List<String> eu.h2020.symbiote.client.interfaces.RHClient.removeL2Resources ( List< String >  resourceInternalIds)

Delete a list of L2 resources based on the internal ids

Parameters
resourceInternalIdsthe internal ids of the resources
Returns
a list of strings containing the internal ids of the resources

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ shareL2Resources()

Map<String, List<CloudResource> > eu.h2020.symbiote.client.interfaces.RHClient.shareL2Resources ( Map< String, Map< String, Boolean >>  input)

Share already registered L2 metadata to federations

Parameters
inputa 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
Returns
a map which has as keys has the federations ids and as values a list of the resource metadata which have been shared to that federation.

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ sync()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.sync ( )

Sync the local L1 resources with Core Registry

Returns

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ unshareL2Resources()

Map<String, List<CloudResource> > eu.h2020.symbiote.client.interfaces.RHClient.unshareL2Resources ( Map< String, List< String >>  input)

Unshare already registered L2 metadata from federations

Parameters
inputa 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
Returns
a map which has as keys the federation ids and as values a list of resource metadata that were removed from that federation.

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ updateL1Resource()

CloudResource eu.h2020.symbiote.client.interfaces.RHClient.updateL1Resource ( CloudResource  resource)

Update the metadata of a L1 resource

Parameters
resourcea CloudResource describing the resource metadata
Returns
a CloudResource describing the updated resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ updateL1Resources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.updateL1Resources ( List< CloudResource resources)

Update the metadata of a list of L1 resources

Parameters
resourcesa list of CloudResource describing the L1 resource metadata
Returns
a list of CloudResource describing the updated resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.

◆ updateL2Resources()

List<CloudResource> eu.h2020.symbiote.client.interfaces.RHClient.updateL2Resources ( List< CloudResource cloudResources)

Update a list of L2 resources

Parameters
cloudResourcesa list of CloudResource describing the L2 resources
Returns
a list of CloudResource describing the updated L2 resource metadata

Implemented in eu.h2020.symbiote.client.feign.FeignRHClient.


The documentation for this interface was generated from the following file: