You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Create a docker image with management api and C* 4.0
69
71
docker build -t mgmtapi-4_0 -f Dockerfile-4_0 .
70
72
71
-
You can also build an image based on Datastax Astra Cassandra® 4.0 sources. First checkout [sources](https://github.com/datastax/cassandra/tree/astra) and build a tgz distribution:
72
-
73
+
You can also build an image based on Datastax Astra Cassandra 4.0 sources. First checkout [sources](https://github.com/datastax/cassandra/tree/astra) and build a tgz distribution:
74
+
73
75
ant artifacts
74
-
76
+
75
77
Then copy the tgz archive into the astra-4.0 directory of the Management API sources and run:
**NOTE 1:** Running ````integration-test````s will also run unit tests.
95
+
96
+
**NOTE 2:** Running ````integration-test````s requires at least one of ````-Drun311tests````, ````-Drun40tests```` or ````-DrunDSEtests```` to be set to ````true```` (you can set any combination of them to ````true````).
97
+
98
+
**NOTE 3:** In order to run DSE integration tests, you must also enable the ````dse```` profile:
99
+
100
+
mvn integration-test -P dse -DrunDSEtests=true
101
+
91
102
## REST API
92
-
[The current Swagger/OpenAPI documentation](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/datastax/management-api-for-apache-cassandra/master/management-api-server/doc/openapi.json&nocors)
93
-
103
+
[The current Swagger/OpenAPI documentation](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/k8ssandra/management-api-for-apache-cassandra/master/management-api-server/doc/openapi.json&nocors)
104
+
94
105
Also readable from url root: ````/openapi.json````
95
-
106
+
96
107
## Usage
97
108
98
109
The latest releases are on Docker Hub:
99
-
[Management API for Apache Cassandra® 3.11.7](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-3_11_7) and
100
-
[Management API for Apache Cassandra® 4.0 alpha3](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-4_0_0).
101
-
110
+
111
+
-[Management API for Apache Cassandra 3.11.7](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-3_11_7)
112
+
-[Management API for Apache Cassandra 3.11.8](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-3_11_8)
113
+
-[Management API for Apache Cassandra 3.11.9](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-3_11_9)
114
+
-[Management API for Apache Cassandra 3.11.10](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-3_11_10)
115
+
-[Management API for Apache Cassandra 4.0-beta4](https://hub.docker.com/repository/docker/datastax/cassandra-mgmtapi-4_0_0).
116
+
102
117
For running standalone the jars can be downloaded from the github release:
103
-
[Management API Releases Zip](https://github.com/datastax/management-api-for-apache-cassandra/releases)
118
+
[Management API Releases Zip](https://github.com/k8ssandra/management-api-for-apache-cassandra/releases)
119
+
120
+
The Management API can be run as a standalone service or along with the Kubernetes
Copy file name to clipboardexpand all lines: management-api-server/doc/openapi.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
{
2
2
"openapi" : "3.0.1",
3
3
"info" : {
4
-
"title" : "Management API for Apache Cassandra",
5
-
"description" : "This is a Restful service for operating Apache Cassandra. You can find out more about the Management API on [Github](http://github.com/datastax/management-api-for-apache-cassandra)",
4
+
"title" : "Management API for Apache Cassandra™",
5
+
"description" : "This is a Restful service for operating Apache Cassandra. You can find out more about the Management API on [Github](http://github.com/k8ssandra/management-api-for-apache-cassandra)",
Copy file name to clipboardexpand all lines: management-api-server/src/main/resources/openapi-configuration.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@
7
7
"openAPI": {
8
8
"info": {
9
9
"version": "0.1",
10
-
"title": "Management API for Apache Cassandra",
11
-
"description": "This is a Restful service for operating Apache Cassandra. You can find out more about the Management API on [Github](http://github.com/datastax/management-api-for-apache-cassandra)",
10
+
"title": "Management API for Apache Cassandra™",
11
+
"description": "This is a Restful service for operating Apache Cassandra. You can find out more about the Management API on [Github](http://github.com/k8ssandra/management-api-for-apache-cassandra)",
0 commit comments