You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2022/05/10 22:49:00 UTC

[jira] [Created] (IGNITE-16943) Implement Micronaut-based REST

Aleksandr created IGNITE-16943:
----------------------------------

             Summary: Implement Micronaut-based REST
                 Key: IGNITE-16943
                 URL: https://issues.apache.org/jira/browse/IGNITE-16943
             Project: Ignite
          Issue Type: Task
          Components: rest
            Reporter: Aleksandr


h2. 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 

h3. 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}| * configPath: subtree selector in format _root.subtree.subsubtree_|Return node configuration subtree in HOCON format specified with configPath parameter.|
|PATCH|/management/v1/configuration/node/| * request body: configuration to update in HOCON format|Update node configuration with a given body.|
|GET|/management/v1/configuration/cluster/| |Return cluster configuration in HOCON format.|
|GET|/management/v1/configuration/cluster/\{configPath}| * configPath: subtree selector in format _root.subtree.subsubtree_|Return cluster configuration subtree in HOCON format specified with configPath parameter.|
|PATCH|/management/v1/configuration/cluster/| * request body: configuration to update in HOCON format|Update cluster configuration with a given body.|

 
h3. 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/| * body: list of meta storage node names and list of cmg nodes|Initialize cluster|



--
This message was sent by Atlassian Jira
(v8.20.7#820007)