Skip to content

Commit

Permalink
chore: rename package from micovery to apigee
Browse files Browse the repository at this point in the history
  • Loading branch information
micovery committed Apr 30, 2024
1 parent e5f4b55 commit 5ea10a0
Show file tree
Hide file tree
Showing 57 changed files with 117 additions and 117 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ RUN ./build.sh

FROM golang:1.21

LABEL org.opencontainers.image.url='https://github.com/micovery/apigee-go-gen' \
org.opencontainers.image.documentation='https://github.com/micovery/apigee-go-gen' \
org.opencontainers.image.source='https://github.com/micovery/apigee-go-gen' \
LABEL org.opencontainers.image.url='https://github.com/apigee/apigee-go-gen' \
org.opencontainers.image.documentation='https://github.com/apigee/apigee-go-gen' \
org.opencontainers.image.source='https://github.com/apigee/apigee-go-gen' \
org.opencontainers.image.vendor='Google LLC' \
org.opencontainers.image.licenses='Apache-2.0' \
org.opencontainers.image.description='This is a tool for generating Apigee bundles and shared flows'
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
limitations under the License.
-->

[![Go Report Card](https://goreportcard.com/badge/github.com/micovery/apigee-go-gen)](https://goreportcard.com/report/github.com/micovery/apigee-go-gen)
[![GitHub release](https://img.shields.io/github/v/release/micovery/apigee-go-gen)](https://github.com/micovery/apigee-go-gen/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/apigee/apigee-go-gen)](https://goreportcard.com/report/github.com/apigee/apigee-go-gen)
[![GitHub release](https://img.shields.io/github/v/release/apigee/apigee-go-gen)](https://github.com/apigee/apigee-go-gen/releases)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The `apigee-go-gen` CLI tool streamlines your Apigee development experience using [Go style](https://developer.hashicorp.com/nomad/tutorials/templates/go-template-syntax) templates with a YAML centric workflow.
Expand All @@ -30,5 +30,5 @@ By using this tool alongside the [Apigee CLI](https://github.com/apigee/apigeecl

## Read the docs

Hop over to the [docs](https://micovery.github.io/apigee-go-gen/) site, to learn how to install and use `apigee-go-gen` tool.
Hop over to the [docs](https://apigee.github.io/apigee-go-gen/) site, to learn how to install and use `apigee-go-gen` tool.

2 changes: 1 addition & 1 deletion build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
#


docker build -t micovery/apigee-go-gen .
docker build -t apigee/apigee-go-gen .
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package main

import (
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/render"
"github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/spf13/cobra"
"os"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion cmd/apigee-go-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package main

import (
"fmt"
v1 "github.com/apigee/apigee-go-gen/pkg/apigee/v1"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"os"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/apigee-go-gen/render/apiproxy/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package apiproxy

import (
"fmt"
v1 "github.com/apigee/apigee-go-gen/pkg/apigee/v1"
"github.com/apigee/apigee-go-gen/pkg/common/resources"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/render"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/common/resources"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/render/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package render

import (
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/apiproxy"
sharedflow "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/sharedflow"
"github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/render/template"
"github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/render/apiproxy"
sharedflow "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/render/sharedflow"
"github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/render/template"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/apigee-go-gen/render/sharedflow/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package sharedflow

import (
"fmt"
v1 "github.com/apigee/apigee-go-gen/pkg/apigee/v1"
"github.com/apigee/apigee-go-gen/pkg/common/resources"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/render"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/common/resources"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/render/template/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ package template

import (
"fmt"
"github.com/apigee/apigee-go-gen/pkg/common/resources"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/render"
"github.com/go-errors/errors"
"github.com/micovery/apigee-go-gen/pkg/common/resources"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/apiproxy-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package apiproxy_to_yaml

import (
"github.com/apigee/apigee-go-gen/pkg/apiproxy"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/go-errors/errors"
"github.com/micovery/apigee-go-gen/pkg/apiproxy"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/spf13/cobra"
"strings"
)
Expand Down
22 changes: 11 additions & 11 deletions cmd/apigee-go-gen/transform/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ package transform

//goland:noinspection GoSnakeCaseUsage
import (
apiproxy_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/apiproxy-to-yaml"
json_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/json-to-yaml"
oas2_to_oas3 "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/oas2-to-oas3"
oas3_to_oas2 "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/oas3-to-oas2"
resolve_refs "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/resolve-refs"
sharedflow_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/sharedflow-to-yaml"
xml_to_yaml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/xml-to-yaml"
yaml_to_apiproxy "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-apiproxy"
yaml_to_json "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-json"
yaml_to_sharedflow "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-sharedflow"
yaml_to_xml "github.com/micovery/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-xml"
apiproxy_to_yaml "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/apiproxy-to-yaml"
json_to_yaml "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/json-to-yaml"
oas2_to_oas3 "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/oas2-to-oas3"
oas3_to_oas2 "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/oas3-to-oas2"
resolve_refs "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/resolve-refs"
sharedflow_to_yaml "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/sharedflow-to-yaml"
xml_to_yaml "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/xml-to-yaml"
yaml_to_apiproxy "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-apiproxy"
yaml_to_json "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-json"
yaml_to_sharedflow "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-sharedflow"
yaml_to_xml "github.com/apigee/apigee-go-gen/cmd/apigee-go-gen/transform/yaml-to-xml"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/json-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package json_to_yaml

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/oas2-to-oas3/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package oas2_to_oas3

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/oas3-to-oas2/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package oas3_to_oas2

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/resolve-refs/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package resolve_refs

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/sharedflow-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package sharedflow_to_yaml

import (
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/sharedflow"
"github.com/go-errors/errors"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/sharedflow"
"github.com/spf13/cobra"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/xml-to-yaml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package xml_to_yaml

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/transform/yaml-to-apiproxy/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
package yaml_to_apiproxy

import (
v1 "github.com/apigee/apigee-go-gen/pkg/apigee/v1"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/render"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/yaml-to-json/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package yaml_to_json

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/apigee-go-gen/transform/yaml-to-sharedflow/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
package yaml_to_sharedflow

import (
v1 "github.com/apigee/apigee-go-gen/pkg/apigee/v1"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/render"
"github.com/go-errors/errors"
v1 "github.com/micovery/apigee-go-gen/pkg/apigee/v1"
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/render"
"github.com/spf13/cobra"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/apigee-go-gen/transform/yaml-to-xml/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package yaml_to_xml

import (
"github.com/micovery/apigee-go-gen/pkg/flags"
"github.com/micovery/apigee-go-gen/pkg/utils"
"github.com/apigee/apigee-go-gen/pkg/flags"
"github.com/apigee/apigee-go-gen/pkg/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
limitations under the License.
-->

[![Go Report Card](https://goreportcard.com/badge/github.com/micovery/apigee-go-gen)](https://goreportcard.com/report/github.com/micovery/apigee-go-gen)
[![GitHub release](https://img.shields.io/github/v/release/micovery/apigee-go-gen)](https://github.com/micovery/apigee-go-gen/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/apigee/apigee-go-gen)](https://goreportcard.com/report/github.com/apigee/apigee-go-gen)
[![GitHub release](https://img.shields.io/github/v/release/apigee/apigee-go-gen)](https://github.com/apigee/apigee-go-gen/releases)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The `apigee-go-gen` CLI tool streamlines your Apigee development experience using [Go style](https://developer.hashicorp.com/nomad/tutorials/templates/go-template-syntax) templates with a YAML centric workflow.
Expand Down
14 changes: 7 additions & 7 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ You can install the `apigee-go-gen` binary in several ways.
### Manual download

The most straightforward way to install the tool is to download a release tar ball from the
available GitHub [releases](https://github.com/micovery/apigee-go-gen/releases).
available GitHub [releases](https://github.com/apigee/apigee-go-gen/releases).

Once you download the tarball, extract it and move the `apigee-go-gen` binary to somewhere in your `$PATH`

### Automated install

For your convenience, there is an [install](https://github.com/micovery/apigee-go-gen/blob/main/install) script available.
For your convenience, there is an [install](https://github.com/apigee/apigee-go-gen/blob/main/install) script available.

This script downloads and installs the `apigee-go-gen` tool automatically for you.

Expand All @@ -43,23 +43,23 @@ e.g.

Install latest **version** into `/usr/local/bin` **directory**
```shell
curl -s https://micovery.github.io/apigee-go-gen/install | sh
curl -s https://apigee.github.io/apigee-go-gen/install | sh
```


Install specific **version** into `/usr/local/bin` **directory**
```shell
curl -s https://micovery.github.io/apigee-go-gen/install | sh -s v0.1.13
curl -s https://apigee.github.io/apigee-go-gen/install | sh -s v0.1.13
```

Install **latest** version into `~/.local/bin` **directory**
```shell
curl -s https://micovery.github.io/apigee-go-gen/install | sh -s latest ~/.local/bin
curl -s https://apigee.github.io/apigee-go-gen/install | sh -s latest ~/.local/bin
```

Install specific **version** into `~/.local/bin` **directory**
```shell
curl -s https://micovery.github.io/apigee-go-gen/install | sh -s v0.1.13 ~/.local/bin
curl -s https://apigee.github.io/apigee-go-gen/install | sh -s v0.1.13 ~/.local/bin
```


Expand All @@ -69,7 +69,7 @@ curl -s https://micovery.github.io/apigee-go-gen/install | sh -s v0.1.13 ~/.loca
If you already have [Go](https://go.dev/doc/install) installed in your machine, run the following command:

```shell
go install github.com/micovery/apigee-go-gen/cmd/...@latest
go install github.com/apigee/apigee-go-gen/cmd/...@latest
```

This will download the source, build it (in your machine) and install the `apigee-go-gen` binary into your `$GOPATH/bin` directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/render/using-graphql-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This works similar to how values are set in Helm charts.
## Examples

Check out the [examples/templates/graphql](https://github.com/micovery/apigee-go-gen/blob/main/examples/templates/graphql/apiproxy.yaml) directory for an example of building the intermediate YAML for a GraphQL API proxy.
Check out the [examples/templates/graphql](https://github.com/apigee/apigee-go-gen/blob/main/examples/templates/graphql/apiproxy.yaml) directory for an example of building the intermediate YAML for a GraphQL API proxy.

Here is how you would use the [render apiproxy](./commands/render-apiproxy.md) command with this example:

Expand Down
2 changes: 1 addition & 1 deletion docs/render/using-grpc-proto.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ these gRPC-specific requirements.

## Example

Check out the [examples/templates/grpc](https://github.com/micovery/apigee-go-gen/blob/main/examples/templates/grpc/apiproxy.yaml) directory for an example of building the intermediate YAML for a gRPC API proxy.
Check out the [examples/templates/grpc](https://github.com/apigee/apigee-go-gen/blob/main/examples/templates/grpc/apiproxy.yaml) directory for an example of building the intermediate YAML for a gRPC API proxy.

Here is how you would use the [render apiproxy](./commands/render-apiproxy.md) command with this example:

Expand Down
2 changes: 1 addition & 1 deletion docs/render/using-openapi-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can use the [render apiproxy](./commands/render-apiproxy.md) command to crea

## Examples

Check out the included OAS3 template at [examples/templates/oas3](https://github.com/micovery/apigee-go-gen/blob/main/examples/templates/oas3/apiproxy.yaml).
Check out the included OAS3 template at [examples/templates/oas3](https://github.com/apigee/apigee-go-gen/blob/main/examples/templates/oas3/apiproxy.yaml).

Here is how you would use the [render apiproxy](./commands/render-apiproxy.md) command with this example:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

module github.com/micovery/apigee-go-gen
module github.com/apigee/apigee-go-gen

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# This install script was adapted from the KCL installation script (https://kcl-lang.io/script/install-cli.sh)

GITHUB_ORG=micovery
GITHUB_ORG=apigee
GITHUB_REPO=apigee-go-gen
BINARY_FILENAME=apigee-go-gen

Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: Apigee Go Gen
site_url: https://micovery.github.io/apigee-go-gen
repo_url: https://github.com/micovery/apigee-go-gen
site_url: https://apigee.github.io/apigee-go-gen
repo_url: https://github.com/apigee/apigee-go-gen
edit_uri: edit/main/docs/
markdown_extensions:
- admonition
Expand Down
Loading

0 comments on commit 5ea10a0

Please sign in to comment.