Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDP-261305: Extend split e2e tests #100

Merged
merged 15 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/cli/test/data/split/dev/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The last update for this folder was with commit SHA "9d9a15de84a42c02eaaafec91ab3f7863954a108" in branch mms
The last update for this folder was with commit SHA "09d9d18db2111c955a8e01702a27ca2763417782" in branch dev
223 changes: 223 additions & 0 deletions tools/cli/test/data/split/dev/openapi-api-registry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
{
"openapi": "3.0.1",
"info": {
"title": "API Registry Service API",
"description": "API Registry OpenAPI Specification.",
"version": "0.1.0"
},
"servers": [
{
"url": "http://localhost:50053",
"description": "localhost"
}
],
"security": [
{
"internalClient": []
}
],
"tags": [
{
"name": "Internal",
"description": "Private resources."
},
{
"name": "OpenAPI",
"description": "Returns information about the MongoDB Atlas Specification."
}
],
"paths": {
"/api/atlas/v2/openapi/info": {
"get": {
"tags": ["OpenAPI"],
"summary": "Return general information about the MongoDB Atlas Administration API OpenAPI Specification.",
"description": "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification.",
"operationId": "getOpenApiInfo",
"parameters": [
{
"$ref": "openapi-mms.json#/components/parameters/pretty"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/vnd.atlas.2024-05-30+json": {
"schema": {
"$ref": "#/components/schemas/OpenApiInfo"
},
"x-xgen-version": "2024-05-30",
"x-sunset": "2025-05-30"
},
"application/vnd.atlas.2025-01-01+json": {
"schema": {
"$ref": "#/components/schemas/OpenApiInfo"
},
"x-xgen-version": "2025-01-01"
}
}
},
"401": {
"description": "Unauthorized.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
},
"500": {
"$ref": "openapi-mms.json#/components/responses/internalServerError"
}
},
"security": [
{
"DigestAuth": []
}
],
"x-xgen-hidden-env": {
"envs": "qa,stage,prod"
},
"x-xgen-owner-team": "apix"
}
},
"/rest/unauth/version": {
"get": {
"tags": ["Internal"],
"summary": "Return the deployed gitSHA.",
"description": "This resource returns the deployed gitSHA for the service.",
"operationId": "getVersion",
"parameters": [
{
"$ref": "openapi-mms.json#/components/parameters/pretty"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceVersionView"
}
}
}
},
"500": {
"$ref": "openapi-mms.json#/components/responses/internalServerError"
}
},
"security": [
{
"DigestAuth": []
}
]
}
}
},
"components": {
"schemas": {
"Info": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of the MongoDB Atlas Administration API.",
"example": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas."
},
"license": {
"$ref": "#/components/schemas/License"
},
"termsOfService": {
"type": "string",
"description": "Terms of Service URL.",
"example": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions"
},
"title": {
"type": "string",
"description": "Title of the MongoDB Atlas Administration API.",
"example": "MongoDB Atlas Administration API."
},
"version": {
"type": "string",
"description": "Version of the MongoDB Atlas Administration API.",
"example": "2.0"
}
},
"description": "Information about the MongoDB Atlas Administration API OpenAPI Specification."
},
"License": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the license.",
"example": "CC BY-NC-SA 3.0 US"
},
"url": {
"type": "string",
"description": "URL of the license.",
"example": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/"
}
},
"description": "License information of the MongoDB Atlas Administration API."
},
"OpenApiInfo": {
"type": "object",
"properties": {
"info": {
"$ref": "#/components/schemas/Info"
}
}
},
"ApiError": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "Describes the specific conditions or reasons that cause each type of error."
},
"error": {
"type": "integer",
"description": "HTTP status code returned with this error.",
"format": "int32",
"externalDocs": {
"url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status"
}
},
"errorCode": {
"type": "string",
"description": "Application error code returned with this error."
},
"parameters": {
"type": "array",
"description": "Parameters used to give more information about the error.",
"items": {
"type": "object"
}
},
"reason": {
"type": "string",
"description": "Application error message returned with this error."
}
}
},
"ServiceVersionView": {
"type": "object",
"properties": {
"gitsha": {
"type": "string",
"description": "The service deployed gitSha."
}
}
}
},
"securitySchemes": {
"DigestAuth": {
"type": "http",
"scheme": "digest"
}
}
}
}
Loading
Loading