Skip to content

Commit

Permalink
back with changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tutkat committed Oct 2, 2024
1 parent 06f857d commit 9615d03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public static boolean waitForConnectionIsInState(String connectionUuid, EquinixS
}

private static void deleteConnection(String uuid) throws ApiException {
for (int i = 0; i < 5; i++) {
for (int i = 0; i < 3; i++) {
connectionsApi.deleteConnectionByUuid(uuid);
boolean isDeleted = waitForConnectionIsInState(uuid, EquinixStatus.DELETED, EquinixStatus.DEPROVISIONED);
if (isDeleted) {
Expand Down
2 changes: 0 additions & 2 deletions templates/Java/libraries/okhttp-gson/JSON.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package {{invokerPackage}};

import com.equinix.openapi.fabric.v4.model.PortDeviceRedundancy;
import com.equinix.openapi.fabric.v4.model.PortEncapsulation;
import com.equinix.openapi.fabric.v4.model.PortPriority;
import com.fasterxml.jackson.databind.util.StdDateFormat;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down Expand Up @@ -165,7 +164,6 @@ public class JSON {
{{/models}}
gsonBuilder.registerTypeAdapter(PortEncapsulation.TypeEnum.class,new UppercaseEnumAdapter());
gsonBuilder.registerTypeAdapter(PortDeviceRedundancy.PriorityEnum.class,new UppercaseEnumAdapter());
gsonBuilder.registerTypeAdapter(PortPriority.class, new UppercaseEnumAdapter());
gson = gsonBuilder.setPrettyPrinting().create();
}

Expand Down

0 comments on commit 9615d03

Please sign in to comment.