Skip to content

Commit

Permalink
adapt wording (#63)
Browse files Browse the repository at this point in the history
Adapt semantics of serveral rpcs

# Checklist

The following aspects have been respected by the author of this pull
request, confirmed by both pull request assignee **and** reviewer:

* Changelog update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer
* README update (necessity checked and entry added or not added
respectively)
  * [x] Pull Request Assignee
  * [x] Reviewer

---------

Co-authored-by: Staeck, Philipp <[email protected]>
  • Loading branch information
pstaeck and pstaeck authored Sep 7, 2023
1 parent 245ec72 commit bab883f
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 bab883f

Please sign in to comment.