diff --git a/.github/workflows/go-proxy-pull.yaml b/.github/workflows/go-proxy-pull.yaml index eaf3fc3..dd093e6 100644 --- a/.github/workflows/go-proxy-pull.yaml +++ b/.github/workflows/go-proxy-pull.yaml @@ -19,4 +19,4 @@ jobs: - name: Pull new module version uses: andrewslotin/go-proxy-pull-action@v1.1.0 with: - import_path: github.com/senzing/servegrpc + import_path: github.com/senzing/serve-grpc diff --git a/CHANGELOG.md b/CHANGELOG.md index fc05fe4..935a6ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - +## [0.4.0] - 2023-03-27 + +### Added in 0.4.0 + +- Repository name change from `servegrpc` to `serve-grpc` + ## [0.3.9] - 2023-03-27 ### Added in 0.3.9 @@ -19,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - g2engineserver.StreamExportCSVEntityReport() - g2engineserver.StreamExportJSONEntityReport() - Update dependencies +- Last versioned release before name change to serve-grpc ## [0.3.8] - 2023-03-14 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f89224..c943ec1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,7 +83,7 @@ The variables are used throughout the installation procedure. ```console export GIT_ACCOUNT=senzing -export GIT_REPOSITORY=servegrpc +export GIT_REPOSITORY=serve-grpc ``` Synthesize environment variables. diff --git a/Dockerfile b/Dockerfile index 3b3075d..d8405e5 100755 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ARG IMAGE_FINAL=senzing/senzingapi-runtime:3.4.2 FROM ${IMAGE_GO_BUILDER} as go_builder ENV REFRESHED_AT 2023-03-08 -LABEL Name="senzing/servegrpc-builder" \ +LABEL Name="senzing/serve-grpc-builder" \ Maintainer="support@senzing.com" \ Version="0.3.6" @@ -55,7 +55,7 @@ RUN mkdir -p /output \ FROM ${IMAGE_FINAL} as final ENV REFRESHED_AT 2023-03-08 -LABEL Name="senzing/servegrpc" \ +LABEL Name="senzing/serve-grpc" \ Maintainer="support@senzing.com" \ Version="0.3.6" @@ -66,7 +66,7 @@ COPY ./testdata/sqlite/G2C.db /tmp/sqlite/G2C.db # Copy files from prior step. -COPY --from=go_builder "/output/linux/servegrpc" "/app/servegrpc" +COPY --from=go_builder "/output/linux/serve-grpc" "/app/serve-grpc" # Runtime environment variables. @@ -76,4 +76,4 @@ ENV SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@/tmp/sqlite/G2C.db # Runtime execution. WORKDIR /app -ENTRYPOINT ["/app/servegrpc"] +ENTRYPOINT ["/app/serve-grpc"] diff --git a/Makefile b/Makefile index da22438..8de389f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Makefile that builds servegrpc, a "go" program. +# Makefile that builds serve-grpc, a "go" program. # "Simple expanded" variables (':=') @@ -57,8 +57,8 @@ build-linux: GOARCH=amd64 \ go build \ -ldflags \ - "-X 'github.com/senzing/servegrpc/cmd.buildVersion=${BUILD_VERSION}' \ - -X 'github.com/senzing/servegrpc/cmd.buildIteration=${BUILD_ITERATION}' \ + "-X 'github.com/senzing/serve-grpc/cmd.buildVersion=${BUILD_VERSION}' \ + -X 'github.com/senzing/serve-grpc/cmd.buildIteration=${BUILD_ITERATION}' \ " \ -o $(GO_PACKAGE_NAME) @mkdir -p $(TARGET_DIRECTORY)/linux || true @@ -138,13 +138,13 @@ docker-run: $(DOCKER_IMAGE_NAME) -.PHONY: run-servegrpc -run-servegrpc: build - @target/linux/servegrpc +.PHONY: run-serve-grpc +run-serve-grpc: build + @target/linux/serve-grpc -.PHONY: run-servegrpc-trace -run-servegrpc-trace: build - @target/linux/servegrpc --log-level TRACE --engine-log-level 1 +.PHONY: run-serve-grpc-trace +run-serve-grpc-trace: build + @target/linux/serve-grpc --log-level TRACE --engine-log-level 1 # ----------------------------------------------------------------------------- # Utility targets diff --git a/README.md b/README.md index db87690..a4c7f92 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# servegrpc +# serve-grpc -## :warning: WARNING: servegrpc is still in development :warning: _ +## :warning: WARNING: serve-grpc is still in development :warning: _ At the moment, this is "work-in-progress" with Semantic Versions of `0.n.x`. Although it can be reviewed and commented on, @@ -8,19 +8,20 @@ the recommendation is not to use it yet. ## Synopsis -`servegrpc` is a command in the +`serve-grpc` is a command in the [senzing-tools](https://github.com/Senzing/senzing-tools) suite of tools. This command is a [gRPC](https://grpc.io/) server application that supports requests to the Senzing SDK via network access. -[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/servegrpc.svg)](https://pkg.go.dev/github.com/senzing/servegrpc) -[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/servegrpc)](https://goreportcard.com/report/github.com/senzing/servegrpc) +[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/serve-grpc.svg)](https://pkg.go.dev/github.com/senzing/serve-grpc) +[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/serve-grpc)](https://goreportcard.com/report/github.com/senzing/serve-grpc) +[![go-test.yaml](https://github.com/Senzing/serve-grpc/actions/workflows/go-test.yaml/badge.svg)](https://github.com/Senzing/serve-grpc/actions/workflows/go-test.yaml) ## Overview -`servegrpc` supports the +`serve-grpc` supports the [Senzing Protocol Buffer definitions](https://github.com/Senzing/g2-sdk-proto). Under the covers, the gRPC request is translated by the gRPC server into a Senzing Go SDK API call using [senzing/g2-sdk-go-base](https://github.com/Senzing/g2-sdk-go-base). @@ -33,7 +34,7 @@ Senzing SDKs for accessing the gRPC server: ## Install -1. The `servegrpc` command is installed with the +1. The `serve-grpc` command is installed with the [senzing-tools](https://github.com/Senzing/senzing-tools) suite of tools. See senzing-tools [install](https://github.com/Senzing/senzing-tools#install). @@ -42,16 +43,16 @@ Senzing SDKs for accessing the gRPC server: ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ -senzing-tools servegrpc [flags] +senzing-tools serve-grpc [flags] ``` 1. For options and flags: - 1. [Online documentation](https://hub.senzing.com/senzing-tools/senzing-tools_servegrpc.html) + 1. [Online documentation](https://hub.senzing.com/senzing-tools/senzing-tools_serve-grpc.html) 1. Runtime documentation: ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools servegrpc --help + senzing-tools serve-grpc --help ``` 1. In addition to the following simple usage examples, there are additional [Examples](docs/examples.md). @@ -63,7 +64,7 @@ senzing-tools servegrpc [flags] ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools servegrpc --database-url postgresql://username:password@postgres.example.com:5432/G2 + senzing-tools serve-grpc --database-url postgresql://username:password@postgres.example.com:5432/G2 ``` 1. See [Parameters](#parameters) for additional parameters. @@ -76,7 +77,7 @@ senzing-tools servegrpc [flags] ```console export SENZING_TOOLS_DATABASE_URL=postgresql://username:password@postgres.example.com:5432/G2 export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools servegrpc + senzing-tools serve-grpc ``` 1. See [Parameters](#parameters) for additional parameters. @@ -95,7 +96,7 @@ This usage shows how to initialze a database with a Docker container. --publish 8258:8258 \ --rm \ --tty \ - senzing/senzing-tools servegrpc + senzing/senzing-tools serve-grpc ``` @@ -117,7 +118,7 @@ This usage shows how to initialze a database with a Docker container. ## References -- [Command reference](https://hub.senzing.com/senzing-tools/senzing-tools_servegrpc.html) +- [Command reference](https://hub.senzing.com/senzing-tools/senzing-tools_serve-grpc.html) - [Development](docs/development.md) - [Errors](docs/errors.md) - [Examples](docs/examples.md) diff --git a/cmd/completion.go b/cmd/completion.go index 25292d0..ec0f5ce 100644 --- a/cmd/completion.go +++ b/cmd/completion.go @@ -14,10 +14,10 @@ var completionCmd = &cobra.Command{ Use: "completion", Short: "Generate bash completion for the command", Long: `To load completions, run: -source < (servegrpc completion) +source < (serve-grpc completion) To load completions automaticallon on login, add this line to your .bashrc file: -source < (servegrpc completion) +source < (serve-grpc completion) `, RunE: func(cmd *cobra.Command, args []string) error { return completionAction(os.Stdout) diff --git a/cmd/docs.go b/cmd/docs.go index 261ccd9..70b2a7b 100644 --- a/cmd/docs.go +++ b/cmd/docs.go @@ -21,7 +21,7 @@ var docsCmd = &cobra.Command{ return err } if dir == "" { - if dir, err = os.MkdirTemp("", "servegrpc"); err != nil { + if dir, err = os.MkdirTemp("", "serve-grpc"); err != nil { return err } } diff --git a/cmd/root.go b/cmd/root.go index 8d690b1..3bf3997 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -15,7 +15,7 @@ import ( "github.com/senzing/senzing-tools/envar" "github.com/senzing/senzing-tools/helper" "github.com/senzing/senzing-tools/option" - "github.com/senzing/servegrpc/grpcserver" + "github.com/senzing/serve-grpc/grpcserver" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -37,7 +37,7 @@ const ( var ( buildIteration string = "0" buildVersion string = "0.3.7" - defaultEngineModuleName string = fmt.Sprintf("servegrpc-%d", time.Now().Unix()) + defaultEngineModuleName string = fmt.Sprintf("serve-grpc-%d", time.Now().Unix()) ) // If a configuration file is present, load it. @@ -54,7 +54,7 @@ func loadConfigurationFile(cobraCommand *cobra.Command) { // Specify configuration file name. - viper.SetConfigName("servegrpc") + viper.SetConfigName("serve-grpc") viper.SetConfigType("yaml") // Define search path order. @@ -120,11 +120,11 @@ func loadOptions(cobraCommand *cobra.Command) { // RootCmd represents the command. var RootCmd = &cobra.Command{ - Use: "servegrpc", + Use: "serve-grpc", Short: "Start a gRPC server for the Senzing SDK API", Long: ` Start a gRPC server for the Senzing SDK API. -For more information, visit https://github.com/Senzing/servegrpc +For more information, visit https://github.com/Senzing/serve-grpc `, PreRun: func(cobraCommand *cobra.Command, args []string) { loadConfigurationFile(cobraCommand) diff --git a/doc.go b/doc.go index 72dd8cc..675dd8e 100644 --- a/doc.go +++ b/doc.go @@ -7,7 +7,7 @@ One or two paragraph overview of this module... (This page describes the nature of the entire Go module or the top-level command, not an individual package.) -More information at https://github.com/senzing/servegrpc +More information at https://github.com/senzing/serve-grpc # Example Package @@ -16,7 +16,7 @@ documentation, tests, and examples should be done. This paragraph (or two) should provide a brief overview while linking the reader to the documentation included in the package itself. -More information can be found in the [pkg/github.com/senzing/servegrpc/examplepackage] documentation. +More information can be found in the [pkg/github.com/senzing/serve-grpc/examplepackage] documentation. # Another Header: Package or other module features... @@ -33,8 +33,8 @@ Examples of use can be seen in the main_test.go files. import ( fmt - "github.com/senzing/servegrpc/examplepackage" - "github.com/senzing/servegrpc/anotherpackage" + "github.com/senzing/serve-grpc/examplepackage" + "github.com/senzing/serve-grpc/anotherpackage" ) func main() { diff --git a/docs/README.md b/docs/README.md index 6f0d0e0..f1c5c16 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,8 +1,8 @@ -# servegrpc +# serve-grpc ## Commands -1. [senzing-tools servegrpc](https://hub.senzing.com/senzing-tools/senzing-tools_servegrpc.html) +1. [senzing-tools serve-grpc](https://hub.senzing.com/senzing-tools/senzing-tools_serve-grpc.html) ## Examples diff --git a/docs/development.md b/docs/development.md index 1f086ff..e088bbc 100644 --- a/docs/development.md +++ b/docs/development.md @@ -1,4 +1,4 @@ -# servegrpc development +# serve-grpc development ## Install Go @@ -22,7 +22,7 @@ Since the Senzing library is a prerequisite, it must be installed first. ```console export GIT_ACCOUNT=senzing - export GIT_REPOSITORY=servegrpc + export GIT_REPOSITORY=serve-grpc export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}" @@ -63,7 +63,7 @@ the binary built can be run. ```console export SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@/tmp/sqlite/G2C.db export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools initdatabase + senzing-tools init-database ``` @@ -76,12 +76,21 @@ the binary built can be run. ``` + If needed, initialize PostgreSQL database. + Example: + + ```console + export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ + senzing-tools init-database + + ``` + 1. Set `LD_LIBRARY_PATH` and run the command. Example: ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - ${GIT_REPOSITORY_DIR}/target/linux/servegrpc + ${GIT_REPOSITORY_DIR}/target/linux/serve-grpc ``` @@ -218,7 +227,7 @@ For other gRPC tools, visit ```console cd ${GIT_REPOSITORY_DIR} - make clean run-servegrpc + make clean run-serve-grpc ``` @@ -253,7 +262,7 @@ For other gRPC tools, visit ### Package -**Note:** This only packages the `servegrpc` command. +**Note:** This only packages the `serve-grpc` command. It is only to be used in development and test. The actual packaging is done in the [senzing-tools](https://github.com/Senzing/senzing-tools) repository. @@ -278,21 +287,21 @@ The actual packaging is done in the [senzing-tools](https://github.com/Senzing/s ### Test DEB package on Ubuntu -1. Determine if `servegrpc` is installed. +1. Determine if `serve-grpc` is installed. Example: ```console - apt list --installed | grep servegrpc + apt list --installed | grep serve-grpc ``` -1. :pencil2: Install `servegrpc`. - The `servegrpc-...` filename will need modification. +1. :pencil2: Install `serve-grpc`. + The `serve-grpc-...` filename will need modification. Example: ```console cd ${GIT_REPOSITORY_DIR}/target - sudo apt install ./servegrpc-0.0.0.deb + sudo apt install ./serve-grpc-0.0.0.deb ``` @@ -311,35 +320,35 @@ The actual packaging is done in the [senzing-tools](https://github.com/Senzing/s ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - servegrpc + serve-grpc ``` -1. Remove `servegrpc` from system. +1. Remove `serve-grpc` from system. Example: ```console - sudo apt-get remove servegrpc + sudo apt-get remove serve-grpc ``` #### Test RPM package on Centos -1. Determine if `servegrpc` is installed. +1. Determine if `serve-grpc` is installed. Example: ```console - yum list installed | grep servegrpc + yum list installed | grep serve-grpc ``` -1. :pencil2: Install `servegrpc`. - The `servegrpc-...` filename will need modification. +1. :pencil2: Install `serve-grpc`. + The `serve-grpc-...` filename will need modification. Example: ```console cd ${GIT_REPOSITORY_DIR}/target - sudo yum install ./servegrpc-0.0.0.rpm + sudo yum install ./serve-grpc-0.0.0.rpm ``` @@ -358,15 +367,15 @@ The actual packaging is done in the [senzing-tools](https://github.com/Senzing/s ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - servegrpc + serve-grpc ``` -1. Remove `servegrpc` from system. +1. Remove `serve-grpc` from system. Example: ```console - sudo yum remove servegrpc + sudo yum remove serve-grpc ``` diff --git a/docs/errors.md b/docs/errors.md index 075cd06..8f876b9 100644 --- a/docs/errors.md +++ b/docs/errors.md @@ -1,4 +1,4 @@ -# servegrpc errors +# serve-grpc errors ## Error prefixes diff --git a/docs/examples.md b/docs/examples.md index 0601d4c..1b4240d 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -1,4 +1,4 @@ -# servegrpc examples +# serve-grpc examples ## Command line examples @@ -12,7 +12,7 @@ In this example, only the G2Engine gRPC is started. ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools servegrpc \ + senzing-tools serve-grpc \ --database-url postgresql://username:password@postgres.example.com:5432/G2 \ --enable-g2engine ``` @@ -43,7 +43,7 @@ If using multiple databases or non-system locations of Senzing binaries, ```console export LD_LIBRARY_PATH=/opt/senzing/g2/lib/ - senzing-tools servegrpc + senzing-tools serve-grpc ``` 1. For more information, visit @@ -65,7 +65,7 @@ If using multiple databases or non-system locations of Senzing binaries, --publish 8258:8258 \ --rm \ --tty \ - senzing/senzing-tools servegrpc + senzing/senzing-tools serve-grpc ``` diff --git a/g2configmgrserver/g2configmgrserver_test.go b/g2configmgrserver/g2configmgrserver_test.go index c4b43e7..3f2560b 100644 --- a/g2configmgrserver/g2configmgrserver_test.go +++ b/g2configmgrserver/g2configmgrserver_test.go @@ -18,7 +18,7 @@ import ( "github.com/senzing/go-common/g2engineconfigurationjson" "github.com/senzing/go-common/truthset" "github.com/senzing/go-logging/messagelogger" - "github.com/senzing/servegrpc/g2configserver" + "github.com/senzing/serve-grpc/g2configserver" "github.com/stretchr/testify/assert" ) @@ -425,7 +425,7 @@ func TestG2configmgrserverImpl_Destroy(test *testing.T) { // ---------------------------------------------------------------------------- func ExampleG2ConfigmgrServer_AddConfig() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() now := time.Now() g2config := getG2ConfigServer(ctx) @@ -462,7 +462,7 @@ func ExampleG2ConfigmgrServer_AddConfig() { } func ExampleG2ConfigmgrServer_GetConfig() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2configmgr := getG2ConfigmgrServer(ctx) @@ -486,7 +486,7 @@ func ExampleG2ConfigmgrServer_GetConfig() { } func ExampleG2ConfigmgrServer_GetConfigList() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2configmgr := getG2ConfigmgrServer(ctx) request := &g2pb.GetConfigListRequest{} @@ -499,7 +499,7 @@ func ExampleG2ConfigmgrServer_GetConfigList() { } func ExampleG2ConfigmgrServer_GetDefaultConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2configmgr := getG2ConfigmgrServer(ctx) request := &g2pb.GetDefaultConfigIDRequest{} @@ -512,7 +512,7 @@ func ExampleG2ConfigmgrServer_GetDefaultConfigID() { } func ExampleG2ConfigmgrServer_ReplaceDefaultConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() now := time.Now() g2config := getG2ConfigServer(ctx) @@ -565,7 +565,7 @@ func ExampleG2ConfigmgrServer_ReplaceDefaultConfigID() { } func ExampleG2ConfigmgrServer_SetDefaultConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2configmgr := getG2ConfigmgrServer(ctx) @@ -589,7 +589,7 @@ func ExampleG2ConfigmgrServer_SetDefaultConfigID() { } func ExampleG2ConfigmgrServer_Init() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2config := getG2ConfigmgrServer(ctx) iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -610,7 +610,7 @@ func ExampleG2ConfigmgrServer_Init() { } func ExampleG2ConfigmgrServer_Destroy() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configmgrserver/g2configmgrserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configmgrserver/g2configmgrserver_test.go ctx := context.TODO() g2configmgr := getG2ConfigmgrServer(ctx) request := &g2pb.DestroyRequest{} diff --git a/g2configserver/g2configserver_test.go b/g2configserver/g2configserver_test.go index 0a7b751..52427b0 100644 --- a/g2configserver/g2configserver_test.go +++ b/g2configserver/g2configserver_test.go @@ -368,7 +368,7 @@ func TestG2configserver_Destroy(test *testing.T) { // ---------------------------------------------------------------------------- func ExampleG2ConfigServer_AddDataSource() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -393,7 +393,7 @@ func ExampleG2ConfigServer_AddDataSource() { } func ExampleG2ConfigServer_Close() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -416,7 +416,7 @@ func ExampleG2ConfigServer_Close() { } func ExampleG2ConfigServer_Create() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) request := &g2pb.CreateRequest{} @@ -429,7 +429,7 @@ func ExampleG2ConfigServer_Create() { } func ExampleG2ConfigServer_DeleteDataSource() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -453,7 +453,7 @@ func ExampleG2ConfigServer_DeleteDataSource() { } func ExampleG2ConfigServer_ListDataSources() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -477,7 +477,7 @@ func ExampleG2ConfigServer_ListDataSources() { } func ExampleG2ConfigServer_Load() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -511,7 +511,7 @@ func ExampleG2ConfigServer_Load() { } func ExampleG2ConfigServer_Save() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) @@ -535,7 +535,7 @@ func ExampleG2ConfigServer_Save() { } func ExampleG2ConfigServer_Init() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -556,7 +556,7 @@ func ExampleG2ConfigServer_Init() { } func ExampleG2ConfigServer_Destroy() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2configserver/g2configserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2configserver/g2configserver_test.go ctx := context.TODO() g2config := getG2ConfigServer(ctx) request := &g2pb.DestroyRequest{} diff --git a/g2diagnosticserver/g2diagnosticserver_test.go b/g2diagnosticserver/g2diagnosticserver_test.go index 5246966..9334f1e 100644 --- a/g2diagnosticserver/g2diagnosticserver_test.go +++ b/g2diagnosticserver/g2diagnosticserver_test.go @@ -18,7 +18,7 @@ import ( "github.com/senzing/go-common/g2engineconfigurationjson" "github.com/senzing/go-common/truthset" "github.com/senzing/go-logging/messagelogger" - "github.com/senzing/servegrpc/g2configmgrserver" + "github.com/senzing/serve-grpc/g2configmgrserver" "github.com/stretchr/testify/assert" ) @@ -583,7 +583,7 @@ func TestG2diagnosticserver_Destroy(test *testing.T) { // ---------------------------------------------------------------------------- func ExampleG2DiagnosticServer_CheckDBPerf() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.CheckDBPerfRequest{ @@ -602,7 +602,7 @@ func ExampleG2DiagnosticServer_CheckDBPerf() { // func ExampleG2diagnosticImpl_FetchNextEntityBySize() { func ExampleG2DiagnosticServer_FindEntitiesByFeatureIDs() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.FindEntitiesByFeatureIDsRequest{ @@ -617,7 +617,7 @@ func ExampleG2DiagnosticServer_FindEntitiesByFeatureIDs() { } func ExampleG2DiagnosticServer_GetAvailableMemory() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetAvailableMemoryRequest{} @@ -630,7 +630,7 @@ func ExampleG2DiagnosticServer_GetAvailableMemory() { } func ExampleG2DiagnosticServer_GetDataSourceCounts() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetDataSourceCountsRequest{} @@ -643,7 +643,7 @@ func ExampleG2DiagnosticServer_GetDataSourceCounts() { } func ExampleG2DiagnosticServer_GetDBInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetDBInfoRequest{} @@ -656,7 +656,7 @@ func ExampleG2DiagnosticServer_GetDBInfo() { } func ExampleG2DiagnosticServer_GetEntityDetails() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetEntityDetailsRequest{ @@ -674,7 +674,7 @@ func ExampleG2DiagnosticServer_GetEntityDetails() { // func ExampleG2diagnosticImpl_GetEntityListBySize() { func ExampleG2DiagnosticServer_GetEntityResume() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetEntityResumeRequest{ @@ -689,7 +689,7 @@ func ExampleG2DiagnosticServer_GetEntityResume() { } func ExampleG2DiagnosticServer_GetEntitySizeBreakdown() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetEntitySizeBreakdownRequest{ @@ -705,7 +705,7 @@ func ExampleG2DiagnosticServer_GetEntitySizeBreakdown() { } func ExampleG2DiagnosticServer_GetFeature() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetFeatureRequest{ @@ -720,7 +720,7 @@ func ExampleG2DiagnosticServer_GetFeature() { } func ExampleG2DiagnosticServer_GetGenericFeatures() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetGenericFeaturesRequest{ @@ -736,7 +736,7 @@ func ExampleG2DiagnosticServer_GetGenericFeatures() { } func ExampleG2DiagnosticServer_GetLogicalCores() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetLogicalCoresRequest{} @@ -749,7 +749,7 @@ func ExampleG2DiagnosticServer_GetLogicalCores() { } func ExampleG2DiagnosticServer_GetMappingStatistics() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetMappingStatisticsRequest{ @@ -764,7 +764,7 @@ func ExampleG2DiagnosticServer_GetMappingStatistics() { } func ExampleG2DiagnosticServer_GetPhysicalCores() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetPhysicalCoresRequest{} @@ -777,7 +777,7 @@ func ExampleG2DiagnosticServer_GetPhysicalCores() { } func ExampleG2DiagnosticServer_GetRelationshipDetails() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetRelationshipDetailsRequest{ @@ -793,7 +793,7 @@ func ExampleG2DiagnosticServer_GetRelationshipDetails() { } func ExampleG2DiagnosticServer_GetResolutionStatistics() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetResolutionStatisticsRequest{} @@ -806,7 +806,7 @@ func ExampleG2DiagnosticServer_GetResolutionStatistics() { } func ExampleG2DiagnosticServer_GetTotalSystemMemory() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.GetTotalSystemMemoryRequest{} @@ -819,7 +819,7 @@ func ExampleG2DiagnosticServer_GetTotalSystemMemory() { } func ExampleG2DiagnosticServer_Init() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := &G2DiagnosticServer{} iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -840,7 +840,7 @@ func ExampleG2DiagnosticServer_Init() { } func ExampleG2DiagnosticServer_InitWithConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := &G2DiagnosticServer{} iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -862,7 +862,7 @@ func ExampleG2DiagnosticServer_InitWithConfigID() { } func ExampleG2DiagnosticServer_Reinit() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) g2configmgr := getG2ConfigmgrServer(ctx) @@ -882,7 +882,7 @@ func ExampleG2DiagnosticServer_Reinit() { } func ExampleG2DiagnosticServer_Destroy() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2diagnosticserver/g2diagnosticserver_test.go ctx := context.TODO() g2diagnostic := getG2DiagnosticServer(ctx) request := &g2pb.DestroyRequest{} diff --git a/g2engineserver/g2engineserver_test.go b/g2engineserver/g2engineserver_test.go index 854f5ec..73930fd 100644 --- a/g2engineserver/g2engineserver_test.go +++ b/g2engineserver/g2engineserver_test.go @@ -1393,7 +1393,7 @@ func TestG2engineServer_Destroy(test *testing.T) { // ---------------------------------------------------------------------------- func ExampleG2EngineServer_AddRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.AddRecordRequest{ @@ -1411,7 +1411,7 @@ func ExampleG2EngineServer_AddRecord() { } func ExampleG2EngineServer_AddRecord_secondRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.AddRecordRequest{ @@ -1429,7 +1429,7 @@ func ExampleG2EngineServer_AddRecord_secondRecord() { } func ExampleG2EngineServer_AddRecordWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.AddRecordWithInfoRequest{ @@ -1447,7 +1447,7 @@ func ExampleG2EngineServer_AddRecordWithInfo() { } func ExampleG2EngineServer_AddRecordWithInfoWithReturnedRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.AddRecordWithInfoWithReturnedRecordIDRequest{ @@ -1465,7 +1465,7 @@ func ExampleG2EngineServer_AddRecordWithInfoWithReturnedRecordID() { } func ExampleG2EngineServer_AddRecordWithReturnedRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.AddRecordWithReturnedRecordIDRequest{ @@ -1482,7 +1482,7 @@ func ExampleG2EngineServer_AddRecordWithReturnedRecordID() { } func ExampleG2EngineServer_CheckRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.CheckRecordRequest{ @@ -1498,7 +1498,7 @@ func ExampleG2EngineServer_CheckRecord() { } func ExampleG2EngineServer_CloseExport() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) @@ -1523,7 +1523,7 @@ func ExampleG2EngineServer_CloseExport() { } func ExampleG2EngineServer_CountRedoRecords() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.CountRedoRecordsRequest{} @@ -1536,7 +1536,7 @@ func ExampleG2EngineServer_CountRedoRecords() { } func ExampleG2EngineServer_ExportCSVEntityReport() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ExportCSVEntityReportRequest{ @@ -1552,7 +1552,7 @@ func ExampleG2EngineServer_ExportCSVEntityReport() { } func ExampleG2EngineServer_ExportConfig() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ExportConfigRequest{} @@ -1565,7 +1565,7 @@ func ExampleG2EngineServer_ExportConfig() { } func ExampleG2EngineServer_ExportConfigAndConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ExportConfigAndConfigIDRequest{} @@ -1578,7 +1578,7 @@ func ExampleG2EngineServer_ExportConfigAndConfigID() { } func ExampleG2EngineServer_ExportJSONEntityReport() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ExportJSONEntityReportRequest{ @@ -1593,7 +1593,7 @@ func ExampleG2EngineServer_ExportJSONEntityReport() { } func ExampleG2EngineServer_FetchNext() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) @@ -1618,7 +1618,7 @@ func ExampleG2EngineServer_FetchNext() { } func ExampleG2EngineServer_FindInterestingEntitiesByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindInterestingEntitiesByEntityIDRequest{ @@ -1634,7 +1634,7 @@ func ExampleG2EngineServer_FindInterestingEntitiesByEntityID() { } func ExampleG2EngineServer_FindInterestingEntitiesByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindInterestingEntitiesByRecordIDRequest{ @@ -1651,7 +1651,7 @@ func ExampleG2EngineServer_FindInterestingEntitiesByRecordID() { } func ExampleG2EngineServer_FindNetworkByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) entityList := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1001") + `}, {"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1002") + `}]}` @@ -1670,7 +1670,7 @@ func ExampleG2EngineServer_FindNetworkByEntityID() { } func ExampleG2EngineServer_FindNetworkByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) entityList := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1001") + `}, {"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1002") + `}]}` @@ -1690,7 +1690,7 @@ func ExampleG2EngineServer_FindNetworkByEntityID_V2() { } func ExampleG2EngineServer_FindNetworkByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindNetworkByRecordIDRequest{ @@ -1708,7 +1708,7 @@ func ExampleG2EngineServer_FindNetworkByRecordID() { } func ExampleG2EngineServer_FindNetworkByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindNetworkByRecordID_V2Request{ @@ -1727,7 +1727,7 @@ func ExampleG2EngineServer_FindNetworkByRecordID_V2() { } func ExampleG2EngineServer_FindPathByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathByEntityIDRequest{ @@ -1744,7 +1744,7 @@ func ExampleG2EngineServer_FindPathByEntityID() { } func ExampleG2EngineServer_FindPathByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathByEntityID_V2Request{ @@ -1762,7 +1762,7 @@ func ExampleG2EngineServer_FindPathByEntityID_V2() { } func ExampleG2EngineServer_FindPathByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathByRecordIDRequest{ @@ -1781,7 +1781,7 @@ func ExampleG2EngineServer_FindPathByRecordID() { } func ExampleG2EngineServer_FindPathByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathByRecordID_V2Request{ @@ -1801,7 +1801,7 @@ func ExampleG2EngineServer_FindPathByRecordID_V2() { } func ExampleG2EngineServer_FindPathExcludingByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) excludedEntities := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1003") + `}]}` @@ -1820,7 +1820,7 @@ func ExampleG2EngineServer_FindPathExcludingByEntityID() { } func ExampleG2EngineServer_FindPathExcludingByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) excludedEntities := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1003") + `}]}` @@ -1840,7 +1840,7 @@ func ExampleG2EngineServer_FindPathExcludingByEntityID_V2() { } func ExampleG2EngineServer_FindPathExcludingByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathExcludingByRecordIDRequest{ @@ -1860,7 +1860,7 @@ func ExampleG2EngineServer_FindPathExcludingByRecordID() { } func ExampleG2EngineServer_FindPathExcludingByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathExcludingByRecordID_V2Request{ @@ -1881,7 +1881,7 @@ func ExampleG2EngineServer_FindPathExcludingByRecordID_V2() { } func ExampleG2EngineServer_FindPathIncludingSourceByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) excludedEntities := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1003") + `}]}` @@ -1901,7 +1901,7 @@ func ExampleG2EngineServer_FindPathIncludingSourceByEntityID() { } func ExampleG2EngineServer_FindPathIncludingSourceByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) excludedEntities := `{"ENTITIES": [{"ENTITY_ID": ` + getEntityIdStringForRecord("CUSTOMERS", "1003") + `}]}` @@ -1922,7 +1922,7 @@ func ExampleG2EngineServer_FindPathIncludingSourceByEntityID_V2() { } func ExampleG2EngineServer_FindPathIncludingSourceByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathIncludingSourceByRecordIDRequest{ @@ -1943,7 +1943,7 @@ func ExampleG2EngineServer_FindPathIncludingSourceByRecordID() { } func ExampleG2EngineServer_FindPathIncludingSourceByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.FindPathIncludingSourceByRecordID_V2Request{ @@ -1965,7 +1965,7 @@ func ExampleG2EngineServer_FindPathIncludingSourceByRecordID_V2() { } func ExampleG2EngineServer_GetActiveConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetActiveConfigIDRequest{} @@ -1978,7 +1978,7 @@ func ExampleG2EngineServer_GetActiveConfigID() { } func ExampleG2EngineServer_GetEntityByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetEntityByEntityIDRequest{ @@ -1993,7 +1993,7 @@ func ExampleG2EngineServer_GetEntityByEntityID() { } func ExampleG2EngineServer_GetEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetEntityByEntityID_V2Request{ @@ -2009,7 +2009,7 @@ func ExampleG2EngineServer_GetEntityByEntityID_V2() { } func ExampleG2EngineServer_GetEntityByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetEntityByRecordIDRequest{ @@ -2025,7 +2025,7 @@ func ExampleG2EngineServer_GetEntityByRecordID() { } func ExampleG2EngineServer_GetEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetEntityByRecordID_V2Request{ @@ -2042,7 +2042,7 @@ func ExampleG2EngineServer_GetEntityByRecordID_V2() { } func ExampleG2EngineServer_GetRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetRecordRequest{ @@ -2058,7 +2058,7 @@ func ExampleG2EngineServer_GetRecord() { } func ExampleG2EngineServer_GetRecord_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetRecord_V2Request{ @@ -2075,7 +2075,7 @@ func ExampleG2EngineServer_GetRecord_V2() { } func ExampleG2EngineServer_GetRedoRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetRedoRecordRequest{} @@ -2088,7 +2088,7 @@ func ExampleG2EngineServer_GetRedoRecord() { } func ExampleG2EngineServer_GetRepositoryLastModifiedTime() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetRepositoryLastModifiedTimeRequest{} @@ -2101,7 +2101,7 @@ func ExampleG2EngineServer_GetRepositoryLastModifiedTime() { } func ExampleG2EngineServer_GetVirtualEntityByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetVirtualEntityByRecordIDRequest{ @@ -2116,7 +2116,7 @@ func ExampleG2EngineServer_GetVirtualEntityByRecordID() { } func ExampleG2EngineServer_GetVirtualEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.GetVirtualEntityByRecordID_V2Request{ @@ -2132,7 +2132,7 @@ func ExampleG2EngineServer_GetVirtualEntityByRecordID_V2() { } func ExampleG2EngineServer_HowEntityByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.HowEntityByEntityIDRequest{ @@ -2147,7 +2147,7 @@ func ExampleG2EngineServer_HowEntityByEntityID() { } func ExampleG2EngineServer_HowEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.HowEntityByEntityID_V2Request{ @@ -2163,7 +2163,7 @@ func ExampleG2EngineServer_HowEntityByEntityID_V2() { } func ExampleG2EngineServer_PrimeEngine() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.PrimeEngineRequest{} @@ -2176,7 +2176,7 @@ func ExampleG2EngineServer_PrimeEngine() { } func ExampleG2EngineServer_SearchByAttributes() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.SearchByAttributesRequest{ @@ -2191,7 +2191,7 @@ func ExampleG2EngineServer_SearchByAttributes() { } func ExampleG2EngineServer_SearchByAttributes_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.SearchByAttributes_V2Request{ @@ -2210,7 +2210,7 @@ func ExampleG2EngineServer_SearchByAttributes_V2() { // } func ExampleG2EngineServer_Stats() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.StatsRequest{} @@ -2223,7 +2223,7 @@ func ExampleG2EngineServer_Stats() { } func ExampleG2EngineServer_WhyEntities() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntitiesRequest{ @@ -2239,7 +2239,7 @@ func ExampleG2EngineServer_WhyEntities() { } func ExampleG2EngineServer_WhyEntities_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntities_V2Request{ @@ -2256,7 +2256,7 @@ func ExampleG2EngineServer_WhyEntities_V2() { } func ExampleG2EngineServer_WhyEntityByEntityID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntityByEntityIDRequest{ @@ -2271,7 +2271,7 @@ func ExampleG2EngineServer_WhyEntityByEntityID() { } func ExampleG2EngineServer_WhyEntityByEntityID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntityByEntityID_V2Request{ @@ -2287,7 +2287,7 @@ func ExampleG2EngineServer_WhyEntityByEntityID_V2() { } func ExampleG2EngineServer_WhyEntityByRecordID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntityByRecordIDRequest{ @@ -2303,7 +2303,7 @@ func ExampleG2EngineServer_WhyEntityByRecordID() { } func ExampleG2EngineServer_WhyEntityByRecordID_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyEntityByRecordID_V2Request{ @@ -2320,7 +2320,7 @@ func ExampleG2EngineServer_WhyEntityByRecordID_V2() { } func ExampleG2EngineServer_WhyRecords() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyRecordsRequest{ @@ -2338,7 +2338,7 @@ func ExampleG2EngineServer_WhyRecords() { } func ExampleG2EngineServer_WhyRecords_V2() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.WhyRecords_V2Request{ @@ -2357,7 +2357,7 @@ func ExampleG2EngineServer_WhyRecords_V2() { } func ExampleG2EngineServer_Process() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessRequest{ @@ -2372,7 +2372,7 @@ func ExampleG2EngineServer_Process() { } func ExampleG2EngineServer_ProcessRedoRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessRedoRecordRequest{} @@ -2385,7 +2385,7 @@ func ExampleG2EngineServer_ProcessRedoRecord() { } func ExampleG2EngineServer_ProcessRedoRecordWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessRedoRecordWithInfoRequest{ @@ -2400,7 +2400,7 @@ func ExampleG2EngineServer_ProcessRedoRecordWithInfo() { } func ExampleG2EngineServer_ProcessWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessWithInfoRequest{ @@ -2416,7 +2416,7 @@ func ExampleG2EngineServer_ProcessWithInfo() { } func ExampleG2EngineServer_ProcessWithResponse() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessWithResponseRequest{ @@ -2431,7 +2431,7 @@ func ExampleG2EngineServer_ProcessWithResponse() { } func ExampleG2EngineServer_ProcessWithResponseResize() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ProcessWithResponseResizeRequest{ @@ -2446,7 +2446,7 @@ func ExampleG2EngineServer_ProcessWithResponseResize() { } func ExampleG2EngineServer_ReevaluateEntity() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReevaluateEntityRequest{ @@ -2462,7 +2462,7 @@ func ExampleG2EngineServer_ReevaluateEntity() { } func ExampleG2EngineServer_ReevaluateEntityWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReevaluateEntityWithInfoRequest{ @@ -2478,7 +2478,7 @@ func ExampleG2EngineServer_ReevaluateEntityWithInfo() { } func ExampleG2EngineServer_ReevaluateRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReevaluateRecordRequest{ @@ -2495,7 +2495,7 @@ func ExampleG2EngineServer_ReevaluateRecord() { } func ExampleG2EngineServer_ReevaluateRecordWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReevaluateRecordWithInfoRequest{ @@ -2512,7 +2512,7 @@ func ExampleG2EngineServer_ReevaluateRecordWithInfo() { } func ExampleG2EngineServer_ReplaceRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReplaceRecordRequest{ @@ -2530,7 +2530,7 @@ func ExampleG2EngineServer_ReplaceRecord() { } func ExampleG2EngineServer_ReplaceRecordWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.ReplaceRecordWithInfoRequest{ @@ -2549,7 +2549,7 @@ func ExampleG2EngineServer_ReplaceRecordWithInfo() { } func ExampleG2EngineServer_DeleteRecord() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.DeleteRecordRequest{ @@ -2566,7 +2566,7 @@ func ExampleG2EngineServer_DeleteRecord() { } func ExampleG2EngineServer_DeleteRecordWithInfo() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.DeleteRecordWithInfoRequest{ @@ -2584,7 +2584,7 @@ func ExampleG2EngineServer_DeleteRecordWithInfo() { } func ExampleG2EngineServer_Init() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -2606,7 +2606,7 @@ func ExampleG2EngineServer_Init() { } func ExampleG2EngineServer_InitWithConfigID() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -2629,7 +2629,7 @@ func ExampleG2EngineServer_InitWithConfigID() { } func ExampleG2EngineServer_Reinit() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) @@ -2652,7 +2652,7 @@ func ExampleG2EngineServer_Reinit() { } func ExampleG2EngineServer_PurgeRepository() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.PurgeRepositoryRequest{} @@ -2665,7 +2665,7 @@ func ExampleG2EngineServer_PurgeRepository() { } func ExampleG2EngineServer_Destroy() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2engineserver/g2engineserver_test.go ctx := context.TODO() g2engine := getG2EngineServer(ctx) request := &g2pb.DestroyRequest{} diff --git a/g2productserver/g2productserver_test.go b/g2productserver/g2productserver_test.go index a049df0..16bc7bc 100644 --- a/g2productserver/g2productserver_test.go +++ b/g2productserver/g2productserver_test.go @@ -212,7 +212,7 @@ func TestG2productServer_Destroy(test *testing.T) { // ---------------------------------------------------------------------------- func ExampleG2ProductServer_Init() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) iniParams, err := g2engineconfigurationjson.BuildSimpleSystemConfigurationJson("") @@ -233,7 +233,7 @@ func ExampleG2ProductServer_Init() { } func ExampleG2ProductServer_License() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) request := &g2pb.LicenseRequest{} @@ -246,7 +246,7 @@ func ExampleG2ProductServer_License() { } func ExampleG2ProductServer_ValidateLicenseFile() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) request := &g2pb.ValidateLicenseFileRequest{ @@ -261,7 +261,7 @@ func ExampleG2ProductServer_ValidateLicenseFile() { } func ExampleG2ProductServer_ValidateLicenseStringBase64() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) request := &g2pb.ValidateLicenseStringBase64Request{ @@ -276,7 +276,7 @@ func ExampleG2ProductServer_ValidateLicenseStringBase64() { } func ExampleG2ProductServer_Version() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) request := &g2pb.VersionRequest{} @@ -289,7 +289,7 @@ func ExampleG2ProductServer_Version() { } func ExampleG2ProductServer_Destroy() { - // For more information, visit https://github.com/Senzing/servegrpc/blob/main/g2productserver/g2productserver_test.go + // For more information, visit https://github.com/Senzing/serve-grpc/blob/main/g2productserver/g2productserver_test.go ctx := context.TODO() g2product := getG2ProductServer(ctx) request := &g2pb.DestroyRequest{} diff --git a/go.mod b/go.mod index 1102e4f..32437a6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/senzing/servegrpc +module github.com/senzing/serve-grpc go 1.20 diff --git a/grpcserver/grpcserver.go b/grpcserver/grpcserver.go index 09feb2a..329508e 100644 --- a/grpcserver/grpcserver.go +++ b/grpcserver/grpcserver.go @@ -13,11 +13,11 @@ import ( "github.com/senzing/go-logging/logger" "github.com/senzing/go-logging/messagelogger" "github.com/senzing/go-observing/observer" - "github.com/senzing/servegrpc/g2configmgrserver" - "github.com/senzing/servegrpc/g2configserver" - "github.com/senzing/servegrpc/g2diagnosticserver" - "github.com/senzing/servegrpc/g2engineserver" - "github.com/senzing/servegrpc/g2productserver" + "github.com/senzing/serve-grpc/g2configmgrserver" + "github.com/senzing/serve-grpc/g2configserver" + "github.com/senzing/serve-grpc/g2diagnosticserver" + "github.com/senzing/serve-grpc/g2engineserver" + "github.com/senzing/serve-grpc/g2productserver" "google.golang.org/grpc" "google.golang.org/grpc/reflection" ) diff --git a/main.go b/main.go index 03f41da..34b5835 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ package main import ( "log" - "github.com/senzing/servegrpc/cmd" + "github.com/senzing/serve-grpc/cmd" ) func main() { diff --git a/package.Dockerfile b/package.Dockerfile index 6332880..7ca0b41 100755 --- a/package.Dockerfile +++ b/package.Dockerfile @@ -12,7 +12,7 @@ ARG IMAGE_FINAL=alpine FROM ${IMAGE_GO_BUILDER} as go_builder ENV REFRESHED_AT 2023-03-08 -LABEL Name="senzing/servegrpc-builder" \ +LABEL Name="senzing/serve-grpc-builder" \ Maintainer="support@senzing.com" \ Version="0.3.6" @@ -58,7 +58,7 @@ RUN mkdir -p /output \ FROM ${IMAGE_FPM_BUILDER} as fpm_builder ENV REFRESHED_AT 2023-03-08 -LABEL Name="senzing/servegrpc-fpm-builder" \ +LABEL Name="senzing/serve-grpc-fpm-builder" \ Maintainer="support@senzing.com" \ Version="0.3.6" @@ -102,7 +102,7 @@ RUN fpm \ FROM ${IMAGE_FINAL} as final ENV REFRESHED_AT 2023-03-08 -LABEL Name="senzing/servegrpc" \ +LABEL Name="senzing/serve-grpc" \ Maintainer="support@senzing.com" \ Version="0.3.6" @@ -113,6 +113,6 @@ ARG PROGRAM_NAME # Copy files from prior step. COPY --from=fpm_builder "/output/linux/${PROGRAM_NAME}" "/output/linux/${PROGRAM_NAME}" -COPY --from=fpm_builder "/output/servegrpc-*" "/output/" +COPY --from=fpm_builder "/output/serve-grpc-*" "/output/" CMD ["/bin/bash"]