cloud-sdk-go

APACHE-2.0 License

Stars
21
Committers
31

Bot releases are visible (Hide)

cloud-sdk-go - v1.3.0 - ECE 2.9.0

Published by marclop over 3 years ago

Changelog

Breaking changes

Removes pkg/logging package and sub-packages

Removes the unused pkg/logging package and sub-packages.

Notable changes

New APIs

Add pkg/api/commentapi package

This new API allows consumers to CRUD comments on various Elastic Cloud platform resources.

Add pkg/api/deploymentapi/extensionapi.Upload function

Bug fixes

Updates the plan.Track function to fail more reliably.

Updates the plan tracking functions of the pkg/plan package to only fail when
the plan has actually finished with a failure, instead of returning errors from
in other steps of the plan.

Fix pkg/api/deploymentapi/trafficfilterapi EntityID parameter validation

Fixes a small bug where the EntityID was never validated.

Docs

Adds pkg.go.dev badge to readme

Adds a badge pointing to the pkg.go.dev reference for the SDK.

Detailed changes

  • db147e9 deploymentapi: Add OverrideCreateOrUpdateRequest (#302)
  • d40076b fix(deps): update module github.com/go-openapi/runtime to v0.19.27 (#308)
  • 8d7cf19 trafficfilterapi: Fix bug in validation (#304)
  • ef9cbed align create comment operation validation messages (#305)
  • 80a550f implements comment update operation (#307)
  • 21bfe85 implement comment delete operation (#306)
  • b2e2902 implement comment list operation (#303)
  • e1d73ba implements the comment get api operation (#301)
  • 50825d4 extansionapi: Add validation on required fields (#299)
  • 61252b4 implements the comment create api operation (#300)
  • 7ad7338 [extensionapi] Adds a new upload API (#298)
  • 3b0601a Add Go reference badge to readme (#297)
  • 712598d fix(deps): update module github.com/hashicorp/go-multierror to v1.1.1 (#296)
  • d93477b plan tracker: fix missed plan error on fast plan completion (#295)
  • 2f1ce00 chore: Update Go and dependency versions (#293)
  • b20b77e Update swagger generator to v0.26.1 (#294)
  • 9b1e5b5 plan tracker: Update failure modes (#292)
  • 72465a0 removes logging package (#289)
  • 6f7b991 chore(deps): update golang docker tag to v1.16 (#290)
  • a6982b3 version: bump swagger spec and code to 2.9.0 (#285)
  • 0829d4f chore(deps): update module spf13/cobra to v1.1.3 (#288)
cloud-sdk-go - v1.2.0 - ECE 2.8.0

Published by karencfv over 3 years ago

Changelog

Breaking changes

multierror.Prefixed errors are now sorted and concurrently safe.

Previously, multierror.Prefixed returned the errors in the order they were added,
to counter potential ordering issues and to consistently return the same output, the
errors are sorted before they are returned as a string in Error().

Additionally, the structure has been made concurrently safe.

Notable changes

New APIs

Update auto-generated models and APIs to ECE 2.8.0.

Updated the swagger specification and auto-generated models and APIs to ECE 2.8.0.

Bug fixes

stackapi.List returns the versions properly sorted

Properly sorts stackapi.List() via semver.

depresourceapi.NewElasticsearch() processes plugins list

The list of plugins was being ignored, it is now considered.

Docs

Fix broken README example

Fixed the broken README example.

Detailed changes

  • 1909a38 deploymentapi: Fix excluded plugins (#279)
  • 5e1acca chore(deps): update module go-openapi/validate to v0.20.2 (#284)
  • 15a183a chore(deps): update module go-openapi/spec to v0.20.3 (#282)
  • 9ca8b1d chore(deps): update module go-openapi/errors to v0.20.0 (#283)
  • c9f27b9 chore(deps): update module go-openapi/swag to v0.19.14 (#281)
  • 5aff36f multierror: Make concurrently safe and sort errors (#277)
  • dd6267c chore(deps): update module go-openapi/spec to v0.20.2 (#276)
  • 2a3d5d7 chore(deps): update module go-openapi/runtime to v0.19.26 (#274)
  • 57675ae chore(deps): update go-openapi packages (#273)
  • 6d81dc0 chore(deps): update module stretchr/testify to v1.7.0 (#272)
  • 1547ae0 chore(deps): update module mitchellh/mapstructure to v1.4.1 (#271)
  • b1d6487 doc: Fixes broken readme example (#270)
  • 507cc61 deploymentapi: Add new CRUD APIs for extensions (#269)
  • 6a64811 api: Update swagger declaration to ECE 2.8.0(MS49) (#268)
  • 2e360ce deploymentapi: Parse memory_per_node as well (#267)
  • 9dce3d5 Adds a cmd util function to check if none or both flags are used (#266)
  • fa5926f stack: Fix version sorting algorithm (#265)
  • 72fd49d deploymentapi: Fix update payload (#264)
  • 98a640e adds a function to create an int pointer from an int (#261)
  • 7444fc4 chore(deps): update go-openapi packages to v0.20.0 (#260)
  • 1bb132e apierror: Add new Error type with Unwrap methods (#258)
  • 1aa8a65 deploymentapi: Add observability settings to NewUpdateRequest (#249)
  • 1ca3547 adds a few StringSlice receiver methods (#257)
  • 95d0493 chore(deps): update go-openapi packages to v0.19.15 (#255)
  • bfd0a5b chore(deps): update module mitchellh/mapstructure to v1.4.0 (#254)
  • 7d62977 chore(deps): update module go-openapi/errors to v0.19.9 (#253)
  • 147cfad chore(deps): update go-openapi packages to v0.19.14 (#251)
  • 9f3ce57 chore(deps): update go-openapi packages (#250)
  • 224e5fe chore(deps): update go-openapi packages (#248)
  • 9419fb2 api: Update apidocs and generated code to MS48 (#247)
cloud-sdk-go - v1.1.0 - ECE 2.7.0

Published by karencfv almost 4 years ago

Changelog

Breaking changes

Removed AsList workaround for deptemplateapi

As the bug with the GET deployments/template/{template_id} endpoint for
ESS users has been fixed, we no longer need to use the AsList field when
calling it.

Notable changes

New APIs

Traffic filtering APIs

The CRUD and association traffic filtering APIs have been
implemented. They can be found in the new trafficfilterapi
package.

Reset Elasticsearch password

The new ResetElasticsearchPassword API resets a deployment's
Elasticsearch password and returns the username and password. This new
API can be found within the depresourceapi package.

Elasticsearch remote clusters APIs

Both Get() and Update() APIs have been added for the remote
clusters APIs, which power ESS Cross Cluster Search assignments.

Deployment migrate API

Added a new Migrate() API to the deploymentapi package.
This new API returns a deployment update request that would
transform this deployment from its template to the provided one.

Changes to existing APIs

JSON formatted errors for vacate APIs

Introduces a series of changes which allow allocator.Vacate() to
return a multierror which can serialize the errors to JSON format.

To do so, multiple changes have been made throughout multiple packages,
providing building blocks for other APIs to leverage these, or use on-
demand.

multierror.WithFormat(): modifies a multierror.Prefixed or Hashicorp
multierror.Error format functions which instead of formatting with a
"text" format, return a JSON formatted string.

apierror.JSONError{}: wrapping any string with this type, will make
it compatible to json.Marshal-ed. A apierror.NewJSONError() function
is provided for convenience too, allowing errors to be wrapped in the type.

plan.StreamJSON: has been fixed to return the final error result in
JSON formatted form.

plan: Legacy format has now been removed since it's no longer used.

allocatorapi.VacateError: now used for most of the returned vacate
errors since it supports both text and JSON formats.

New field for parameters struct in allocatorapi

A new Size parameter has been added to ListParams in theallocatorapi
package, which allows users to obtain more than the default 100 allocator size.

Legacy plan conversion

A new optional boolean to deploymentapi.Get() which allows users
to optionally convert the legacy plan format to the current format.

Fail fast parameter for the sync/pool package

New FailFast parameter to pool.Params which allows consumers to
toggle a new pool behavior where the pool will gracefully stop when one of
the workers returns with an error. This will stop processing any additional
work but try to continue processing the work that's in-flight or cancel the
execution when the params.Timeout.Stop time.Duration is exceeded.

New CustomTransport unifying RoundTripper(s)

Added a new implementation of http.RoundTripper which aims to unify all
existing segregated RoundTrippers which have been marked as deprecated.

Additionally, adding support to configurable retries on request timeout
through two new api.Config fields: Retries and RetryBackoff.

To keep backwards compatibility, the retries are opt-in even though they
would improve the resilience of the SDK. They can always be made opt-out
in the future if we deem it necessary.

Detailed changes

  • 84da41c deploymentapi: New Migrate API for the deployment migrate endpoint (#242)
  • 5d1859d deptemplateapi: Remove workaround for the deployment template get API (#241)
  • 15cf01d deps: update apidocs to 2.7.0-ms47 (#239)
  • 82f507e chore(deps): update module fatih/color to v1.10.0 (#240)
  • fc45532 chore(deps): update go-openapi packages (#238)
  • 6271dcf godoc: Improve the pkg/api documentation (#237)
  • 4126802 chore(deps): update go-openapi packages (#236)
  • 171d06d api: Correct all timeout values for retries (#235)
  • 087522c chore(deps): update actions/setup-go action to v2 (#234)
  • dbdc850 chore(deps): update actions/checkout action to v2 (#233)
  • aab3d3e chore(deps): update actions/cache action to v2 (#232)
  • 13f03d9 http: Retry on net.Error.Timeout() == true (#231)
  • cd6137f chore(deps): update go-openapi packages (#230)
  • 9bf7939 transport: Fix retries logic when enabled (#228)
  • cbe04a0 chore(deps): update module spf13/cobra to v1.1.1 (#229)
  • b355a49 esremoteclustersapi: Add Get and Update functions (#227)
  • 75adab0 chore(deps): update module spf13/cobra to v1.1.0 (#225)
  • 0a671aa transport: Adds another patch to unwrap the error (#226)
  • cc989e6 chore(deps): update module go-openapi/strfmt to v0.19.6 (#223)
  • 6fc0976 allocatorapi: Fix incorrect json error formatting (#222)
  • 1840b0b api: Add CustomTransport unifying RoundTripper(s) (#220)
  • 20bba40 apivalidation: Set workflow to Go 1.14 (#218)
  • fc4e5b0 actions: Add scheduled api-validation job (#217)
  • 77b2092 sync/pool: Add FailFast parameter, stopping on err (#216)
  • 02b25ee Add latest apidocs.json after ms-46 update (#215)
  • 3562493 chore(deps): update module go-openapi/runtime to v0.19.22 (#214)
  • d7edeef chore(deps): update go-openapi packages (#213)
  • f64aee7 notes: Update changelog gen and add v1.0.1 log (#212)
  • 2263d5a go: Update to go 1.15 (#211)
  • c1fb5ed deploymentapi: Add ConvertLegacyPlans to Get (#209)
  • ca3be2f depresourceapi: Add Reset elasticsearch password (#206)
  • fda3aed allocatorapi: Add ListParams field comments (#207)
  • 47c25dd chore(deps): update github.com/asaskevich/govalidator commit hash to 7a23bdc (#208)
  • 9b118e6 allocatorapi: Add Size parameter to ListParams (#205)
  • 9b1e215 error: Add JSON formatted errors for vacate APIs (#186)
  • 92c4226 trafficfilterapi: Add CRUD and association APIs (#204)
  • 87ce727 swagger: Update definition to MS45 spec (#203)
  • ef73f71 Update semver import path (#201)
  • 32d7e33 api: Add missing Create response on traffic rule assoc (#200)
  • 5541437 deploymentapi: Add CreateParams struct comments (#187)
  • 34b564b swagger: Update cmd to v0.25.0 (#199)
  • 3f2ae71 Update versions (#188)
  • 1ec3bd8 chore(deps): update module blang/semver to v4 (#197)
  • d2af965 chore(deps): update module spf13/cobra to v1 (#198)
  • 94cfc9f chore(deps): update golang docker tag to v1.14 (#193)
  • 4bb3520 chore(deps): update module mitchellh/mapstructure to v1.3.3 (#196)
  • dae0695 chore(deps): update module hashicorp/go-multierror to v1.1.0 (#195)
  • 3316b15 chore(deps): update github.com/asaskevich/govalidator commit hash to 29e1ff8 (#191)
  • 9f6e4fb chore(deps): update go-openapi packages (#192)
  • 31b8002 deps: Enable Renovate (#189)
cloud-sdk-go - v1.0.1 - ECE 2.6.1

Published by marclop about 4 years ago

Changelog

Minor bug fix release

Bug fixes

Adds the status code of the POST traffic rule association to 201
to match all of the endpoint API responses.

Detailed changes

  • 32d7e33 api: Add missing Create response on traffic rule assoc (#200)
cloud-sdk-go - v1.0.0 - ECE 2.6.0

Published by marclop about 4 years ago

Changelog

Breaking changes

Improved api default values

Changes the constructor behavior of NewAPI and the Config
validation now only accepts an auth.APIKey or *auth.APIKey as the
only valid AuthWriters for the API when the host is set to the ESS host
(https://api.elastic-cloud.com). Also adds a constant: ESSEndpoint.

Adds a new function to the deploymentapi pkg: deploymentapi.RequestID
which will always return a request ID to be
used in deploymentapi.CreateParams. It will either return an auto-
generated string of 64 characters or the string argument which is passed
to the function.

Adds a new package called deploymentsize and a new function:
ParseGb which will parse a string in the format of <size>g, into its
value in megabytes as an int32. Valid examples of parseable sizes are in
0.5g increments, with a minimum accepted size of 0.5g.

Region is no longer a valid api.Config parameter

The Region field on api.Config has been removed from the structure.
Instead of using a global Region parameter, all APIs which require a region
to be specified as a parameter, will expose a Region parameter to be used.

Notable changes

Changes to existing APIs

Added PayloadOverrides to deploymentapi.Update()

Modified the Update function parameters to allow the consumer to specify
a PayloadOverrides which can be used to override nested values in the resources.
Currently supports overrides for Version, Name and Region.

Support redacted authorization headers

Added a new configuration parameter RedactAuth to api.VerboseSettings
when set, will replace the contents of the Authorization header with
[REDACTED].

The default behavior still preserves the original contents of the header.

Support for Enterprise Search on all APIs

Adds support for the enterprise_search resource kind on all APIs, namely:
deployment APIs, allocator vacate APIs and plan tracking functions.

New APIs

Moved all APIs from ecctl to the cloud-sdk-go

Packages previously published a public API through ecctl/pkg/..., have
been move to the cloud-sdk-go, with an api suffix in the package name.

The full list of packages which have been added as part of this change is:

Added a api.WithRegion() function, allowing to set a region per API call

Added a context.Context constructor (api.WithRegion) which creates a
new context with a saved value equal to the passed region. This is meant
to be used in any calls to the auto-generated API which are region-bound
(any /platform APIs).

When using *api.CloudClientRuntime, the path interpolation will take
place without the need to explicitly handle it.

This change allows the *api.API object to be used accross multiple
regions rather than requiring a single instance of that structure per
region.

Bug fixes

API now handles certain API call string fields as "raw JSON"

Adds certain handling of API operation string fields to be handled as raw
JSON fields so that double quotes in said fields aren't escaped by the
runtime, the excluded operations are:

  • set-es-cluster-metadata-raw
  • update-user
  • update-current-user

Testing

Added support for request assertions on unit tests.

Adds the ability to assert certain *http.Request fields which
are sent to the http.RoundTripper on any of the request / reply flows
which are tested and asserted in our unit tests. Since it's an optional
field, it doesn't enforce that field to be set in the mock.Response,
but rather make it optional for those tests where it makes sense to do so.

Added apivalidator testing layer

Added a new apivalidator executable:

  • A CLI running a series of requests based off a specified apidocs file
    (which can be either a local file or downloaded from it's location), against
    a prism API validation proxy, and then returns errors based on discrepancies.

  • A new Makefile with targets to start a prism validation proxy for the public
    API, another to run the validation tests against the proxy, and another to run
    both without having to start a new terminal and killing the server when it finishes.

Additionally, these tests are now run on every make swagger to verify endpoint
availability when new client and models are generated from a swagger spec.

Detailed changes

  • 43417a5 deploymentsize: Fixes a bug in ParseGb() (#183)
  • 7ae1b54 depresourceapi: Change the 'Name' field in ElasticsearchTopologyElement for 'NodeType' (#182)
  • e188910 deploymentapi: Add NewUpdateRequest function (#181)
  • e81a08e deploymentapi: Support List and filter templates (#178)
  • ae68d8e docs: Add cloud-sdk-go specific styleguide (#177)
  • 0fc2167 build(deps): bump github.com/go-openapi/runtime from 0.19.19 to 0.19.20 (#176)
  • 70be0df eskeystoreapi: Implement Deployment Keystore APIs (#175)
  • 08bd5e8 docs: Improve README and CONTRIBUTING docs with updated information (#173)
  • c649b4a depresourceapi: Update resource APIs to use new deployment template endpoint (#174)
  • a17949f deptemplateapi: Add all CRUD APIs (#171)
  • 1dea05b deploymentapi: Support for Enterprise Search and refactor (#170)
  • e84f2de deploymentapi: create refactor and Enterprise Search support (#168)
  • b218e6c apivalidator: Modifies the request builder to take into account required query (#169)
  • eeaf367 apidocs: Update to 2.6.0 and generate client/models (#167)
  • 60f7acf apivalidator: Add empty body to PATCH requests (#166)
  • f1d68b8 api: Update client/models to MS39 (#165)
  • 16b8efa test: introduce CLI/tests for validating API spec against live API and run on 'make swagger' (#163)
  • 74b7134 configurationtemplateapi: Add Format field (#162)
  • 0885acb userapi: Moves user APIs from ecctl (#155)
  • e4bf2e5 stackapi: Move stackapi up one level (#158)
  • bd9a9bf api: Add mock.RoundTripper to transport workflow (#157)
  • 2b4d72f api: Add global route mappings and require region (#156)
  • 4f4cc2a instanceconfigapi: Add region parameter to APIs (#152)
  • a8fd838 allocator vacate: Add enterprise search support (#151)
  • 63de1c4 client/models: Revert to 2.5.0-ms36 (#154)
  • 41bc7ff api: Update API spec and generate client/models ms39 (#150)
  • dd18ac5 proxyapi: Add Region field and WithRegion ctx (#149)
  • 8744064 platformapi: Add region parameter to all APIs (#148)
  • 31d422e filteredgroupapi: Add Region field and WithRegion ctx (#144)
  • 1e53d46 template: Add region parameter to all APIs (#146)
  • c662e41 roleapi: Add Region field and WithRegion ctx (#139)
  • 6982df8 runnerapi: Add Region field and WithRegion ctx (#138)
  • 470a54b enrollmenttokenapi:Add Region param and WithRegion (#137)
  • 9b83405 snaprepoapi: Add Region field and WithRegion ctx (#136)
  • af13daa constructorapi: Add Region param and WithRegion (#135)
  • ecad4ea stackapi: Add Region field and WithRegion ctx (#134)
  • 5771a04 allocatorapi: Add Region param and WithRegion ctx (#133)
  • c2384eb api: Export default mock headers and host (#131)
  • d0ce494 ec: Add ValidateRegionSet ensuring a region is set (#130)
  • d8bc0d1 api: migrate all platform apis from ecctl (#125)
  • d694acb api: Add WithRegion context for region bound calls (#124)
  • 6e12415 api: Add RedactAuth bool option to VerboseSettings (#123)
  • f16056b deploymentsize: change Parse to only accept g (#111)
  • 453072f build(deps): bump github.com/mitchellh/mapstructure from 1.3.1 to 1.3.2 (#126)
  • 008a019 build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#127)
  • a962b80 mock: Add url Query assertion (#122)
  • 0dc94bf api: NewMock now uses NewAPI as the constructor (#120)
  • c272baf build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#119)
  • ce472ea api: transport now handles raw metadata producer (#118)
  • 72b2e08 build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1 (#117)
  • 84bd8e5 mock: Add ability to assert received *http.Request (#116)
  • 5b0f708 build(deps): bump github.com/mitchellh/mapstructure from 1.3.0 to 1.3.1 (#115)
  • 60b0cbb api: Use http.Transport.Clone() for new transports (#114)
  • 99a190e deploymentapi: Allow overrides on Update operation (#113)
  • 45fcfe4 api: Fix transport error on UserAgentTransport (#112)
  • f934e7f ec: Add missing rand unit tests (#108)
  • 6360cad build(deps): bump github.com/go-openapi/spec from 0.19.7 to 0.19.8 (#109)
  • f2bf721 ec: Seed random so randoms actually are random (#107)
  • 9389cc7 api: Add better API defaults and helpers (#106)
  • 02ebae4 plan: Use local multierror.Prefixed as multierror (#104)
  • ad18b90 api: Add deploymentapi and subpackages from ecctl (#105)
  • 1356757 build(deps): bump github.com/mitchellh/mapstructure from 1.2.3 to 1.3.0 (#100)
  • 70af65b api: Move LoginUser from ecctl codebase (#101)
  • f7e06bf misc: update issue template labels (#102)
  • 8730526 build(deps): bump github.com/mitchellh/mapstructure from 1.2.2 to 1.2.3 (#99)
cloud-sdk-go - v1.0.0-beta3 - ECE 2.5.0-ms36

Published by karencfv over 4 years ago

Changelog

Notable changes

Add DecodeFlags to reduce parsing code

Adds a new DecodeFlags function which through reflection and
mapstructure is able to decode a cobra.Command defined flags into a
structure's fields which match the flag's type and mapstructure tag.

Add package with Prefixed error type

Adds a new package under pkg/multierror which is aimed to be used
instead of multierror.Error. The main motivation behind this change is
to enforce a prefix to be used in all of the multierrors which will
provide more context to the error consumers.

Modify transport to handle proxied responses

Modifies the ErrCatchTransport type so that it handles the case when
Content-Type is text/html, the auto-generated client framework won't
be able to handle the proxied responses of that type since they're
contingent on the error response specified by the swagger definition,
thus anything with a Content-Type different than application/json
won't be handled and instead a cryptic error will be returned.

Add change tracker backed by Deployments API

New TrackChange function which uses the deployments
API to track any pending changes of a Deployment. It supports tracking
changes by specifying a DeploymentID or ResourceID and Kind which
is very similar to what the legacy plan tracker did.

Detailed changes

  • e888015 api: generate client/models 2.5.0-ms36 (#97)
  • ca0a676 Fix typo in docs (#96)
  • 4a4eeab build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.2.2 (#90)
  • 7be185a build(deps): bump github.com/go-openapi/validate from 0.19.7 to 0.19.8 (#94)
  • 7acaaaf build(deps): bump github.com/go-openapi/swag from 0.19.8 to 0.19.9 (#93)
  • 0fb44ca cmdutil: Add DecodeFlags to reduce parsing code (#89)
  • ce9de91 deps: revert multierror to 1.0.0 (#87)
  • 84996de build(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0 (#85)
  • 3896c35 build(deps): bump github.com/go-openapi/runtime from 0.19.14 to 0.19.15 (#84)
  • db3c269 build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 (#83)
  • c64d182 misc: update codeowners (#82)
  • f139ce5 multierror: Add package with Prefixed error type (#81)
  • 68879af api: Modify transport to handle Proxied responses (#80)
  • 546ac80 build(deps): bump github.com/go-openapi/runtime from 0.19.12 to 0.19.14 (#79)
  • 240add7 plan: Add change tracker backed by Deployments API (#66)
cloud-sdk-go - v1.0.0-beta2 - ECE 2.5.0

Published by marclop over 4 years ago

Changelog

Notable changes

This release contains bug fixes, version updates, and development improvements.
As usual, the autogenerated Go code has been updated to match the 2.5.0 ECE API swagger specification.

Features

Customizable User-Agent

Allows the user to configure a user agent via api.Config.UserAgent. If the field is not set, it defaults
to cloud-sdk-go/<version>, which after this release will be cloud-sdk-go/2.5.0.

Bug fixes

Plan tracker reported some plans as successfully finished when they actually failed

Fixes a bug in the plan tracker logic which made it return the first
step which finished with status "error" rather than the last step. This
has many downstream effects but most notably, makes vacates miss the end
result of the vacate and potentially flag a cluster vacate as sucessful
when it is not.

Detailed changes

  • ab3e5bc api: Add custom User-Agent transport (#77)
  • e50562a api: Update API version to 2.5.0 (#76)
  • cf2338d release: Update apidocs.json to ECE 2.5.0 spec (#67)
  • aba24d5 build(deps): bump github.com/go-openapi/errors from 0.19.3 to 0.19.4 (#71)
  • 5e422fb build(deps): bump github.com/go-openapi/runtime from 0.19.11 to 0.19.12 (#72)
  • 4808101 build(deps): bump github.com/go-openapi/strfmt from 0.19.4 to 0.19.5 (#73)
  • a564caa build(deps): bump github.com/go-openapi/validate from 0.19.6 to 0.19.7 (#74)
  • 1afc3c4 build(deps): bump github.com/go-openapi/swag from 0.19.7 to 0.19.8 (#70)
  • 834f44b build(deps): bump github.com/go-openapi/spec from 0.19.6 to 0.19.7 (#69)
  • 6bd291d deps: Bump golangci-lint to v1.23.8 (#68)
  • 8877c73 plan: Fix bug where last step error was missed (#65)
  • 5c4b8bd build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6 (#64)
  • 558f37a feat(cmdutil): add resource closer logger. (#63)
  • ab7bbd2 makefile: using caching in deps target (#61)
  • a8c57d3 release: changelog and version tag for v1.0.0-beta1 (#60)
  • 47fe6b9 build(deps): bump github.com/go-openapi/runtime from 0.19.10 to 0.19.11 (#57)
  • 985599c build(deps): bump github.com/go-openapi/spec from 0.19.5 to 0.19.6 (#56)
  • 2ff814b build: Add Go module cache for GitHub actions (#58)
  • 7c191f6 deps: Update swagger to v0.22.0 (#59)
  • 5469f6f release: changelog and version tag for v1.0.0-bc14 (#55)
  • 9c5dfa6 util: copy cmdutil package files that are not specific to ecctl (#54)
  • 513b94d improve logging names and package structure (#50)
  • 122578f build(deps): bump github.com/go-openapi/runtime from 0.19.9 to 0.19.10 (#51)
  • 1657f03 build(deps): bump github.com/go-openapi/swag from 0.19.6 to 0.19.7 (#52)
  • 0c5a8ad build(deps): bump github.com/go-openapi/validate from 0.19.5 to 0.19.6 (#53)
  • aa9fd3c api: /deployment/{id}/notes should use region path (#49)
  • e4a7634 add the soteria logging wrarppers,utils and assertions (#47)
  • 9d1e170 bump golang-ci linter version to 1.22.2 (#48)
cloud-sdk-go - v1.0.0-beta1 - Update swagger import

Published by karencfv over 4 years ago

Updates swagger to v0.22.0

cloud-sdk-go - v1.0.0-bc14 - Add cmdutil package

Published by karencfv over 4 years ago

Introduces a cmdutil package for common utility functions a cli can use

cloud-sdk-go - v1.0.0-bc13

Published by ppapapetrou76 over 4 years ago

cloud-sdk-go - v1.0.0-bc11

Published by ppapapetrou76 almost 5 years ago

cloud-sdk-go - v1.0.0-bc9 - api: Add Timeout duration field to Config

Published by karencfv almost 5 years ago

  • Adds a Timeout field of time.Duration to the api.Config structure, allowing users to set the Timeout value for all API calls.

  • Updates various dependencies to their latest versions.

cloud-sdk-go - api: Add ErrCatchTransport as DefaultTransport (ECE 2.4.2)

Published by marclop almost 5 years ago

Adds a new type ErrCatchTransport which implements http.RoundTripper. Its intended usage is to be used as the Transport for http.Client(s) which want to successfully be able to unwrap all possible errors returned by the autogenerated code from the swagger definition via api.UnwrapError.

cloud-sdk-go - api: Add Version const defining ECE compatibility (ECE 2.4.2)

Published by marclop almost 5 years ago

Adds an api.Version variable which can be used by clients to see which
ECE compatibility version it has.
Also changes the swagger target to automatically open their ${EDITOR}
after the models have been generated.

$ make swagger
[..]
--> Please update "pkg/api/version.go" with the version number of the ECE compatible definition just used for code generation.
-> Press enter to open the file with vim
cloud-sdk-go - Correct POST /deployment status code to 200

Published by marclop almost 5 years ago

cloud-sdk-go - v1.0.0-bc3 - Boolean validation function in util

Published by karencfv almost 5 years ago

cloud-sdk-go - v1.0.0-bc2 - API spec update to ECE 2.4

Published by karencfv about 5 years ago