PakhomovAlexander commented on code in PR #2152:
URL: https://github.com/apache/ignite-3/pull/2152#discussion_r1226345268
##########
modules/rest-api/openapi/openapi.yaml:
##########
@@ -469,29 +469,42 @@ paths:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
- /management/v1/deployment/units:
+ /management/v1/deployment/units/{unitId}/{unitVersion}:
post:
tags:
- deployment
- summary: Deploy unit REST method.
- description: Deploys provided unit to the cluster.
- operationId: deployUnit
+ summary: Deploy unit to specified nodes REST method.
+ description: Deploys provided unit to the cluster with specified initial
nodes.
+ operationId: deployUnitToNodes
+ parameters:
+ - name: unitId
+ in: path
+ required: true
+ schema:
+ type: string
+ description: The ID of the deployment unit.
+ - name: unitVersion
+ in: path
+ required: true
+ schema:
+ type: string
+ description: The version of the deployment unit.
+ - name: initialNodes
+ in: query
Review Comment:
I think it might be moved to the body
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]