From f497c43cea2b831cc125614f28e2bbdb47641008 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Aug 2025 11:55:15 +0000 Subject: [PATCH 1/2] fix(deps): update dependency org.apache.commons:commons-lang3 to v3.18.0 [security] --- equinix-openapi-fabric/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equinix-openapi-fabric/build.gradle b/equinix-openapi-fabric/build.gradle index 560ab00..5f31470 100644 --- a/equinix-openapi-fabric/build.gradle +++ b/equinix-openapi-fabric/build.gradle @@ -115,7 +115,7 @@ dependencies { implementation 'javax.ws.rs:jsr311-api:1.1.1' implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' implementation 'org.openapitools:jackson-databind-nullable:0.2.4' - implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' + implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' testImplementation 'org.mockito:mockito-core:3.12.4' From f9ab9310a8a68e16d4e734a99e15cab62dd3ed75 Mon Sep 17 00:00:00 2001 From: "equinix-labs@auto-commit-workflow" Date: Sun, 3 Aug 2025 11:55:37 +0000 Subject: [PATCH 2/2] Auto commit generated client changes - Sun Aug 3 11:55:37 UTC 2025 --- equinix-openapi-fabric/README.md | 3 +- equinix-openapi-fabric/api/openapi.yaml | 706 +----------------- equinix-openapi-fabric/build.gradle | 2 +- equinix-openapi-fabric/docs/PortsApi.md | 68 -- .../openapi/fabric/v4/api/PortsApi.java | 125 ---- spec/fetched.openapi.yaml | 31 +- spec/patched.openapi.yaml | 31 +- 7 files changed, 13 insertions(+), 953 deletions(-) diff --git a/equinix-openapi-fabric/README.md b/equinix-openapi-fabric/README.md index ae5483b..8b6678e 100644 --- a/equinix-openapi-fabric/README.md +++ b/equinix-openapi-fabric/README.md @@ -3,7 +3,7 @@ Equinix Fabric API v4 - API version: 4.22 -Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
+Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
For more information, please visit [https://docs.equinix.com/api-support.htm](https://docs.equinix.com/api-support.htm) @@ -168,7 +168,6 @@ Class | Method | HTTP request | Description *NetworksApi* | [**searchNetworks**](docs/NetworksApi.md#searchNetworks) | **POST** /fabric/v4/networks/search | Search Network *NetworksApi* | [**updateNetworkByUuid**](docs/NetworksApi.md#updateNetworkByUuid) | **PATCH** /fabric/v4/networks/{networkId} | Update Network By ID *PortsApi* | [**addToLag**](docs/PortsApi.md#addToLag) | **POST** /fabric/v4/ports/{portId}/physicalPorts/bulk | Add to Lag -*PortsApi* | [**createBulkPort**](docs/PortsApi.md#createBulkPort) | **POST** /fabric/v4/ports/bulk | Create Port *PortsApi* | [**createPort**](docs/PortsApi.md#createPort) | **POST** /fabric/v4/ports | Create Port *PortsApi* | [**deletePort**](docs/PortsApi.md#deletePort) | **DELETE** /fabric/v4/ports/{portId} | Delete a single port *PortsApi* | [**getPortByUuid**](docs/PortsApi.md#getPortByUuid) | **GET** /fabric/v4/ports/{portId} | Get Port by uuid diff --git a/equinix-openapi-fabric/api/openapi.yaml b/equinix-openapi-fabric/api/openapi.yaml index cc686e2..3befefa 100644 --- a/equinix-openapi-fabric/api/openapi.yaml +++ b/equinix-openapi-fabric/api/openapi.yaml @@ -10,12 +10,12 @@ info: \ network and other service providers.
2. Enterprises - Other Equinix customers,\ \ vendors and partners.
3. Myself - Another customer instance deployed\ \ at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python\ - \ SDK
Equinix Terraform Provider
Fabric Terraform Modules
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
" license: name: Equinix Inc @@ -25,7 +25,7 @@ info: version: "4.22" externalDocs: description: Find more information on Equinix Docs Portal - url: https://docs.equinix.com/en-us/apis/fabric + url: https://docs.equinix.com/fabric/ servers: - description: Equinix Inc url: https://api.equinix.com @@ -4825,38 +4825,6 @@ paths: - Ports x-content-type: application/json x-accepts: application/json - /fabric/v4/ports/bulk: - post: - description: Create Port creates Equinix Fabric? Port. Preview - operationId: createBulkPort - parameters: [] - requestBody: - content: - application/json: - examples: - COLOBulkPort: - $ref: '#/components/examples/COLOBulkPort' - value: null - schema: - $ref: '#/components/schemas/BulkPortRequest' - required: true - responses: - "201": - content: - application/json: - examples: - bulkPortExample: - $ref: '#/components/examples/COLOBulkPortResponse' - value: null - schema: - $ref: '#/components/schemas/BulkPort' - description: Successful operation for COLO Bulk Port - summary: Create Port - tags: - - Ports - x-content-type: application/json - x-accepts: application/json /fabric/v4/ports/{portId}/physicalPorts/bulk: post: description: Add Physical Ports to Virtual Port. Preview @@ -47690,10 +47658,6 @@ components: type: object BulkPortRequest: description: Create bulk port request - example: - data: - - null - - null properties: data: items: @@ -47702,662 +47666,6 @@ components: type: object BulkPort: description: Bulk Port specification - example: - data: - - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - connectivitySourceType: COLO - physicalPortQuantity: 3 - lag: null - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - endCustomer: - isDisclosed: false - name: name - mdmId: mdmId - href: https://openapi-generator.tech - id: 0 - state: null - redundancy: - priority: null - enabled: true - group: group - demarcationPointIbx: demarcationPointIbx - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - settings: - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - bmmrType: SELF - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - package: - code: STANDARD - type: EPL - bandwidth: 0 - tetherIbx: tetherIbx - physicalPorts: - - settings: - errorMessage: errorMessage - packageType: packageType - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - id: 6 - state: null - operation: - operationalStatus: UP - evplVCCount: 5 - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - accessVCCount: 9 - fgVCCount: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - settings: - errorMessage: errorMessage - packageType: packageType - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - id: 6 - state: null - operation: - operationalStatus: UP - evplVCCount: 5 - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - accessVCCount: 9 - fgVCCount: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - change: - data: - op: replace - path: /name - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: PORT_CREATION - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - physicalPortsType: 1000BASE_LX - physicalPortsCount: 5 - name: name - location: - metroName: Amsterdam - metroHref: https://api.equinix.com/fabric/v4/metros/AM - metroCode: AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: null - device: - vcBandwidthMax: 6 - name: name - redundancy: - priority: PRIMARY - group: group - asn: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - connectivitySourceType: COLO - physicalPortQuantity: 3 - lag: null - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - endCustomer: - isDisclosed: false - name: name - mdmId: mdmId - href: https://openapi-generator.tech - id: 0 - state: null - redundancy: - priority: null - enabled: true - group: group - demarcationPointIbx: demarcationPointIbx - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - settings: - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - bmmrType: SELF - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - package: - code: STANDARD - type: EPL - bandwidth: 0 - tetherIbx: tetherIbx - physicalPorts: - - settings: - errorMessage: errorMessage - packageType: packageType - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - id: 6 - state: null - operation: - operationalStatus: UP - evplVCCount: 5 - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - accessVCCount: 9 - fgVCCount: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - settings: - errorMessage: errorMessage - packageType: packageType - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interface: - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - id: 6 - state: null - operation: - operationalStatus: UP - evplVCCount: 5 - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - accessVCCount: 9 - fgVCCount: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: EXEMPTION - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - change: - data: - op: replace - path: /name - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: PORT_CREATION - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - physicalPortsType: 1000BASE_LX - physicalPortsCount: 5 - name: name - location: - metroName: Amsterdam - metroHref: https://api.equinix.com/fabric/v4/metros/AM - metroCode: AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: null - device: - vcBandwidthMax: 6 - name: name - redundancy: - priority: PRIMARY - group: group - asn: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 5 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 6 - globalCustId: globalCustId - orgId: 1 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION properties: data: description: Ports that are part of BulkPort diff --git a/equinix-openapi-fabric/build.gradle b/equinix-openapi-fabric/build.gradle index 5f31470..560ab00 100644 --- a/equinix-openapi-fabric/build.gradle +++ b/equinix-openapi-fabric/build.gradle @@ -115,7 +115,7 @@ dependencies { implementation 'javax.ws.rs:jsr311-api:1.1.1' implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1' implementation 'org.openapitools:jackson-databind-nullable:0.2.4' - implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.18.0' + implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' testImplementation 'org.mockito:mockito-core:3.12.4' diff --git a/equinix-openapi-fabric/docs/PortsApi.md b/equinix-openapi-fabric/docs/PortsApi.md index fc1e220..28a7e72 100644 --- a/equinix-openapi-fabric/docs/PortsApi.md +++ b/equinix-openapi-fabric/docs/PortsApi.md @@ -5,7 +5,6 @@ All URIs are relative to *https://api.equinix.com* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**addToLag**](PortsApi.md#addToLag) | **POST** /fabric/v4/ports/{portId}/physicalPorts/bulk | Add to Lag | -| [**createBulkPort**](PortsApi.md#createBulkPort) | **POST** /fabric/v4/ports/bulk | Create Port | | [**createPort**](PortsApi.md#createPort) | **POST** /fabric/v4/ports | Create Port | | [**deletePort**](PortsApi.md#deletePort) | **DELETE** /fabric/v4/ports/{portId} | Delete a single port | | [**getPortByUuid**](PortsApi.md#getPortByUuid) | **GET** /fabric/v4/ports/{portId} | Get Port by uuid | @@ -87,73 +86,6 @@ public class Example { | **404** | Not Found | - | | **500** | Internal server error | - | - -# **createBulkPort** -> BulkPort createBulkPort(bulkPortRequest) - -Create Port - -Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - -### Example -```java -// Import classes: -import com.equinix.openapi.fabric.ApiClient; -import com.equinix.openapi.fabric.ApiException; -import com.equinix.openapi.fabric.Configuration; -import com.equinix.openapi.fabric.auth.*; -import com.equinix.openapi.fabric.models.*; -import com.equinix.openapi.fabric.v4.api.PortsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.equinix.com"); - - // Configure HTTP bearer authorization: BearerAuth - HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); - BearerAuth.setBearerToken("BEARER TOKEN"); - - PortsApi apiInstance = new PortsApi(defaultClient); - BulkPortRequest bulkPortRequest = new BulkPortRequest(); // BulkPortRequest | - try { - BulkPort result = apiInstance.createBulkPort(bulkPortRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PortsApi#createBulkPort"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **bulkPortRequest** | [**BulkPortRequest**](BulkPortRequest.md)| | | - -### Return type - -[**BulkPort**](BulkPort.md) - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **201** | Successful operation for COLO Bulk Port | - | - # **createPort** > Port createPort(portRequest) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java index 4aeec0e..313fbf8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java @@ -28,8 +28,6 @@ import com.equinix.openapi.fabric.v4.model.AllPhysicalPortsResponse; import com.equinix.openapi.fabric.v4.model.AllPortsResponse; import com.equinix.openapi.fabric.v4.model.BulkPhysicalPort; -import com.equinix.openapi.fabric.v4.model.BulkPort; -import com.equinix.openapi.fabric.v4.model.BulkPortRequest; import com.equinix.openapi.fabric.v4.model.Error; import com.equinix.openapi.fabric.v4.model.LinkProtocolGetResponse; import com.equinix.openapi.fabric.v4.model.Port; @@ -227,129 +225,6 @@ public okhttp3.Call addToLagAsync(UUID portId, BulkPhysicalPort bulkPhysicalPort localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - /** - * Build call for createBulkPort - * @param bulkPortRequest (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - -
Status Code Description Response Headers
201 Successful operation for COLO Bulk Port -
- */ - public okhttp3.Call createBulkPortCall(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = bulkPortRequest; - - // create path and map variables - String localVarPath = "/fabric/v4/ports/bulk"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] { "BearerAuth" }; - return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createBulkPortValidateBeforeCall(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'bulkPortRequest' is set - if (bulkPortRequest == null) { - throw new ApiException("Missing the required parameter 'bulkPortRequest' when calling createBulkPort(Async)"); - } - - return createBulkPortCall(bulkPortRequest, _callback); - - } - - /** - * Create Port - * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPortRequest (required) - * @return BulkPort - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
201 Successful operation for COLO Bulk Port -
- */ - public BulkPort createBulkPort(BulkPortRequest bulkPortRequest) throws ApiException { - ApiResponse localVarResp = createBulkPortWithHttpInfo(bulkPortRequest); - return localVarResp.getData(); - } - - /** - * Create Port - * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPortRequest (required) - * @return ApiResponse<BulkPort> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
201 Successful operation for COLO Bulk Port -
- */ - public ApiResponse createBulkPortWithHttpInfo(BulkPortRequest bulkPortRequest) throws ApiException { - okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPortRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Create Port (asynchronously) - * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPortRequest (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - -
Status Code Description Response Headers
201 Successful operation for COLO Bulk Port -
- */ - public okhttp3.Call createBulkPortAsync(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPortRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } /** * Build call for createPort * @param portRequest (required) diff --git a/spec/fetched.openapi.yaml b/spec/fetched.openapi.yaml index cb59547..7103b96 100644 --- a/spec/fetched.openapi.yaml +++ b/spec/fetched.openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Equinix Fabric API v4 - description: 'Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
' + description: 'Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
' termsOfService: https://www.equinix.com/about/legal/terms contact: name: Equinix API Support @@ -12,7 +12,7 @@ info: version: "4.22" externalDocs: description: Find more information on Equinix Docs Portal - url: https://docs.equinix.com/en-us/apis/fabric + url: https://docs.equinix.com/fabric/ servers: - url: https://api.equinix.com description: Equinix Inc @@ -3982,33 +3982,6 @@ paths: examples: example: $ref: "#/components/examples/port-500" - /fabric/v4/ports/bulk: - post: - tags: - - Ports - summary: Create Port - description: Create Port creates Equinix Fabric? Port. Preview - operationId: createBulkPort - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/BulkPortRequest" - examples: - COLOBulkPort: - $ref: "#/components/examples/COLOBulkPort" - required: true - responses: - "201": - description: Successful operation for COLO Bulk Port - content: - application/json: - schema: - $ref: "#/components/schemas/BulkPort" - examples: - bulkPortExample: - $ref: "#/components/examples/COLOBulkPortResponse" "/fabric/v4/ports/{portId}/physicalPorts/bulk": post: tags: diff --git a/spec/patched.openapi.yaml b/spec/patched.openapi.yaml index 5920af5..42d6403 100644 --- a/spec/patched.openapi.yaml +++ b/spec/patched.openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Equinix Fabric API v4 - description: 'Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
' + description: 'Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
' termsOfService: https://www.equinix.com/about/legal/terms contact: name: Equinix API Support @@ -12,7 +12,7 @@ info: version: "4.22" externalDocs: description: Find more information on Equinix Docs Portal - url: https://docs.equinix.com/en-us/apis/fabric + url: https://docs.equinix.com/fabric/ servers: - url: https://api.equinix.com description: Equinix Inc @@ -3982,33 +3982,6 @@ paths: examples: example: $ref: "#/components/examples/port-500" - /fabric/v4/ports/bulk: - post: - tags: - - Ports - summary: Create Port - description: Create Port creates Equinix Fabric? Port. Preview - operationId: createBulkPort - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/BulkPortRequest" - examples: - COLOBulkPort: - $ref: "#/components/examples/COLOBulkPort" - required: true - responses: - "201": - description: Successful operation for COLO Bulk Port - content: - application/json: - schema: - $ref: "#/components/schemas/BulkPort" - examples: - bulkPortExample: - $ref: "#/components/examples/COLOBulkPortResponse" "/fabric/v4/ports/{portId}/physicalPorts/bulk": post: tags: