Skip to content

Commit

Permalink
CLOUDP-267019: [e2e test] Add an e2e scenario to test the changelog c…
Browse files Browse the repository at this point in the history
…reate [Part 1] (#179)
  • Loading branch information
andreaangiolillo authored Aug 20, 2024
1 parent 96c1880 commit 32d70fe
Show file tree
Hide file tree
Showing 35 changed files with 622,066 additions and 0 deletions.
15,493 changes: 15,493 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/changelog.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"runDate": "2024-08-07", "runId": "20240807085043", "specRevision": "63cbfec3f6eeceb446c1d2641263b0628f04f450", "specRevisionShort": "63cbfec3f6e", "versions": ["2023-01-01", "2023-02-01", "2023-10-01", "2023-11-15", "2024-05-30"], "migration": 1}
49,326 changes: 49,326 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/openapi-2023-01-01.json

Large diffs are not rendered by default.

50,035 changes: 50,035 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/openapi-2023-02-01.json

Large diffs are not rendered by default.

50,030 changes: 50,030 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/openapi-2023-10-01.json

Large diffs are not rendered by default.

50,754 changes: 50,754 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/openapi-2023-11-15.json

Large diffs are not rendered by default.

51,894 changes: 51,894 additions & 0 deletions tools/cli/test/data/changelog/new-version/base/openapi-2024-05-30.json

Large diffs are not rendered by default.

3,424 changes: 3,424 additions & 0 deletions tools/cli/test/data/changelog/new-version/exemptions.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,364 @@
[
{
"path": "/api/atlas/v2/groups/{groupId}/access",
"httpMethod": "POST",
"operationId": "addUserToProject",
"tag": "Projects",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/clusters",
"httpMethod": "GET",
"operationId": "listClusters",
"tag": "Clusters",
"changes": [
{
"change": "the 'backupEnabled' response's property default value 'false' was added",
"changeCode": "response-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' response's property default value '1.00' was removed",
"changeCode": "response-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "added the optional property 'results/items/replicationSpecs/items/regionConfigs' to the response",
"changeCode": "response-optional-property-added",
"backwardCompatible": true
},
{
"change": "removed the optional properties 'results/items/autoScaling, results/items/mongoURI, results/items/mongoURIUpdated, results/items/mongoURIWithOptions, results/items/numShards, results/items/providerBackupEnabled, results/items/providerSettings, results/items/replicationFactor, results/items/replicationSpec, results/items/replicationSpecs/items/regionsConfig, results/items/srvAddress' from the response",
"changeCode": "response-optional-property-removed",
"backwardCompatible": true
},
{
"change": "the response optional properties 'results/items/mongoDBVersion, results/items/replicationSpecs/items/id' became read-only",
"changeCode": "response-optional-property-became-read-only",
"backwardCompatible": true,
"hideFromChangelog": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/clusters",
"httpMethod": "POST",
"operationId": "createCluster",
"tag": "Clusters",
"changes": [
{
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
"changeCode": "request-property-min-set",
"backwardCompatible": true
},
{
"change": "the request optional property 'mongoDBVersion' became read-only",
"changeCode": "request-optional-property-became-read-only",
"backwardCompatible": true
},
{
"change": "the request optional property 'replicationSpecs/items/id' became read-only",
"changeCode": "request-optional-property-became-read-only",
"backwardCompatible": true
},
{
"change": "the 'backupEnabled' request property default value 'false' was added",
"changeCode": "request-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' request property default value '1.00' was removed",
"changeCode": "request-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "the 'backupEnabled' response's property default value 'false' was added",
"changeCode": "response-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' response's property default value '1.00' was removed",
"changeCode": "response-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
"changeCode": "response-optional-property-added",
"backwardCompatible": true
},
{
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
"changeCode": "response-optional-property-removed",
"backwardCompatible": true
},
{
"change": "removed the request properties 'autoScaling, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig'",
"changeCode": "request-property-removed",
"backwardCompatible": true
},
{
"change": "added the new optional request property 'replicationSpecs/items/regionConfigs'",
"changeCode": "new-optional-request-property",
"backwardCompatible": true
},
{
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
"changeCode": "response-optional-property-became-read-only",
"backwardCompatible": true,
"hideFromChangelog": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
"httpMethod": "GET",
"operationId": "getCluster",
"tag": "Clusters",
"changes": [
{
"change": "the 'backupEnabled' response's property default value 'false' was added",
"changeCode": "response-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' response's property default value '1.00' was removed",
"changeCode": "response-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
"changeCode": "response-optional-property-added",
"backwardCompatible": true
},
{
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
"changeCode": "response-optional-property-removed",
"backwardCompatible": true
},
{
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
"changeCode": "response-optional-property-became-read-only",
"backwardCompatible": true,
"hideFromChangelog": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
"httpMethod": "PATCH",
"operationId": "updateCluster",
"tag": "Clusters",
"changes": [
{
"change": "the 'replicationSpecs/items/numShards' request property's min was set to '1.00'",
"changeCode": "request-property-min-set",
"backwardCompatible": true
},
{
"change": "the request optional property 'mongoDBVersion' became read-only",
"changeCode": "request-optional-property-became-read-only",
"backwardCompatible": true
},
{
"change": "the request optional property 'replicationSpecs/items/id' became read-only",
"changeCode": "request-optional-property-became-read-only",
"backwardCompatible": true
},
{
"change": "the 'backupEnabled' request property default value 'false' was added",
"changeCode": "request-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' request property default value '1.00' was removed",
"changeCode": "request-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "the 'backupEnabled' response's property default value 'false' was added",
"changeCode": "response-property-default-value-added",
"backwardCompatible": true
},
{
"change": "the 'numShards' response's property default value '1.00' was removed",
"changeCode": "response-property-default-value-removed",
"backwardCompatible": true
},
{
"change": "added the optional property 'replicationSpecs/items/regionConfigs' to the response",
"changeCode": "response-optional-property-added",
"backwardCompatible": true
},
{
"change": "removed the optional properties 'autoScaling, mongoURI, mongoURIUpdated, mongoURIWithOptions, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig, srvAddress' from the response",
"changeCode": "response-optional-property-removed",
"backwardCompatible": true
},
{
"change": "removed the request properties 'autoScaling, numShards, providerBackupEnabled, providerSettings, replicationFactor, replicationSpec, replicationSpecs/items/regionsConfig'",
"changeCode": "request-property-removed",
"backwardCompatible": true
},
{
"change": "added the new optional request property 'replicationSpecs/items/regionConfigs'",
"changeCode": "new-optional-request-property",
"backwardCompatible": true
},
{
"change": "the response optional properties 'mongoDBVersion, replicationSpecs/items/id' became read-only",
"changeCode": "response-optional-property-became-read-only",
"backwardCompatible": true,
"hideFromChangelog": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams",
"httpMethod": "GET",
"operationId": "listStreamInstances",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams",
"httpMethod": "POST",
"operationId": "createStreamInstance",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
"httpMethod": "DELETE",
"operationId": "deleteStreamInstance",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
"httpMethod": "GET",
"operationId": "getStreamInstance",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}",
"httpMethod": "PATCH",
"operationId": "updateStreamInstance",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs",
"httpMethod": "GET",
"operationId": "downloadStreamTenantAuditLogs",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections",
"httpMethod": "GET",
"operationId": "listStreamConnections",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections",
"httpMethod": "POST",
"operationId": "createStreamConnection",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
"httpMethod": "DELETE",
"operationId": "deleteStreamConnection",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
"httpMethod": "GET",
"operationId": "getStreamConnection",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
},
{
"path": "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}",
"httpMethod": "PATCH",
"operationId": "updateStreamConnection",
"tag": "Streams",
"changes": [
{
"change": "endpoint added",
"changeCode": "endpoint-added",
"backwardCompatible": true
}
]
}
]
Loading

0 comments on commit 32d70fe

Please sign in to comment.