Package com.clinia.api
Class RegistryClient
java.lang.Object
com.clinia.ApiClient
com.clinia.api.RegistryClient
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionRegistryClient(String workspaceId, String apiKey) RegistryClient(String workspaceId, String apiKey, ClientOptions options) -
Method Summary
Modifier and TypeMethodDescriptionbulkRelationships(String sourceKey, BulkRelationshipsRequest bulkRelationshipsRequest) Bulk create, update, or delete relationships.bulkRelationships(String sourceKey, BulkRelationshipsRequest bulkRelationshipsRequest, RequestOptions requestOptions) Bulk create, update, or delete relationships.bulkRelationshipsAsync(String sourceKey, BulkRelationshipsRequest bulkRelationshipsRequest) (asynchronously) Bulk create, update, or delete relationships.bulkRelationshipsAsync(String sourceKey, BulkRelationshipsRequest bulkRelationshipsRequest, RequestOptions requestOptions) (asynchronously) Bulk create, update, or delete relationships.bulkResources(String sourceKey, BulkResourcesRequest bulkResourcesRequest) Bulk create, update, or delete resources.bulkResources(String sourceKey, BulkResourcesRequest bulkResourcesRequest, RequestOptions requestOptions) Bulk create, update, or delete resources.bulkResourcesAsync(String sourceKey, BulkResourcesRequest bulkResourcesRequest) (asynchronously) Bulk create, update, or delete resources.bulkResourcesAsync(String sourceKey, BulkResourcesRequest bulkResourcesRequest, RequestOptions requestOptions) (asynchronously) Bulk create, update, or delete resources.<T> V1Resource<T>createContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType) Creates a contained resource in the registry.<T> V1Resource<T>createContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) Creates a contained resource in the registry.<T> CompletableFuture<V1Resource<T>>createContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType) (asynchronously) Creates a contained resource in the registry.<T> CompletableFuture<V1Resource<T>>createContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Creates a contained resource in the registry.<T> V1Relationship<T>createRelationship(String sourceKey, String key, V1Relationship v1Relationship, Class<T> innerType) Create a relationship between two resources in the registry.<T> V1Relationship<T>createRelationship(String sourceKey, String key, V1Relationship v1Relationship, Class<T> innerType, RequestOptions requestOptions) Create a relationship between two resources in the registry.<T> CompletableFuture<V1Relationship<T>>createRelationshipAsync(String sourceKey, String key, V1Relationship v1Relationship, Class<T> innerType) (asynchronously) Create a relationship between two resources in the registry.<T> CompletableFuture<V1Relationship<T>>createRelationshipAsync(String sourceKey, String key, V1Relationship v1Relationship, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Create a relationship between two resources in the registry.<T> V1DomainResource<T>createResource(String sourceKey, String type, CreateResourceRequest createResourceRequest, Class<T> innerType) Create a resource in the registry.<T> V1DomainResource<T>createResource(String sourceKey, String type, CreateResourceRequest createResourceRequest, Class<T> innerType, RequestOptions requestOptions) Create a resource in the registry.<T> V1DomainResource<T>createResource(String sourceKey, String type, Class<T> innerType) Create a resource in the registry.<T> V1DomainResource<T>createResource(String sourceKey, String type, Class<T> innerType, RequestOptions requestOptions) Create a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>createResourceAsync(String sourceKey, String type, CreateResourceRequest createResourceRequest, Class<T> innerType) (asynchronously) Create a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>createResourceAsync(String sourceKey, String type, CreateResourceRequest createResourceRequest, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Create a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>createResourceAsync(String sourceKey, String type, Class<T> innerType) (asynchronously) Create a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>createResourceAsync(String sourceKey, String type, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Create a resource in the registry.voiddeleteCollectionPipeline(String sourceKey, String collectionKey) Deletes the pipeline of a collection.voiddeleteCollectionPipeline(String sourceKey, String collectionKey, RequestOptions requestOptions) Deletes the pipeline of a collection.deleteCollectionPipelineAsync(String sourceKey, String collectionKey) (asynchronously) Deletes the pipeline of a collection.deleteCollectionPipelineAsync(String sourceKey, String collectionKey, RequestOptions requestOptions) (asynchronously) Deletes the pipeline of a collection.voiddeleteContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar) Deletes a contained resource in the registry.voiddeleteContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, RequestOptions requestOptions) Deletes a contained resource in the registry.deleteContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar) (asynchronously) Deletes a contained resource in the registry.deleteContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, RequestOptions requestOptions) (asynchronously) Deletes a contained resource in the registry.voiddeleteProfile(String sourceKey, String key) Delete a Profile from the registry.voiddeleteProfile(String sourceKey, String key, RequestOptions requestOptions) Delete a Profile from the registry.deleteProfileAsync(String sourceKey, String key) (asynchronously) Delete a Profile from the registry.deleteProfileAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Delete a Profile from the registry.voiddeleteRelationship(String sourceKey, String key, String id) Delete a relationship between two resources in the registry.voiddeleteRelationship(String sourceKey, String key, String id, RequestOptions requestOptions) Delete a relationship between two resources in the registry.deleteRelationshipAsync(String sourceKey, String key, String id) (asynchronously) Delete a relationship between two resources in the registry.deleteRelationshipAsync(String sourceKey, String key, String id, RequestOptions requestOptions) (asynchronously) Delete a relationship between two resources in the registry.voiddeleteRelationshipDefinition(String sourceKey, String key) Delete a relationship definition from the registry.voiddeleteRelationshipDefinition(String sourceKey, String key, RequestOptions requestOptions) Delete a relationship definition from the registry.deleteRelationshipDefinitionAsync(String sourceKey, String key) (asynchronously) Delete a relationship definition from the registry.deleteRelationshipDefinitionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Delete a relationship definition from the registry.voiddeleteResource(String sourceKey, String type, String id) Delete a resource from the registry.voiddeleteResource(String sourceKey, String type, String id, RequestOptions requestOptions) Delete a resource from the registry.deleteResourceAsync(String sourceKey, String type, String id) (asynchronously) Delete a resource from the registry.deleteResourceAsync(String sourceKey, String type, String id, RequestOptions requestOptions) (asynchronously) Delete a resource from the registry.getBulkRelationshipsResult(String sourceKey, String bulkId) Get the status of a bulk relationship request.getBulkRelationshipsResult(String sourceKey, String bulkId, RequestOptions requestOptions) Get the status of a bulk relationship request.getBulkRelationshipsResult(String sourceKey, String bulkId, Boolean withReceipts) Get the status of a bulk relationship request.getBulkRelationshipsResult(String sourceKey, String bulkId, Boolean withReceipts, RequestOptions requestOptions) Get the status of a bulk relationship request.getBulkRelationshipsResultAsync(String sourceKey, String bulkId) (asynchronously) Get the status of a bulk relationship request.getBulkRelationshipsResultAsync(String sourceKey, String bulkId, RequestOptions requestOptions) (asynchronously) Get the status of a bulk relationship request.getBulkRelationshipsResultAsync(String sourceKey, String bulkId, Boolean withReceipts) (asynchronously) Get the status of a bulk relationship request.getBulkRelationshipsResultAsync(String sourceKey, String bulkId, Boolean withReceipts, RequestOptions requestOptions) (asynchronously) Get the status of a bulk relationship request.getBulkResourcesResult(String sourceKey, String bulkId) Get the status of a bulk resource request.getBulkResourcesResult(String sourceKey, String bulkId, RequestOptions requestOptions) Get the status of a bulk resource request.getBulkResourcesResult(String sourceKey, String bulkId, Boolean withReceipts) Get the status of a bulk resource request.getBulkResourcesResult(String sourceKey, String bulkId, Boolean withReceipts, RequestOptions requestOptions) Get the status of a bulk resource request.getBulkResourcesResultAsync(String sourceKey, String bulkId) (asynchronously) Get the status of a bulk resource request.getBulkResourcesResultAsync(String sourceKey, String bulkId, RequestOptions requestOptions) (asynchronously) Get the status of a bulk resource request.getBulkResourcesResultAsync(String sourceKey, String bulkId, Boolean withReceipts) (asynchronously) Get the status of a bulk resource request.getBulkResourcesResultAsync(String sourceKey, String bulkId, Boolean withReceipts, RequestOptions requestOptions) (asynchronously) Get the status of a bulk resource request.getCollection(String sourceKey, String collectionKey) Get a collection from the registry.getCollection(String sourceKey, String collectionKey, RequestOptions requestOptions) Get a collection from the registry.getCollectionAsync(String sourceKey, String collectionKey) (asynchronously) Get a collection from the registry.getCollectionAsync(String sourceKey, String collectionKey, RequestOptions requestOptions) (asynchronously) Get a collection from the registry.<T> V1DomainResource<T>getContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, Class<T> innerType) Get a contained resource from the registry.<T> V1DomainResource<T>getContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, Class<T> innerType, RequestOptions requestOptions) Get a contained resource from the registry.<T> CompletableFuture<V1DomainResource<T>>getContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, Class<T> innerType) (asynchronously) Get a contained resource from the registry.<T> CompletableFuture<V1DomainResource<T>>getContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Get a contained resource from the registry.getProfile(String sourceKey, String key) Get a profile from the registry.getProfile(String sourceKey, String key, RequestOptions requestOptions) Get a profile from the registry.getProfileAsync(String sourceKey, String key) (asynchronously) Get a profile from the registry.getProfileAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Get a profile from the registry.<T> V1RelationshipWithIncludes<T>getRelationship(String sourceKey, String key, String id, Class<T> innerType) Get a relationship from the registry.<T> V1RelationshipWithIncludes<T>getRelationship(String sourceKey, String key, String id, Class<T> innerType, RequestOptions requestOptions) Get a relationship from the registry.<T> V1RelationshipWithIncludes<T>Get a relationship from the registry.<T> V1RelationshipWithIncludes<T>getRelationship(String sourceKey, String key, String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) Get a relationship from the registry.getRelationshipAsync(String sourceKey, String key, String id, Class<T> innerType) (asynchronously) Get a relationship from the registry.getRelationshipAsync(String sourceKey, String key, String id, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Get a relationship from the registry.getRelationshipAsync(String sourceKey, String key, String id, List<String> includes, Class<T> innerType) (asynchronously) Get a relationship from the registry.getRelationshipAsync(String sourceKey, String key, String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Get a relationship from the registry.getRelationshipDefinition(String sourceKey, String key) Get a relationship definition from the registry.getRelationshipDefinition(String sourceKey, String key, RequestOptions requestOptions) Get a relationship definition from the registry.getRelationshipDefinitionAsync(String sourceKey, String key) (asynchronously) Get a relationship definition from the registry.getRelationshipDefinitionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Get a relationship definition from the registry.<T> V1DomainResourceWithIncludes<T>getResource(String sourceKey, String type, String id, Class<T> innerType) Get a resource from the registry.<T> V1DomainResourceWithIncludes<T>getResource(String sourceKey, String type, String id, Class<T> innerType, RequestOptions requestOptions) Get a resource from the registry.<T> V1DomainResourceWithIncludes<T>Get a resource from the registry.<T> V1DomainResourceWithIncludes<T>getResource(String sourceKey, String type, String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) Get a resource from the registry.getResourceAsync(String sourceKey, String type, String id, Class<T> innerType) (asynchronously) Get a resource from the registry.getResourceAsync(String sourceKey, String type, String id, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Get a resource from the registry.getResourceAsync(String sourceKey, String type, String id, List<String> includes, Class<T> innerType) (asynchronously) Get a resource from the registry.getResourceAsync(String sourceKey, String type, String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Get a resource from the registry.listProfiles(String sourceKey) List all available Profiles in the registry.listProfiles(String sourceKey, RequestOptions requestOptions) List all available Profiles in the registry.listProfiles(String sourceKey, Integer page, Integer perPage) List all available Profiles in the registry.listProfiles(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) List all available Profiles in the registry.listProfilesAsync(String sourceKey) (asynchronously) List all available Profiles in the registry.listProfilesAsync(String sourceKey, RequestOptions requestOptions) (asynchronously) List all available Profiles in the registry.listProfilesAsync(String sourceKey, Integer page, Integer perPage) (asynchronously) List all available Profiles in the registry.listProfilesAsync(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) (asynchronously) List all available Profiles in the registry.listRelationshipDefinitions(String sourceKey) List relationship definitions in the registry.listRelationshipDefinitions(String sourceKey, RequestOptions requestOptions) List relationship definitions in the registry.listRelationshipDefinitions(String sourceKey, Integer page, Integer perPage) List relationship definitions in the registry.listRelationshipDefinitions(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) List relationship definitions in the registry.listRelationshipDefinitionsAsync(String sourceKey) (asynchronously) List relationship definitions in the registry.listRelationshipDefinitionsAsync(String sourceKey, RequestOptions requestOptions) (asynchronously) List relationship definitions in the registry.listRelationshipDefinitionsAsync(String sourceKey, Integer page, Integer perPage) (asynchronously) List relationship definitions in the registry.listRelationshipDefinitionsAsync(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) (asynchronously) List relationship definitions in the registry.<T> V1Relationship<T>updateRelationship(String sourceKey, String key, String id, List<V1PatchOperation> v1PatchOperation, Class<T> innerType) Update a relationship between two resources in the registry.<T> V1Relationship<T>updateRelationship(String sourceKey, String key, String id, List<V1PatchOperation> v1PatchOperation, Class<T> innerType, RequestOptions requestOptions) Update a relationship between two resources in the registry.<T> CompletableFuture<V1Relationship<T>>updateRelationshipAsync(String sourceKey, String key, String id, List<V1PatchOperation> v1PatchOperation, Class<T> innerType) (asynchronously) Update a relationship between two resources in the registry.<T> CompletableFuture<V1Relationship<T>>updateRelationshipAsync(String sourceKey, String key, String id, List<V1PatchOperation> v1PatchOperation, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Update a relationship between two resources in the registry.upsertCollectionPipeline(String sourceKey, String collectionKey, V1Pipeline v1Pipeline) Upserts a pipeline for a collection.upsertCollectionPipeline(String sourceKey, String collectionKey, V1Pipeline v1Pipeline, RequestOptions requestOptions) Upserts a pipeline for a collection.upsertCollectionPipelineAsync(String sourceKey, String collectionKey, V1Pipeline v1Pipeline) (asynchronously) Upserts a pipeline for a collection.upsertCollectionPipelineAsync(String sourceKey, String collectionKey, V1Pipeline v1Pipeline, RequestOptions requestOptions) (asynchronously) Upserts a pipeline for a collection.<T> V1DomainResource<T>upsertContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType) Upserts a contained resource in the registry.<T> V1DomainResource<T>upsertContainedResource(String sourceKey, String type, String id, String nestedContainsPathEqualStar, UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) Upserts a contained resource in the registry.<T> CompletableFuture<V1DomainResource<T>>upsertContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType) (asynchronously) Upserts a contained resource in the registry.<T> CompletableFuture<V1DomainResource<T>>upsertContainedResourceAsync(String sourceKey, String type, String id, String nestedContainsPathEqualStar, UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Upserts a contained resource in the registry.upsertProfile(String sourceKey, String key, UpsertProfileRequest upsertProfileRequest) Updating a profile is currently not supported and will return a 501.upsertProfile(String sourceKey, String key, UpsertProfileRequest upsertProfileRequest, RequestOptions requestOptions) Updating a profile is currently not supported and will return a 501.upsertProfileAsync(String sourceKey, String key, UpsertProfileRequest upsertProfileRequest) (asynchronously) Updating a profile is currently not supported and will return a 501.upsertProfileAsync(String sourceKey, String key, UpsertProfileRequest upsertProfileRequest, RequestOptions requestOptions) (asynchronously) Updating a profile is currently not supported and will return a 501.upsertRelationshipDefinition(String sourceKey, String key, UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest) Updating a relationship definition is currently not supported and will return a 501.upsertRelationshipDefinition(String sourceKey, String key, UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest, RequestOptions requestOptions) Updating a relationship definition is currently not supported and will return a 501.upsertRelationshipDefinitionAsync(String sourceKey, String key, UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest) (asynchronously) Updating a relationship definition is currently not supported and will return a 501.upsertRelationshipDefinitionAsync(String sourceKey, String key, UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest, RequestOptions requestOptions) (asynchronously) Updating a relationship definition is currently not supported and will return a 501.<T> V1DomainResource<T>upsertResource(String sourceKey, String type, String id, V1DomainResource v1DomainResource, Class<T> innerType) Upsert a resource in the registry.<T> V1DomainResource<T>upsertResource(String sourceKey, String type, String id, V1DomainResource v1DomainResource, Class<T> innerType, RequestOptions requestOptions) Upsert a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>upsertResourceAsync(String sourceKey, String type, String id, V1DomainResource v1DomainResource, Class<T> innerType) (asynchronously) Upsert a resource in the registry.<T> CompletableFuture<V1DomainResource<T>>upsertResourceAsync(String sourceKey, String type, String id, V1DomainResource v1DomainResource, Class<T> innerType, RequestOptions requestOptions) (asynchronously) Upsert a resource in the registry.Methods inherited from class com.clinia.ApiClient
close, executeAsync, executeAsync
-
Constructor Details
-
RegistryClient
-
RegistryClient
-
-
Method Details
-
bulkRelationships
public V1BulkResponse bulkRelationships(@Nonnull String sourceKey, @Nonnull BulkRelationshipsRequest bulkRelationshipsRequest, RequestOptions requestOptions) throws CliniaRuntimeException Bulk create, update, or delete relationships. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkRelationshipsRequest- The request body should contain a list of relationships to create, update, or delete. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkRelationships
public V1BulkResponse bulkRelationships(@Nonnull String sourceKey, @Nonnull BulkRelationshipsRequest bulkRelationshipsRequest) throws CliniaRuntimeException Bulk create, update, or delete relationships. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkRelationshipsRequest- The request body should contain a list of relationships to create, update, or delete. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkRelationshipsAsync
public CompletableFuture<V1BulkResponse> bulkRelationshipsAsync(@Nonnull String sourceKey, @Nonnull BulkRelationshipsRequest bulkRelationshipsRequest, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Bulk create, update, or delete relationships. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkRelationshipsRequest- The request body should contain a list of relationships to create, update, or delete. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkRelationshipsAsync
public CompletableFuture<V1BulkResponse> bulkRelationshipsAsync(@Nonnull String sourceKey, @Nonnull BulkRelationshipsRequest bulkRelationshipsRequest) throws CliniaRuntimeException (asynchronously) Bulk create, update, or delete relationships. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkRelationshipsRequest- The request body should contain a list of relationships to create, update, or delete. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkResources
public V1BulkResponse bulkResources(@Nonnull String sourceKey, @Nonnull BulkResourcesRequest bulkResourcesRequest, RequestOptions requestOptions) throws CliniaRuntimeException Bulk create, update, or delete resources. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkResourcesRequest- The request body should contain a list of resources to create, update, or delete. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkResources
public V1BulkResponse bulkResources(@Nonnull String sourceKey, @Nonnull BulkResourcesRequest bulkResourcesRequest) throws CliniaRuntimeException Bulk create, update, or delete resources. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkResourcesRequest- The request body should contain a list of resources to create, update, or delete. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkResourcesAsync
public CompletableFuture<V1BulkResponse> bulkResourcesAsync(@Nonnull String sourceKey, @Nonnull BulkResourcesRequest bulkResourcesRequest, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Bulk create, update, or delete resources. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkResourcesRequest- The request body should contain a list of resources to create, update, or delete. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
bulkResourcesAsync
public CompletableFuture<V1BulkResponse> bulkResourcesAsync(@Nonnull String sourceKey, @Nonnull BulkResourcesRequest bulkResourcesRequest) throws CliniaRuntimeException (asynchronously) Bulk create, update, or delete resources. The request body should contain a list of operations.- Parameters:
sourceKey- The source key. (required)bulkResourcesRequest- The request body should contain a list of resources to create, update, or delete. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createContainedResource
public <T> V1Resource<T> createContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Creates a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must end with a {containKey} (odd number) since no resource id is provided. (required)createContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createContainedResource
public <T> V1Resource<T> createContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType) throws CliniaRuntimeException Creates a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must end with a {containKey} (odd number) since no resource id is provided. (required)createContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createContainedResourceAsync
public <T> CompletableFuture<V1Resource<T>> createContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Creates a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must end with a {containKey} (odd number) since no resource id is provided. (required)createContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createContainedResourceAsync
public <T> CompletableFuture<V1Resource<T>> createContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull CreateContainedResourceRequest createContainedResourceRequest, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Creates a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must end with a {containKey} (odd number) since no resource id is provided. (required)createContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createRelationship
public <T> V1Relationship<T> createRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull V1Relationship v1Relationship, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Create a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- (required)v1Relationship- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createRelationship
public <T> V1Relationship<T> createRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull V1Relationship v1Relationship, Class<T> innerType) throws CliniaRuntimeException Create a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- (required)v1Relationship- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createRelationshipAsync
public <T> CompletableFuture<V1Relationship<T>> createRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull V1Relationship v1Relationship, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- (required)v1Relationship- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createRelationshipAsync
public <T> CompletableFuture<V1Relationship<T>> createRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull V1Relationship v1Relationship, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Create a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- (required)v1Relationship- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResource
public <T> V1DomainResource<T> createResource(@Nonnull String sourceKey, @Nonnull String type, CreateResourceRequest createResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)createResourceRequest- (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResource
public <T> V1DomainResource<T> createResource(@Nonnull String sourceKey, @Nonnull String type, CreateResourceRequest createResourceRequest, Class<T> innerType) throws CliniaRuntimeException Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)createResourceRequest- (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResource
public <T> V1DomainResource<T> createResource(@Nonnull String sourceKey, @Nonnull String type, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResource
public <T> V1DomainResource<T> createResource(@Nonnull String sourceKey, @Nonnull String type, Class<T> innerType) throws CliniaRuntimeException Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> createResourceAsync(@Nonnull String sourceKey, @Nonnull String type, CreateResourceRequest createResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)createResourceRequest- (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> createResourceAsync(@Nonnull String sourceKey, @Nonnull String type, CreateResourceRequest createResourceRequest, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)createResourceRequest- (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> createResourceAsync(@Nonnull String sourceKey, @Nonnull String type, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> createResourceAsync(@Nonnull String sourceKey, @Nonnull String type, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Create a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteCollectionPipeline
public void deleteCollectionPipeline(@Nonnull String sourceKey, @Nonnull String collectionKey, RequestOptions requestOptions) throws CliniaRuntimeException Deletes the pipeline of a collection.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteCollectionPipeline
public void deleteCollectionPipeline(@Nonnull String sourceKey, @Nonnull String collectionKey) throws CliniaRuntimeException Deletes the pipeline of a collection.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteCollectionPipelineAsync
public CompletableFuture<Void> deleteCollectionPipelineAsync(@Nonnull String sourceKey, @Nonnull String collectionKey, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Deletes the pipeline of a collection.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteCollectionPipelineAsync
public CompletableFuture<Void> deleteCollectionPipelineAsync(@Nonnull String sourceKey, @Nonnull String collectionKey) throws CliniaRuntimeException (asynchronously) Deletes the pipeline of a collection.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteContainedResource
public void deleteContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, RequestOptions requestOptions) throws CliniaRuntimeException Deletes a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {type}/{id}. These paths segments must come in pairs (even number). (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteContainedResource
public void deleteContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar) throws CliniaRuntimeException Deletes a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {type}/{id}. These paths segments must come in pairs (even number). (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteContainedResourceAsync
public CompletableFuture<Void> deleteContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Deletes a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {type}/{id}. These paths segments must come in pairs (even number). (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteContainedResourceAsync
public CompletableFuture<Void> deleteContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar) throws CliniaRuntimeException (asynchronously) Deletes a contained resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {type}/{id}. These paths segments must come in pairs (even number). (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteProfile
public void deleteProfile(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Delete a Profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the profile. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteProfile
public void deleteProfile(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Delete a Profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the profile. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteProfileAsync
public CompletableFuture<Void> deleteProfileAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a Profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the profile. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteProfileAsync
public CompletableFuture<Void> deleteProfileAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Delete a Profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the profile. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationship
public void deleteRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, RequestOptions requestOptions) throws CliniaRuntimeException Delete a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationship
public void deleteRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id) throws CliniaRuntimeException Delete a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipAsync
public CompletableFuture<Void> deleteRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipAsync
public CompletableFuture<Void> deleteRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id) throws CliniaRuntimeException (asynchronously) Delete a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipDefinition
public void deleteRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Delete a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the relationship definition. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipDefinition
public void deleteRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Delete a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the relationship definition. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipDefinitionAsync
public CompletableFuture<Void> deleteRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the relationship definition. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteRelationshipDefinitionAsync
public CompletableFuture<Void> deleteRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Delete a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the relationship definition. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteResource
public void deleteResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, RequestOptions requestOptions) throws CliniaRuntimeException Delete a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteResource
public void deleteResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id) throws CliniaRuntimeException Delete a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteResourceAsync
public CompletableFuture<Void> deleteResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteResourceAsync
public CompletableFuture<Void> deleteResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id) throws CliniaRuntimeException (asynchronously) Delete a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResult
public V1BulkRelationshipResult getBulkRelationshipsResult(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts, RequestOptions requestOptions) throws CliniaRuntimeException Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResult
public V1BulkRelationshipResult getBulkRelationshipsResult(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts) throws CliniaRuntimeException Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResult
public V1BulkRelationshipResult getBulkRelationshipsResult(@Nonnull String sourceKey, @Nonnull String bulkId, RequestOptions requestOptions) throws CliniaRuntimeException Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResult
public V1BulkRelationshipResult getBulkRelationshipsResult(@Nonnull String sourceKey, @Nonnull String bulkId) throws CliniaRuntimeException Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResultAsync
public CompletableFuture<V1BulkRelationshipResult> getBulkRelationshipsResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResultAsync
public CompletableFuture<V1BulkRelationshipResult> getBulkRelationshipsResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts) throws CliniaRuntimeException (asynchronously) Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResultAsync
public CompletableFuture<V1BulkRelationshipResult> getBulkRelationshipsResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkRelationshipsResultAsync
public CompletableFuture<V1BulkRelationshipResult> getBulkRelationshipsResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId) throws CliniaRuntimeException (asynchronously) Get the status of a bulk relationship request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResult
public V1BulkResourceResult getBulkResourcesResult(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts, RequestOptions requestOptions) throws CliniaRuntimeException Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResult
public V1BulkResourceResult getBulkResourcesResult(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts) throws CliniaRuntimeException Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResult
public V1BulkResourceResult getBulkResourcesResult(@Nonnull String sourceKey, @Nonnull String bulkId, RequestOptions requestOptions) throws CliniaRuntimeException Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResult
public V1BulkResourceResult getBulkResourcesResult(@Nonnull String sourceKey, @Nonnull String bulkId) throws CliniaRuntimeException Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResultAsync
public CompletableFuture<V1BulkResourceResult> getBulkResourcesResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResultAsync
public CompletableFuture<V1BulkResourceResult> getBulkResourcesResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, Boolean withReceipts) throws CliniaRuntimeException (asynchronously) Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)withReceipts- If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned. (optional, default to true)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResultAsync
public CompletableFuture<V1BulkResourceResult> getBulkResourcesResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getBulkResourcesResultAsync
public CompletableFuture<V1BulkResourceResult> getBulkResourcesResultAsync(@Nonnull String sourceKey, @Nonnull String bulkId) throws CliniaRuntimeException (asynchronously) Get the status of a bulk resource request.- Parameters:
sourceKey- The source key. (required)bulkId- The bulk id. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getCollection
public V1Collection getCollection(@Nonnull String sourceKey, @Nonnull String collectionKey, RequestOptions requestOptions) throws CliniaRuntimeException Get a collection from the registry.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getCollection
public V1Collection getCollection(@Nonnull String sourceKey, @Nonnull String collectionKey) throws CliniaRuntimeException Get a collection from the registry.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getCollectionAsync
public CompletableFuture<V1Collection> getCollectionAsync(@Nonnull String sourceKey, @Nonnull String collectionKey, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a collection from the registry.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getCollectionAsync
public CompletableFuture<V1Collection> getCollectionAsync(@Nonnull String sourceKey, @Nonnull String collectionKey) throws CliniaRuntimeException (asynchronously) Get a collection from the registry.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getContainedResource
public <T> V1DomainResource<T> getContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Get a contained resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getContainedResource
public <T> V1DomainResource<T> getContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, Class<T> innerType) throws CliniaRuntimeException Get a contained resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getContainedResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> getContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a contained resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getContainedResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> getContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Get a contained resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getProfile
public V1Profile getProfile(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Get a profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the profile. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getProfile
public V1Profile getProfile(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Get a profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the profile. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getProfileAsync
public CompletableFuture<V1Profile> getProfileAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the profile. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getProfileAsync
public CompletableFuture<V1Profile> getProfileAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Get a profile from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or id of the profile. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationship
public <T> V1RelationshipWithIncludes<T> getRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of resource types to includes with the response. Includes must be valid resource types for the given relationship definition. (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationship
public <T> V1RelationshipWithIncludes<T> getRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, List<String> includes, Class<T> innerType) throws CliniaRuntimeException Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of resource types to includes with the response. Includes must be valid resource types for the given relationship definition. (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationship
public <T> V1RelationshipWithIncludes<T> getRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationship
public <T> V1RelationshipWithIncludes<T> getRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, Class<T> innerType) throws CliniaRuntimeException Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipAsync
public <T> CompletableFuture<V1RelationshipWithIncludes<T>> getRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of resource types to includes with the response. Includes must be valid resource types for the given relationship definition. (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipAsync
public <T> CompletableFuture<V1RelationshipWithIncludes<T>> getRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, List<String> includes, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of resource types to includes with the response. Includes must be valid resource types for the given relationship definition. (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipAsync
public <T> CompletableFuture<V1RelationshipWithIncludes<T>> getRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipAsync
public <T> CompletableFuture<V1RelationshipWithIncludes<T>> getRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Get a relationship from the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- The unique identifier of the relationship with one of the following formats: - v1RelationshipID format: `{fromType}.{fromID},{toType}.{toID}` (e.g. `patient.123,provider.456`). You can optionally pass in the simpler `{fromID},{toID}` form. - Identifier format: `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipDefinition
public V1RelationshipDefinition getRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Get a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or the id of the relationship definition. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipDefinition
public V1RelationshipDefinition getRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Get a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or the id of the relationship definition. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipDefinitionAsync
public CompletableFuture<V1RelationshipDefinition> getRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or the id of the relationship definition. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getRelationshipDefinitionAsync
public CompletableFuture<V1RelationshipDefinition> getRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Get a relationship definition from the registry.- Parameters:
sourceKey- The key of the source. (required)key- The key or the id of the relationship definition. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResource
public <T> V1DomainResourceWithIncludes<T> getResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of relationship property key (included resources) to includes with the response. Keys must be valid relationship property key for the given resource type. (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResource
public <T> V1DomainResourceWithIncludes<T> getResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, List<String> includes, Class<T> innerType) throws CliniaRuntimeException Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of relationship property key (included resources) to includes with the response. Keys must be valid relationship property key for the given resource type. (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResource
public <T> V1DomainResourceWithIncludes<T> getResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResource
public <T> V1DomainResourceWithIncludes<T> getResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, Class<T> innerType) throws CliniaRuntimeException Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResourceAsync
public <T> CompletableFuture<V1DomainResourceWithIncludes<T>> getResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, List<String> includes, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of relationship property key (included resources) to includes with the response. Keys must be valid relationship property key for the given resource type. (optional)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResourceAsync
public <T> CompletableFuture<V1DomainResourceWithIncludes<T>> getResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, List<String> includes, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)includes- List of relationship property key (included resources) to includes with the response. Keys must be valid relationship property key for the given resource type. (optional)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResourceAsync
public <T> CompletableFuture<V1DomainResourceWithIncludes<T>> getResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getResourceAsync
public <T> CompletableFuture<V1DomainResourceWithIncludes<T>> getResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Get a resource from the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- The resource ID. It can also be an identifier with the following formats `{system}:{value}:{use}` (e.g. `clinia:123:use`). (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfiles
public ListProfiles200Response listProfiles(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfiles
public ListProfiles200Response listProfiles(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfiles
public ListProfiles200Response listProfiles(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfiles
public ListProfiles200Response listProfiles(@Nonnull String sourceKey) throws CliniaRuntimeException List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfilesAsync
public CompletableFuture<ListProfiles200Response> listProfilesAsync(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfilesAsync
public CompletableFuture<ListProfiles200Response> listProfilesAsync(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException (asynchronously) List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfilesAsync
public CompletableFuture<ListProfiles200Response> listProfilesAsync(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listProfilesAsync
public CompletableFuture<ListProfiles200Response> listProfilesAsync(@Nonnull String sourceKey) throws CliniaRuntimeException (asynchronously) List all available Profiles in the registry.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitions
public ListRelationshipDefinitions200Response listRelationshipDefinitions(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitions
public ListRelationshipDefinitions200Response listRelationshipDefinitions(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitions
public ListRelationshipDefinitions200Response listRelationshipDefinitions(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitions
public ListRelationshipDefinitions200Response listRelationshipDefinitions(@Nonnull String sourceKey) throws CliniaRuntimeException List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitionsAsync
public CompletableFuture<ListRelationshipDefinitions200Response> listRelationshipDefinitionsAsync(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitionsAsync
public CompletableFuture<ListRelationshipDefinitions200Response> listRelationshipDefinitionsAsync(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException (asynchronously) List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitionsAsync
public CompletableFuture<ListRelationshipDefinitions200Response> listRelationshipDefinitionsAsync(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listRelationshipDefinitionsAsync
public CompletableFuture<ListRelationshipDefinitions200Response> listRelationshipDefinitionsAsync(@Nonnull String sourceKey) throws CliniaRuntimeException (asynchronously) List relationship definitions in the registry.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
updateRelationship
public <T> V1Relationship<T> updateRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, @Nonnull List<V1PatchOperation> v1PatchOperation, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Update a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)v1PatchOperation- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
updateRelationship
public <T> V1Relationship<T> updateRelationship(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, @Nonnull List<V1PatchOperation> v1PatchOperation, Class<T> innerType) throws CliniaRuntimeException Update a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)v1PatchOperation- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
updateRelationshipAsync
public <T> CompletableFuture<V1Relationship<T>> updateRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, @Nonnull List<V1PatchOperation> v1PatchOperation, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Update a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)v1PatchOperation- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
updateRelationshipAsync
public <T> CompletableFuture<V1Relationship<T>> updateRelationshipAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull String id, @Nonnull List<V1PatchOperation> v1PatchOperation, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Update a relationship between two resources in the registry.- Parameters:
sourceKey- The key of the source. (required)key- Key of the relationship definition. (required)id- Id of the relationship. (required)v1PatchOperation- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertCollectionPipeline
public V1Pipeline upsertCollectionPipeline(@Nonnull String sourceKey, @Nonnull String collectionKey, @Nonnull V1Pipeline v1Pipeline, RequestOptions requestOptions) throws CliniaRuntimeException Upserts a pipeline for a collection. If the pipeline already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)v1Pipeline- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertCollectionPipeline
public V1Pipeline upsertCollectionPipeline(@Nonnull String sourceKey, @Nonnull String collectionKey, @Nonnull V1Pipeline v1Pipeline) throws CliniaRuntimeException Upserts a pipeline for a collection. If the pipeline already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)v1Pipeline- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertCollectionPipelineAsync
public CompletableFuture<V1Pipeline> upsertCollectionPipelineAsync(@Nonnull String sourceKey, @Nonnull String collectionKey, @Nonnull V1Pipeline v1Pipeline, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Upserts a pipeline for a collection. If the pipeline already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)v1Pipeline- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertCollectionPipelineAsync
public CompletableFuture<V1Pipeline> upsertCollectionPipelineAsync(@Nonnull String sourceKey, @Nonnull String collectionKey, @Nonnull V1Pipeline v1Pipeline) throws CliniaRuntimeException (asynchronously) Upserts a pipeline for a collection. If the pipeline already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)collectionKey- The key of the collection. The collection key is shared with the profile key. A collection is a container for resources. It has a root profile that specify the schema of resources. It contain also contain an ingestion pipeline that specify how resources are ingested. (required)v1Pipeline- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertContainedResource
public <T> V1DomainResource<T> upsertContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Upserts a contained resource in the registry. If the resource already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)upsertContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertContainedResource
public <T> V1DomainResource<T> upsertContainedResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType) throws CliniaRuntimeException Upserts a contained resource in the registry. If the resource already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)upsertContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertContainedResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> upsertContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Upserts a contained resource in the registry. If the resource already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)upsertContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertContainedResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> upsertContainedResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull String nestedContainsPathEqualStar, @Nonnull UpsertContainedResourceRequest upsertContainedResourceRequest, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Upserts a contained resource in the registry. If the resource already exists, it will be updated.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)nestedContainsPathEqualStar- Path segments of the nested contain resource, with the format {containKey}/{id}. These paths segments must come in pairs (even number). (required)upsertContainedResourceRequest- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertProfile
public V1Profile upsertProfile(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertProfileRequest upsertProfileRequest, RequestOptions requestOptions) throws CliniaRuntimeException Updating a profile is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the profile. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertProfileRequest- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertProfile
public V1Profile upsertProfile(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertProfileRequest upsertProfileRequest) throws CliniaRuntimeException Updating a profile is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the profile. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertProfileRequest- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertProfileAsync
public CompletableFuture<V1Profile> upsertProfileAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertProfileRequest upsertProfileRequest, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Updating a profile is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the profile. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertProfileRequest- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertProfileAsync
public CompletableFuture<V1Profile> upsertProfileAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertProfileRequest upsertProfileRequest) throws CliniaRuntimeException (asynchronously) Updating a profile is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the profile. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertProfileRequest- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertRelationshipDefinition
public V1RelationshipDefinition upsertRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest, RequestOptions requestOptions) throws CliniaRuntimeException Updating a relationship definition is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the relationship definition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertRelationshipDefinitionRequest- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertRelationshipDefinition
public V1RelationshipDefinition upsertRelationshipDefinition(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest) throws CliniaRuntimeException Updating a relationship definition is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the relationship definition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertRelationshipDefinitionRequest- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertRelationshipDefinitionAsync
public CompletableFuture<V1RelationshipDefinition> upsertRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Updating a relationship definition is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the relationship definition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertRelationshipDefinitionRequest- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertRelationshipDefinitionAsync
public CompletableFuture<V1RelationshipDefinition> upsertRelationshipDefinitionAsync(@Nonnull String sourceKey, @Nonnull String key, @Nonnull UpsertRelationshipDefinitionRequest upsertRelationshipDefinitionRequest) throws CliniaRuntimeException (asynchronously) Updating a relationship definition is currently not supported and will return a 501.- Parameters:
sourceKey- The key of the source. (required)key- The key of the relationship definition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)upsertRelationshipDefinitionRequest- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertResource
public <T> V1DomainResource<T> upsertResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull V1DomainResource v1DomainResource, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException Upsert a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)v1DomainResource- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertResource
public <T> V1DomainResource<T> upsertResource(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull V1DomainResource v1DomainResource, Class<T> innerType) throws CliniaRuntimeException Upsert a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)v1DomainResource- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> upsertResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull V1DomainResource v1DomainResource, Class<T> innerType, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Upsert a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)v1DomainResource- (required)innerType- The class held by the collection, could be your custom class orObject.requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
upsertResourceAsync
public <T> CompletableFuture<V1DomainResource<T>> upsertResourceAsync(@Nonnull String sourceKey, @Nonnull String type, @Nonnull String id, @Nonnull V1DomainResource v1DomainResource, Class<T> innerType) throws CliniaRuntimeException (asynchronously) Upsert a resource in the registry.- Parameters:
sourceKey- The key of the source. (required)type- Type of the resource. (required)id- Id of the resource. (required)v1DomainResource- (required)innerType- The class held by the collection, could be your custom class orObject.- Throws:
CliniaRuntimeException- If it fails to process the API call
-