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

Version fabric to 4.18 API Spec Sync by GitHub Action (2024-12-09) #62

Merged
merged 7 commits into from
Dec 10, 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 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
Loading