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

Default Configuration REST API

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 2.4.7
    • N/A
    • N/A
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.