eventmesh/eventmesh-admin
pandaapo 46fa6bde7d
[ISSUE #3946]Add unit test method or class for classes: NetUtils, TopicResponse (#3947)
* Add unit test methods for NetUtils, JsonUtils

* Revoke redundant test method. Add test class.
2023-05-22 10:56:18 +08:00
..
eventmesh-admin-rocketmq [ISSUE #3946]Add unit test method or class for classes: NetUtils, TopicResponse (#3947) 2023-05-22 10:56:18 +08:00
README.md [ISSUE #784] Fix words misspell, optimize admin http method code (#792) 2022-02-25 15:38:25 +08:00
build.gradle Add nacos into distribution (#948) 2022-06-23 16:59:14 +08:00
gradle.properties [ISSUE #435] Initial Creation of eventMesh-admin module in EventMesh (#513) 2021-09-14 17:10:55 +08:00

README.md

EventMesh Administration Module

EventMesh Administration Module for EventMesh. It manages Admin Service, Configurations such as topics/subscriptions management.It works as a control plane and provide some interface to manage the eventmesh-runtime module and other configurations.

Administration Client Manager APIs

POST /topicManage

  • Create a new topic if does not exist

  • Exposed POST endpoint to create a new topic if it does not exist.

       {
           "name":  "mytopic1"
       }
    

    Sample response

    {
         "topic": "mytopic1",
         "created_time": "2021-09-03",
    }
    

DELETE /topicManage/(string: topic)

  • Delete a specific topic.

  • Exposed DELETE endpoint to remove a specific topic

    • URL -
    http://localhost:8081/topicManage/mytopic1
    
    • Response -
    {
         "topic": "mytopic1",        
    }
    

GET /topicManage

  • Retrieve a list of topics

  • Exposed GET endpoint to retrieve all topics

    • URL -
    http://localhost:8081/topicManage
    
    • Response
    ["mytopic1", "mytopic2"]