Skip to content

Commit

Permalink
fix: rename service accounts to serviceaccountsmgmt (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki authored Jul 20, 2022
1 parent 7c2f6cc commit 217bf4f
Show file tree
Hide file tree
Showing 31 changed files with 8 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import "github.com/redhat-developer/app-services-sdk-go"
| API | Status | Package |
| :------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| KafkaManagement | beta | [`github.com/redhat-developer/app-services-sdk-go/kafkamgmt/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/kafkamgmt/apiv1) |
| Service Accounts Management | alpha | [`github.com/redhat-developer/app-services-sdk-go/serviceaccounts/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/serviceaccounts/apiv1) |
| Service Account Management | alpha | [`github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt/apiv1) |
| ServiceRegistryManagement | alpha | [`github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1) |
| ConnectorManagement | alpha | [`github.com/redhat-developer/app-services-sdk-go/connectormgmt/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/connectormgmt/apiv1) |

Expand All @@ -39,7 +39,7 @@ import "github.com/redhat-developer/app-services-sdk-go"

| API | Status | Package |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| KafkaInstance | beta | [`github.com/redhat-developer/app-services-sdk-go/kafkainstance/apiv1internal`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/kafkainstance/apiv1internal) |
| KafkaInstance | beta | [`github.com/redhat-developer/app-services-sdk-go/kafkainstance/apiv1`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/kafkainstance/apiv1internal) |
| RegistryInstance | beta | [`github.com/redhat-developer/app-services-sdk-go/registryinstance/apiv1internal`](https://pkg.go.dev/github.com/redhat-developer/app-services-sdk-go/registryinstance/apiv1internal) |


Expand Down
2 changes: 1 addition & 1 deletion scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ generate_sdk $OPENAPI_FILENAME $OUTPUT_PATH $PACKAGE_NAME

OPENAPI_FILENAME=".openapi/service-accounts.yaml"
PACKAGE_NAME="serviceaccountsclient"
OUTPUT_PATH="serviceaccounts/apiv1internal/client"
OUTPUT_PATH="serviceaccountmgmt/apiv1/client"

generate_sdk $OPENAPI_FILENAME $OUTPUT_PATH $PACKAGE_NAME

Expand Down
16 changes: 0 additions & 16 deletions scripts/patch_apis.sh

This file was deleted.

1 change: 1 addition & 0 deletions scripts/templates/.keep
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@

`
6 changes: 3 additions & 3 deletions serviceaccounts/README.md → serviceaccountmgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Service Accounts API allows you to manage credentails for accessing instance SDK
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/serviceaccounts
go get github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt
```

## Usage

### Importing the package

Import the `github.com/redhat-developer/app-services-sdk-go/serviceaccounts/apiv1internal` package into your code:
Import the `github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt/apiv1` package into your code:

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/serviceaccounts/apiv1internal"
"github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt/apiv1"
)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package serviceaccounts
import (
"github.com/redhat-developer/app-services-sdk-go/core"

apiv1 "github.com/redhat-developer/app-services-sdk-go/serviceaccounts/apiv1internal/client"
apiv1 "github.com/redhat-developer/app-services-sdk-go/serviceaccountmgmt/apiv1/client"
)

// Config defines the available configuration options
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 217bf4f

Please sign in to comment.