Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1201

Simplify connection status api

XMLWordPrintable

      When currently retrieving the import status, we get a response like this:

      {
        "connectionStatus": {
          "engineConnections": {
            "marketingEngine": true,
            "salesEngine" : false
          },
          "connectedToElasticsearch": true
        },
        "isImporting": {
          "marketingEngine": true,
          "salesEngine" : false
        }
      }
      

      So we are listing the engines twice, which is a bit redundant. Therefore, we should merge the connection and import status of the engine into somehting like this:

      {
          "engineStatus": {
            "marketingEngine":{
                isConnected: true,
                isImporting: true
            },
            "salesEngine" : {
                isConnected: false,
                isImporting: false
             }
          },
          "connectedToElasticsearch": true
      }

      ATs:

      • The response does not duplicate the engines as part of both the connection and importing properties
      • The REST-API documentation is updated

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: