Skip to content

Commit

Permalink
Merge pull request #62 from equinix-labs/sync/gh-1733731564
Browse files Browse the repository at this point in the history
Version fabric to 4.18 API Spec Sync by GitHub Action (2024-12-09)
  • Loading branch information
tutkat authored Dec 10, 2024
2 parents 014f6bc + e6e29f2 commit a615a52
Show file tree
Hide file tree
Showing 190 changed files with 49,307 additions and 15,754 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CRI:=docker # nerdctl
OPENAPI_CODEGEN_TAG=v6.4.0
OPENAPI_CODEGEN_IMAGE=openapitools/openapi-generator-cli:${OPENAPI_CODEGEN_TAG}
DOCKER_OPENAPI=${CRI} run --rm -u ${CURRENT_UID}:${CURRENT_GID} -v $(CURDIR):/local ${OPENAPI_CODEGEN_IMAGE}
OPENAPI_URL="https://app.swaggerhub.com/apiproxy/registry/equinix-api/fabric/4.17"
OPENAPI_URL="https://app.swaggerhub.com/apiproxy/registry/equinix-api/fabric/4.18"

generate: clean fetch pre-spec-patch pull docker_generate build_client

Expand Down
2 changes: 1 addition & 1 deletion equinix-openapi-fabric-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<dependency>
<groupId>com.equinix</groupId>
<artifactId>equinix-openapi-fabric</artifactId>
<version>0.5.0</version>
<version>0.10.0</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public static CloudRouter createRouter() throws ApiException {
.project(new Project().projectId(user.getProjectId()))
.account(new SimplifiedAccount().accountNumber(Long.valueOf(user.getAccountNumber())));

CloudRouter cloudRouter = cloudRoutersApi.createCloudRouter(cloudRouterPostRequest);
CloudRouter cloudRouter = cloudRoutersApi.createCloudRouter(cloudRouterPostRequest, false);

users.get(getCurrentUser()).getUserResources().addCloudRouterUuid(cloudRouter.getUuid());
assertEquals(200, cloudRoutersApi.getApiClient().getStatusCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void createConnectionVdColo() throws ApiException {
.type(LinkProtocolType.DOT1Q)
.vlanTag(vlanTag))));

connection = connectionsApi.createConnection(connectionPostRequest);
connection = connectionsApi.createConnection(connectionPostRequest, false);

if (connectionsApi.getApiClient().getStatusCode() == 201) {
break;
Expand Down Expand Up @@ -197,7 +197,7 @@ public static Connection createConnectionFCR2ToPort() throws ApiException {
.type(LinkProtocolType.DOT1Q)
.vlanTag(tag))));

connection = connectionsApi.createConnection(connectionPostRequest);
connection = connectionsApi.createConnection(connectionPostRequest, false);

if (connectionsApi.getApiClient().getStatusCode() == 201) {
break;
Expand Down Expand Up @@ -257,7 +257,7 @@ public static Connection createPort2SpConnection() throws ApiException {
.vlanSTag(sTag)
.vlanCTag(cTag))));

connection = connectionsApi.createConnection(connectionPostRequest);
connection = connectionsApi.createConnection(connectionPostRequest, false);

if (connectionsApi.getApiClient().getStatusCode() == 201) {
break;
Expand Down Expand Up @@ -333,7 +333,7 @@ public static Connection createPort2Port() throws ApiException {
.type(LinkProtocolType.DOT1Q)
.vlanTag(tagZside))));

connection = connectionsApi.createConnection(connectionPostRequest);
connection = connectionsApi.createConnection(connectionPostRequest, false);

if (connectionsApi.getApiClient().getStatusCode() == 201) {
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Network createNetwork() throws ApiException {
.notifications(singletonList(new SimplifiedNotification()
.type(SimplifiedNotification.TypeEnum.ALL).emails(singletonList("[email protected]"))));

Network network = networksApi.createNetwork(networkPostRequest);
Network network = networksApi.createNetwork(networkPostRequest, false);
assertEquals(201, networksApi.getApiClient().getStatusCode());

for (int i = 0; i < 5; i++) {
Expand Down
111 changes: 111 additions & 0 deletions equinix-openapi-fabric/.openapi-generator/FILES

Large diffs are not rendered by default.

93 changes: 75 additions & 18 deletions equinix-openapi-fabric/README.md

Large diffs are not rendered by default.

Loading

0 comments on commit a615a52

Please sign in to comment.