Skip to content

Commit

Permalink
chore: updated paths to point to mono repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelahunt committed Dec 12, 2022
1 parent 3307fad commit c33c2b8
Show file tree
Hide file tree
Showing 18 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion app-services-sdk-go/accountmgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/accountmgmt
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/accountmgmt
```


Expand Down
10 changes: 5 additions & 5 deletions app-services-sdk-go/connectormgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Connector Service Fleet Manager is a Rest API to manage connectors.
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/connectormgmt
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/connectormgmt
```

## Usage

### Importing the package

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

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/connectormgmt/apiv1"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/connectormgmt/apiv1"
)
```

Expand Down Expand Up @@ -74,7 +74,7 @@ connectors, _, err := client.DefaultApi.GetConnectors(ctx).Execute()
Checking specific error codes

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"


if errors.IsAPIError(err, connectormgmt.ERROR_4){
Expand All @@ -85,7 +85,7 @@ if errors.IsAPIError(err, connectormgmt.ERROR_4){
Obtaining API error

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"

apiError := errors.GetAPIError(err)
fmt.Println(apiError.Code)
Expand Down
10 changes: 5 additions & 5 deletions app-services-sdk-go/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

### Management SDKs documentation

- [Kafka Management](https://github.com/redhat-developer/app-services-sdk-go/tree/main/kafkamgmt/apiv1)
- [Service Registry Management](https://github.com/redhat-developer/app-services-sdk-go/tree/main/registrymgmt/apiv1)
- [Service Accounts Management](https://github.com/redhat-developer/app-services-sdk-go/tree/main/connectorgmt/apiv1)
- [Kafka Management](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/tree/main/kafkamgmt/apiv1)
- [Service Registry Management](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/tree/main/registrymgmt/apiv1)
- [Service Accounts Management](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/tree/main/connectorgmt/apiv1)

### Service SDKs

- [Kafka Instance Admin](https://github.com/redhat-developer/app-services-sdk-go/tree/main/kafkainstance/apiv1)
- [Service Registry Instance](https://github.com/redhat-developer/app-services-sdk-go/tree/main/registryinstance/apiv1internal)
- [Kafka Instance Admin](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/tree/main/kafkainstance/apiv1)
- [Service Registry Instance](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/tree/main/registryinstance/apiv1internal)

### Additional topics

Expand Down
6 changes: 3 additions & 3 deletions app-services-sdk-go/kafkainstance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ An API to provide REST endpoints for query Kafka for admin operations
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/kafkainstance
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkainstance
```

## Usage

### Importing the package

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

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/kafkainstance/apiv1internal"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkainstance/apiv1internal"
)
```

Expand Down
10 changes: 5 additions & 5 deletions app-services-sdk-go/kafkamgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Kafka Service Fleet Manager is a REST API to manage Kafka instances and connecto
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/kafkamgmt
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkamgmt
```

## Usage

### Importing the package

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

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/kafkamgmt/apiv1"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/kafkamgmt/apiv1"
)
```

Expand Down Expand Up @@ -74,7 +74,7 @@ kafkas, _, err := client.DefaultApi.GetKafkas(ctx).Execute()
Checking specific error codes

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"

if errors.IsAPIError(err, kafkamgmt.ERROR_4){
// Do something
Expand All @@ -84,7 +84,7 @@ if errors.IsAPIError(err, kafkamgmt.ERROR_4){
Obtaining API error

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"

apiError := errors.GetAPIError(err)
fmt.Println(apiError.Code)
Expand Down
6 changes: 3 additions & 3 deletions app-services-sdk-go/registryinstance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Managed Service Registry API Instance API that lets you interact with registry i
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/registryinstance
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registryinstance
```

## Usage

### Importing the package

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

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/registryinstance/apiv1internal"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registryinstance/apiv1internal"
)
```

Expand Down
10 changes: 5 additions & 5 deletions app-services-sdk-go/registrymgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Managed Service Registry API Management API that lets you create new registry in
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/registrymgmt
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt
```

## Usage

### Importing the package

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

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1"
)
```

Expand Down Expand Up @@ -74,7 +74,7 @@ registries, _, err := client.RegistriesApi.GetRegistries(ctx).Execute()
Checking specific error codes

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"

if errors.IsAPIError(err, registrymgmt.ERROR_4){
// Do something
Expand All @@ -84,7 +84,7 @@ if errors.IsAPIError(err, registrymgmt.ERROR_4){
Obtaining API error

```go
import "github.com/redhat-developer/app-services-sdk-go/registrymgmt/apiv1/error"
import "github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/registrymgmt/apiv1/error"

apiError := errors.GetAPIError(err)
fmt.Println(apiError.Code)
Expand Down
6 changes: 3 additions & 3 deletions app-services-sdk-go/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/serviceaccountmgmt
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/serviceaccountmgmt
```

## Usage

### Importing the package

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

```go
package main

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

Expand Down
6 changes: 3 additions & 3 deletions app-services-sdk-go/smarteventsmgmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ Managed Service Registry API Management API that lets you create new registry in
To install the package to your project use `go get`:

```shell
go get github.com/redhat-developer/app-services-sdk-go/smartevents
go get github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/smartevents
```

## Usage

### Importing the package

Import the `github.com/redhat-developer/app-services-sdk-go/smartevents/apiv1alpha` package into your code:
Import the `github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/smartevents/apiv1alpha` package into your code:

```go
package main

import (
"github.com/redhat-developer/app-services-sdk-go/smartevents/apiv1alpha"
"github.com/redhat-developer/app-services-sdk-core/app-services-sdk-go/smartevents/apiv1alpha"
)
```

Expand Down
2 changes: 1 addition & 1 deletion app-services-sdk-js/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ yarn generate

All specifications are kept in `.openapi` folder:

https://github.com/redhat-developer/app-services-sdk-js/tree/main/.openapi
https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/.openapi

## Useful tools

Expand Down
14 changes: 7 additions & 7 deletions app-services-sdk-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,24 @@ npm install -g @rhoas/api-mock
asapi
```

[kafkagit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/kafka-management-sdk
[kafkagit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/kafka-management-sdk
[kafkanpm]: https://www.npmjs.com/package/@rhoas/kafka-management-sdk
[kafkashield]: https://img.shields.io/npm/v/@rhoas/kafka-management-sdk
[sagit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/service-accounts-sdk
[sagit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/service-accounts-sdk
[sanpm]: https://www.npmjs.com/package/@rhoas/service-accounts-sdk
[sashield]: https://img.shields.io/npm/v/@rhoas/service-accounts-sdk
[kinstancegit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/kafka-instance-sdk
[kinstancegit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/kafka-instance-sdk
[kinstancenpm]: https://www.npmjs.com/package/@rhoas/kafka-instance-sdk
[kinstanceshield]: https://img.shields.io/npm/v/@rhoas/kafka-instance-sdk
[srinstancegit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/registry-instance-sdk
[srinstancegit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/registry-instance-sdk
[srinstancenpm]: https://www.npmjs.com/package/@rhoas/registry-instance-sdk
[srinstanceshield]: https://img.shields.io/npm/v/@rhoas/registry-instance-sdk
[registrygit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/registry-management-sdk
[registrygit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/registry-management-sdk
[registrynpm]: https://www.npmjs.com/package/@rhoas/registry-management-sdk
[registryshield]: https://img.shields.io/npm/v/@rhoas/registry-management-sdk
[connectorgit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/connector-management-sdk
[connectorgit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/connector-management-sdk
[connectornpm]: https://www.npmjs.com/package/@rhoas/connector-management-sdk
[connectorshield]: https://img.shields.io/npm/v/@rhoas/connector-management-sdk
[smarteventsgit]: https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/smart-events-management-sdk
[smarteventsgit]: https://github.com/redhat-developer/app-services-sdk-core/tree/main/packages/smart-events-management-sdk
[smarteventsnpm]: https://www.npmjs.com/package/@rhoas/smart-events-management-sdk
[smarteventsshield]: https://img.shields.io/npm/v/@rhoas/smart-events-management-sdk
2 changes: 1 addition & 1 deletion app-services-sdk-js/docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To authenticate to the Instance SDK's we need to create service account
Service account can be created using [RHOAS CLI](https://github.com/redhat-developer/app-services-cli/blob/main/docs/commands/rhoas_serviceaccount_create.adoc) or
by UI (https://cloud.redhat.com) or by using Kafka Management SDK.

For code based access you can also create service account using [ServiceAccount SDK](https://github.com/redhat-developer/app-services-sdk-js/tree/main/packages/kafka-management-sdk )
For code based access you can also create service account using [ServiceAccount SDK](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/packages/kafka-management-sdk )

```ts
serviceAccountAPI.createServiceAccount(...)
Expand Down
2 changes: 1 addition & 1 deletion app-services-sdk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "app-services-sdk-js-monorepo",
"name": "app-services-sdk-js",
"version": "0.2.0-dev1",
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ connectorsApi.getConnector("id", "kafka-id").then((data) => {
```


See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/examples) for full example
2 changes: 1 addition & 1 deletion app-services-sdk-js/packages/kafka-instance-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ kafkaInstance.getTopics().then((data) => {
})
```

See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/examples) for full example

4 changes: 2 additions & 2 deletions app-services-sdk-js/packages/kafka-management-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ kafkaApi
});
```

See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/examples) for full example

### Service Accounts SDK

SDK will help you to create Service Account to Access Kafka and other services

> NOTE: This SDK is currently included into Kafka SDK as Alpha feature. It will be moved out of the SDK in near future.
See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples/src/serviceAccount.ts) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-coreapp-services-sdk-js//tree/main/examples/src/serviceAccount.ts) for full example
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ registryApi.getRegistries().then((data) => {
})
```

See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/examples) for full example



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ serviceAccountAPI.getServiceAccounts().then((data) => {
})
```

See [./examples](https://github.com/redhat-developer/app-services-sdk-js/tree/main/examples) for full example
See [./examples](https://github.com/redhat-developer/app-services-sdk-core/app-services-sdk-js/tree/main/examples) for full example

#### Security

Expand Down

0 comments on commit c33c2b8

Please sign in to comment.