Skip to content

Commit

Permalink
update data services, add opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Oren committed Jun 1, 2023
1 parent 88cb916 commit 5c4132e
Show file tree
Hide file tree
Showing 19 changed files with 842 additions and 3,630 deletions.
2 changes: 1 addition & 1 deletion examples/elasticsearch/offerings.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func main() {
ctx := context.Background()
c := stackit.MustNewClientWithKeyAuth(ctx)

res, err := c.ElasticSearch.Offerings.Get(ctx, "my-project-id")
res, err := c.ElasticSearch.Offerings.List(ctx, "my-project-id")
if err = validate.Response(res, err, "JSON200"); err != nil {
panic(err)
}
Expand Down
28 changes: 14 additions & 14 deletions internal/config/data-services/v1.0/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,31 @@ tidy:
with: ID
all: true
- replace: Instance
with:
prefix: true
- replace: CredentialsGet
with: List
with:
prefix: true
- replace: Credentials
with:
with:
prefix: true
- replace: CredentialGet
with: Get
with: GetCredentialByID
prefix: true
- replace: Offerings
with:
- replace: BackupsGet
with: GetBackups
prefix: true
- replace: MetricsGet
with: GetMetrics
prefix: true
- replace: OfferingsGet
with: List
prefix: true
params:
- replace: Id
with: ID
all: true
- replace: credentialsID
with: credentialID
all: true
schemas:
- replace: Id
with: ID
all: true
- replace: Cf
with: CF
prefix: true
- replace: Guid
with: GUID
all: true
Loading

0 comments on commit 5c4132e

Please sign in to comment.