Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2993

Default Configuration REST API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: 2.4.7
    • Fix Version/s: N/A
    • Component/s: N/A
    • Labels:
    • Environment:
      Linux Centos 7

      Description

      i have configuration like this at maxscale.cnf

      ....
      [CLI_Service]
      type=service
      router=cli
       
      [CLI_Listener]
      type=listener
      service=CLI_Service
      protocol=maxscaled
      address=192.168.101.107
      socket=default
       
      [MaxAdmin_Inet]
      type=listener
      service=CLI_Service
      protocol=HTTPD
      address=192.168.101.107
      port=8010
      

      when i running curl with this command

      curl --include --basic --user "admin:mariadb" http://192.168.101.107:8010/v1/servers
      

      and then this is results

      HTTP/1.1 200 OK
      Date: Wed, 13 May 2020 11:33:15 GMT
      Server: MaxScale(c) v.1.0.0
      Connection: close
      WWW-Authenticate: Basic realm="MaxInfo"
      Content-Type: application/json
       
      Commands must consist of at least two words. Type help for a list of commands
      

      i see on documentation page i can't find default configuration for enable rest api on maxscale

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            febridev febriyant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: