skip to Main Content

I tried to run aerospike-client-rest in Docker.
following the steps from this github link

  1. docker build -t aerospike-client-rest .
  2. docker run -itd –rm -p 8080:8080 –name AS_Rest1 -e aerospike_restclient_hostname=172.17.0.3 aerospike-client-rest

Was able to access the following:

  • http://localhost:8080/v1/cluster
  • http://localhost:8080/swagger-ui.html
  • http://localhost:8080/v2/api-docs

But not http://localhost:8080/v3/api-docs

2

Answers


  1. Which version of Aerospike REST Client are you using?

    Open API 3 support was added in version 1.10.0 (latest is 1.10.4).
    Anything prior to that uses the Swagger 2 documentation which explains why you are able to access http://localhost:8080/v2/api-docs instead of http://localhost:8080/v3/api-docs.

    Login or Signup to reply.
  2. The latest version is available on Docker Hub.
    https://hub.docker.com/r/aerospike/aerospike-client-rest/tags

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search