Skip to content

Commit 11efb11

Browse files
committed
#329 Update dependencies
1 parent 8c2f17a commit 11efb11

File tree

3 files changed

+23
-62
lines changed

3 files changed

+23
-62
lines changed

docs/development.md

+2-41
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
3636
export GIT_REPOSITORY=serve-grpc
3737
export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git
3838
export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
39-
4039
```
4140

4241
1. Using the environment variables values just set, follow
@@ -50,7 +49,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
5049
```console
5150
cd ${GIT_REPOSITORY_DIR}
5251
make dependencies-for-development
53-
5452
```
5553

5654
1. Install dependencies needed for [Go] code.
@@ -59,7 +57,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
5957
```console
6058
cd ${GIT_REPOSITORY_DIR}
6159
make dependencies
62-
6360
```
6461

6562
## Lint
@@ -70,7 +67,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
7067
```console
7168
cd ${GIT_REPOSITORY_DIR}
7269
make lint
73-
7470
```
7571

7672
## Build
@@ -81,15 +77,13 @@ Since the Senzing library is a prerequisite, it must be installed first.
8177
```console
8278
cd ${GIT_REPOSITORY_DIR}
8379
make clean build
84-
8580
```
8681

8782
1. The binaries will be found in the `${GIT_REPOSITORY_DIR}/target` directory.
8883
Example:
8984

9085
```console
9186
tree ${GIT_REPOSITORY_DIR}/target
92-
9387
```
9488

9589
## Run
@@ -104,7 +98,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
10498

10599
```console
106100
export SENZING_TOOLS_DATABASE_FILE=/tmp/sqlite/G2C.db
107-
108101
```
109102

110103
1. Copy template database and run command.
@@ -115,21 +108,18 @@ Since the Senzing library is a prerequisite, it must be installed first.
115108
cp ${GIT_REPOSITORY_DIR}/testdata/sqlite/G2C.db ${SENZING_TOOLS_DATABASE_FILE}
116109
export SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@nowhere${SENZING_TOOLS_DATABASE_FILE}
117110
${GIT_REPOSITORY_DIR}/target/linux-amd64/serve-grpc
118-
119111
```
120112

121113
1. macOS
122114

123115
```console
124116
${GIT_REPOSITORY_DIR}/target/darwin-amd64/serve-grpc
125-
126117
```
127118

128119
1. Windows
129120

130121
```console
131122
${GIT_REPOSITORY_DIR}/target/windows-amd64/serve-grpc
132-
133123
```
134124

135125
1. Clean up.
@@ -138,7 +128,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
138128
```console
139129
cd ${GIT_REPOSITORY_DIR}
140130
make clean
141-
142131
```
143132

144133
## Test
@@ -149,7 +138,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
149138
```console
150139
cd ${GIT_REPOSITORY_DIR}
151140
make clean setup test
152-
153141
```
154142

155143
1. **Optional:** View the SQLite database.
@@ -164,7 +152,6 @@ Since the Senzing library is a prerequisite, it must be installed first.
164152
--tty \
165153
--volume /tmp/sqlite:/data \
166154
coleifer/sqlite-web
167-
168155
```
169156

170157
Visit [localhost:9174].
@@ -179,7 +166,6 @@ Create a code coverage map.
179166
```console
180167
cd ${GIT_REPOSITORY_DIR}
181168
make clean setup coverage
182-
183169
```
184170

185171
A web-browser will show the results of the coverage.
@@ -194,7 +180,6 @@ Create a code coverage map.
194180
```console
195181
cd ${GIT_REPOSITORY_DIR}
196182
make clean documentation
197-
198183
```
199184

200185
1. If a web page doesn't appear, visit [localhost:6060].
@@ -212,7 +197,6 @@ Example:
212197
```console
213198
cd ${GIT_REPOSITORY_DIR}
214199
make clean
215-
216200
```
217201

218202
## Docker
@@ -223,18 +207,18 @@ Example:
223207
```console
224208
cd ${GIT_REPOSITORY_DIR}
225209
make docker-build
226-
227210
```
228211

229212
1. Run docker container.
230213
Example:
231214

232215
```console
233216
docker run \
217+
--interactive \
234218
--publish 8261:8261 \
235219
--rm \
220+
--tty \
236221
senzing/serve-grpc
237-
238222
```
239223

240224
1. **Optional:** Test using `docker-compose`.
@@ -243,15 +227,13 @@ Example:
243227
```console
244228
cd ${GIT_REPOSITORY_DIR}
245229
make clean docker-test
246-
247230
```
248231

249232
To bring the `docker-compose` formation, run
250233

251234
```console
252235
cd ${GIT_REPOSITORY_DIR}
253236
make clean
254-
255237
```
256238

257239
## Package
@@ -268,15 +250,13 @@ The actual packaging is done in the [senzing-tools] repository.
268250
```console
269251
cd ${GIT_REPOSITORY_DIR}
270252
make package
271-
272253
```
273254

274255
1. The results will be in the `${GIT_REPOSITORY_DIR}/target` directory.
275256
Example:
276257

277258
```console
278259
tree ${GIT_REPOSITORY_DIR}/target
279-
280260
```
281261

282262
### Test DEB package on Ubuntu
@@ -286,7 +266,6 @@ The actual packaging is done in the [senzing-tools] repository.
286266

287267
```console
288268
apt list --installed | grep serve-grpc
289-
290269
```
291270

292271
1. :pencil2: Install `serve-grpc`.
@@ -296,15 +275,13 @@ The actual packaging is done in the [senzing-tools] repository.
296275
```console
297276
cd ${GIT_REPOSITORY_DIR}/target
298277
sudo apt install ./serve-grpc-0.0.0.deb
299-
300278
```
301279

302280
1. :pencil2: Identify a location for database.
303281
Example:
304282

305283
```console
306284
export SENZING_TOOLS_DATABASE_FILE=/tmp/sqlite/G2C.db
307-
308285
```
309286

310287
1. Copy template database and run command.
@@ -314,7 +291,6 @@ The actual packaging is done in the [senzing-tools] repository.
314291
mkdir --parents ${SENZING_TOOLS_DATABASE_FILE%/*}
315292
cp ${GIT_REPOSITORY_DIR}/testdata/sqlite/G2C.db ${SENZING_TOOLS_DATABASE_FILE}
316293
export SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@nowhere${SENZING_TOOLS_DATABASE_FILE}
317-
318294
```
319295

320296
1. :pencil2: Run command.
@@ -323,15 +299,13 @@ The actual packaging is done in the [senzing-tools] repository.
323299
```console
324300
export LD_LIBRARY_PATH=/opt/senzing/er/lib/
325301
serve-grpc
326-
327302
```
328303

329304
1. Remove `serve-grpc` from system.
330305
Example:
331306

332307
```console
333308
sudo apt-get remove serve-grpc
334-
335309
```
336310

337311
### Test RPM package on Centos
@@ -341,7 +315,6 @@ The actual packaging is done in the [senzing-tools] repository.
341315

342316
```console
343317
yum list installed | grep serve-grpc
344-
345318
```
346319

347320
1. :pencil2: Install `serve-grpc`.
@@ -351,7 +324,6 @@ The actual packaging is done in the [senzing-tools] repository.
351324
```console
352325
cd ${GIT_REPOSITORY_DIR}/target
353326
sudo yum install ./serve-grpc-0.0.0.rpm
354-
355327
```
356328

357329
1. :pencil2: Identify database.
@@ -360,7 +332,6 @@ The actual packaging is done in the [senzing-tools] repository.
360332

361333
```console
362334
export SENZING_TOOLS_DATABASE_URL=sqlite3://na:na@nowhere/tmp/sqlite/G2C.db
363-
364335
```
365336

366337
1. Run command.
@@ -369,15 +340,13 @@ The actual packaging is done in the [senzing-tools] repository.
369340
```console
370341
export LD_LIBRARY_PATH=/opt/senzing/er/lib/
371342
serve-grpc
372-
373343
```
374344

375345
1. Remove `serve-grpc` from system.
376346
Example:
377347

378348
```console
379349
sudo yum remove serve-grpc
380-
381350
```
382351

383352
## Specialty
@@ -393,7 +362,6 @@ in testing the `sz-sdk-go-core` packages.
393362

394363
```console
395364
export SENZING_DEMO_DIR=~/my-senzing-demo
396-
397365
```
398366

399367
1. Bring up the docker-compose stack.
@@ -422,7 +390,6 @@ in testing the `sz-sdk-go-core` packages.
422390

423391
cd ${SENZING_DEMO_DIR}
424392
sudo --preserve-env docker-compose up
425-
426393
```
427394

428395
1. In a separate terminal window, set environment variables.
@@ -432,15 +399,13 @@ in testing the `sz-sdk-go-core` packages.
432399
```console
433400
export LOCAL_IP_ADDRESS=$(curl --silent https://raw.githubusercontent.com/senzing-garage/knowledge-base/main/gists/find-local-ip-address/find-local-ip-address.py | python3 -)
434401
export SENZING_TOOLS_DATABASE_URL=postgresql://postgres:postgres@${LOCAL_IP_ADDRESS}:5432/er/?sslmode=disable
435-
436402
```
437403

438404
1. Run tests.
439405

440406
```console
441407
cd ${GIT_REPOSITORY_DIR}
442408
make clean test
443-
444409
```
445410

446411
1. **Optional:** View the PostgreSQL database.
@@ -458,7 +423,6 @@ in testing the `sz-sdk-go-core` packages.
458423

459424
cd ${GIT_REPOSITORY_DIR}
460425
make clean
461-
462426
```
463427

464428
### Test using bloomrpc
@@ -477,7 +441,6 @@ For other gRPC tools, visit [Awesome gRPC].
477441
```console
478442
wget https://github.com/bloomrpc/bloomrpc/releases/download/1.5.3/bloomrpc_1.5.3_amd64.deb
479443
sudo apt install ./bloomrpc_1.5.3_amd64.deb
480-
481444
```
482445

483446
1. Start the test server.
@@ -486,15 +449,13 @@ For other gRPC tools, visit [Awesome gRPC].
486449
```console
487450
cd ${GIT_REPOSITORY_DIR}
488451
make clean run-serve-grpc
489-
490452
```
491453

492454
1. In a separate terminal, start the gRPC test client.
493455
Example:
494456

495457
```console
496458
bloomrpc
497-
498459
```
499460

500461
1. In `bloomrpc`:

go.mod

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/senzing-garage/go-observing v0.3.3
1313
github.com/senzing-garage/sz-sdk-go v0.14.2
1414
github.com/senzing-garage/sz-sdk-go-core v0.8.3
15-
github.com/senzing-garage/sz-sdk-proto v0.7.8
15+
github.com/senzing-garage/sz-sdk-proto v0.7.9
1616
github.com/spf13/cobra v1.8.1
1717
github.com/spf13/viper v1.19.0
1818
github.com/stretchr/testify v1.9.0
@@ -39,12 +39,12 @@ require (
3939
github.com/spf13/pflag v1.0.5 // indirect
4040
github.com/subosito/gotenv v1.6.0 // indirect
4141
go.uber.org/multierr v1.11.0 // indirect
42-
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
43-
golang.org/x/net v0.29.0 // indirect
44-
golang.org/x/sys v0.25.0 // indirect
45-
golang.org/x/text v0.18.0 // indirect
46-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f // indirect
47-
google.golang.org/protobuf v1.34.2 // indirect
42+
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 // indirect
43+
golang.org/x/net v0.30.0 // indirect
44+
golang.org/x/sys v0.26.0 // indirect
45+
golang.org/x/text v0.19.0 // indirect
46+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect
47+
google.golang.org/protobuf v1.35.1 // indirect
4848
gopkg.in/ini.v1 v1.67.0 // indirect
4949
gopkg.in/yaml.v3 v3.0.1 // indirect
5050
)

0 commit comments

Comments
 (0)