Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
-
Docs Required, Release Notes Required
Description
Description
Now ignite-rest module provides the server implementation that cannot be used as a source for Open API specification generation.
- Change the current REST implementation with micronaut
- Generate Open API specification from source code
- Generate REST client from the specification
- Include existing configuration and cluster management endpoins
Configuration REST API
This REST group provides methods to read and update node/cluster configuration. The implementation has to be located in the ignite-configuration module.
Method | Path | Parameters | Description |
---|---|---|---|
GET | /management/v1/configuration/node/ | Return node configuration in HOCON format | |
GET | /management/v1/configuration/node/{configPath} |
|
Return node configuration subtree in HOCON format specified with configPath parameter. |
PATCH | /management/v1/configuration/node/ |
|
Update node configuration with a given body. |
GET | /management/v1/configuration/cluster/ | Return cluster configuration in HOCON format. | |
GET | /management/v1/configuration/cluster/{configPath} |
|
Return cluster configuration subtree in HOCON format specified with configPath parameter. |
PATCH | /management/v1/configuration/cluster/ |
|
Update cluster configuration with a given body. |
Management REST API
Manage cluster state. The implementation has to be located in the ignite-cluster-management module.
Method | Path | Parameters | Description |
---|---|---|---|
POST | /management/v1/init/ |
|
Initialize cluster |
Attachments
Issue Links
- links to