Skip to content

Commit

Permalink
feat: Update Fabric SDK to API Spec version 4.18 (#84)
Browse files Browse the repository at this point in the history
- Update Fabric API Spec version to 4.17

## Changes in SDK

### Enhancements

**Additional methods->**
- Methods added for Route Aggregation 

- Methods added for Route Aggregation Rules

**Additional models ->**
- Models added for Route Aggregation:
        - Connection Route Aggregation Data

        - Connection Route Aggregation Data Attachment Status

        - Connection Route Aggregation Data Type

        - Get All Connection Route Aggregations Response

        - Get Route Aggregation Get Connections Response

        - Route Aggregation Change Data

        - Route Aggregation Change Data Response

        - Route Aggregation Connections Data

        - Route Aggregation Sort Item

        - Route Aggregation Sort Item Property

        - Route Aggregation State

        - Route Aggregations Base

        - Route Aggregations Base Type

        - Route Aggregations Change

        - Route Aggregations Change Operation

        - Route Aggregations Change Type

        - Route Aggregations Data

        - Route Aggregations Data Project

        - Route Aggregations Patch Request Item

        - Route Aggregations Search Base

        - Route Aggregations Search Base Filter

        - Route Aggregations Search Filter Item

        - Route Aggregations Search Response 


- Models added for Route Aggregation Rules:
        - Get Route Aggregation Rules Response

        - Route Aggregation Rule State

        - Route Aggregation Rules Base

        - Route Aggregation Rules Change

        - Route Aggregation Rules Change Data

        - Route Aggregation Rules Change Data Response

        - Route Aggregation Rules Change Operation

        - Route Aggregation Rules Change Type

        - Route Aggregation Rules Data

        - Route Aggregation Rules Data Type

        - Route Aggregation Rules Patch Request Item

        - Route Aggregation Rules Post Request Item

- Model added for End Customer

- Model added for Precision Time Price

- Model added for Router Filter Base Type

- Model added for Stream Asset Type

- Model added for Stream Subscription Selector

- Models added for Time Service Price



**Method extended->**
- Cloud Routers added DryRun query parameter

- Connections added DryRun query parameter

- Networks added DryRun query parameter

- Service Tokens added DryRun query parameter

**Models extended->**
- Asset added organizations and projects as Asset Values(Enum)
- Connection Post Request added EndCustomer attribute

- Port and Port Request added End Customer attribute

- Precision Time added Pricing attribute

- Price added TimeService attribute

- Price Location added IBX attribute

- Service Token added deprecated attributes Expiry and Issuerside

- Stream Asset added Type attribute

- Stream Subscription, Stream Subscription Post Request and Stream
Subscription Put Request added MetricSelector, EventSelector attributes

- Subscription Response added  MetrocCodes attribute



**Constants added->**
- Asset added ASSET_ORGANIZATIONS and ASSET_PROJECTS

- Geo Scope Type added GEOSCOPETYPE_JAPAN

- Marketplace Subscription added
MARKETPLACESUBSCRIPTIONTYPE_GCP_MARKETPLACE_SUBSCRIPTION and
MARKETPLACESUBSCRIPTIONTYPE_AZURE_MARKETPLACE_SUBSCRIPTION

- Precision Time Service Response added
PRECISIONTIMESERVICERESPONSESTATE_CANCELLING

- Product Type added PRODUCTTYPE_PRECISION_TIME_PRODUCT

- Service Token Connection added SERVICETOKENCONNECTIONTYPE_EPL_VC

### Breaking Changes
 
**Models changed->**

- Conenction Route Filter Data :
ConnectionRouteFilterDataAttachmentStatus changed to
ConnectionRouteAggregationDataAttachmentStatus

- Route Filters Base: ConnectionRouteFilterDataType changed to
RouteFiltersBaseType

- Route Filters Data: ConnectionRouteFilterDataType changed to
RouteFiltersBaseType

- Simplified Location Without IBX: Href renamed to MetroHref
Stream:
Changelog renamed to ChangeLog





**Models Deleted->**
- Cloud Router Package removed StaticIPv4RoutesMax, StaticIPv6RoutesMax,
NaclsMax, NaclRulesMax, HaSupported, NatType attributes

- Cloud Router Package removed Nat Type

- CloudRouter removed BgpIpv4RoutesCount and BgpIpv6RoutesCount 

- Connection Route Filter Data Attachment removed

- Service Token Issuer Side removed

- Subscription Response removed Subscription Key



  • Loading branch information
srushti-patl authored Dec 10, 2024
2 parents b692019 + efac020 commit 2c9e120
Show file tree
Hide file tree
Showing 199 changed files with 36,015 additions and 10,796 deletions.
2 changes: 1 addition & 1 deletion Makefile.fabricv4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include Makefile

PACKAGE_NAME=fabricv4
SPEC_BASE_URL:=https://api.swaggerhub.com/apis/equinix-api/fabric/4.17
SPEC_BASE_URL:=https://api.swaggerhub.com/apis/equinix-api/fabric/4.18
SPEC_ROOT_FILE:=swagger.yaml

CODE_DIR=${CODE_BASE_DIR}/${PACKAGE_NAME}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/equinix/equinix-sdk-go

go 1.19

require github.com/stretchr/testify v1.9.0
require github.com/stretchr/testify v1.10.0

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
102 changes: 82 additions & 20 deletions services/fabricv4/README.md

Large diffs are not rendered by default.

25 changes: 19 additions & 6 deletions services/fabricv4/api_cloud_routers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions services/fabricv4/api_connections.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/fabricv4/api_metros.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions services/fabricv4/api_networks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2c9e120

Please sign in to comment.