Skip to content

Commit

Permalink
Merge branch 'main' into generalize-triggerDescriptorUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-Draeger committed Sep 7, 2023
2 parents 103f24a + bab883f commit bfe2ed4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/t2iapi/context/context_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ message SetContextStateAssociationRequest {
}

/*
Request to create a new context state with a given association.
Request to create or adapt a context state with a given association.
*/
message CreateContextStateWithAssociationRequest {
string descriptor_handle = 1;
ContextAssociation context_association = 2; // the initial association of the context state
}

/*
Request to create a new pm:AbstractContextState instance with a given @ContextAssociation and a given number
Request to create or adapt a pm:AbstractContextState instance with a given @ContextAssociation and a given number
of pm:Validator elements.
*/
message CreateContextStateWithAssociationAndValidatorsRequest {
Expand All @@ -56,7 +56,7 @@ message CreateContextStateWithAssociationAndValidatorsRequest {
}

/*
Request to create a new context state with a given association and specific validator.
Request to create or adapt a context state with a given association and specific validator.
*/
message CreateContextStateWithAssocAndSpecificValidatorRequest {
string descriptor_handle = 1;
Expand Down
12 changes: 6 additions & 6 deletions src/t2iapi/context/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ service ContextService {
returns (BasicResponse);

/*
Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle.
Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle.
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
the static state, it shall return RESULT_NOT_SUPPORTED.
*/
rpc CreateContextStateWithAssociation (t2iapi.context.CreateContextStateWithAssociationRequest)
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
Create a new pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle
Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle
and provide at least the number of pm:Validator elements for this ContextState.
If the number of pm:Validator elements is zero, zero pm:Validator elements shall be provided.
*/
Expand All @@ -68,7 +68,7 @@ service ContextService {
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle
Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle
and provide at least one Identification and Validator for this ContextState.
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
the static state, it shall return RESULT_NOT_SUPPORTED.
Expand Down Expand Up @@ -96,17 +96,17 @@ service ContextService {
returns (CreateContextStateWithAssociationResponse);

/*
Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle,
Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle,
confirm by requested validator type.
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
the static state, it shall return RESULT_NOT_SUPPORTED.
*/
rpc CreateContextStateWithAssocAndSpecificValidator(
t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest)
t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest)
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
Create a new neonatal patient with a given type of association and
Create or adapt neonatal patient with a given type of association and
including the mothers identification.
*/
rpc CreateNeonatalPatientWithAssociationAndMothersIdentification(
Expand Down

0 comments on commit bfe2ed4

Please sign in to comment.