You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* readme updates
* Customer jdbcclient service
* customer 32 changes
* Fixes for ObaaS deployment
* POST location fix, swagger and more.
* API docs using Spring docs
* Fix transfer endpoint
* API doc
* Remove debug info
* Fix OTEL env variable, corrected PUT endpoint
* endpoint updates and README update
* Readme and updates
* README and deploy update
**Note:** this version will not work on the `1.1.0` version of OBaaS due to JIB problems. THe service `obaas-admin` must be modified to be able to deploy CloudBank version 3.2.
4
-
5
3
Version 3.2 of CloudBank is under development. This document and application is WIP.
@@ -63,14 +80,106 @@ Version 3.2 of CloudBank is under development. This document and application is
63
80
oractl:>
64
81
```
65
82
66
-
## Test Cloudbank Services
83
+
## Deploy CloudBank
84
+
85
+
CloudBank can be deployed using the `--script`commandin`oractl`. CloudBank will be deployed in the namespace `cb32`. You are going to be asked for passwords when the `bind`command executes.
86
+
87
+
```text
88
+
oractl:>script --file deploy-cmds/deploy-cb32.txt
89
+
```
90
+
91
+
The output should look similar to this:
67
92
68
-
1. Test account service
93
+
```text
94
+
application/namespace created successfully and image pull secret (registry-auth) created successfully and database TNSAdmin/wallet secret created successfully
95
+
Database/Service Password: *************
96
+
Schema {account} was successfully Created and Kubernetes Secret {cb32/account} was successfully Created.
97
+
Database/Service Password: *************
98
+
Schema {account} was successfully Not_Modified and Kubernetes Secret {cb32/checks} was successfully Created.
99
+
Database/Service Password: *************
100
+
Schema {customer} was successfully Created and Kubernetes Secret {cb32/customer} was successfully Created.
101
+
Database/Service Password: *************
102
+
Schema {customer} was successfully Not_Modified and Kubernetes Secret {cb32/customer32} was successfully Created.
103
+
Database/Service Password: *************
104
+
Schema {account} was successfully Not_Modified and Kubernetes Secret {cb32/testrunner} was successfully Created.
deploy --app-name cb32 --service-name transfer --artifact-path transfer/target/transfer-0.0.1-SNAPSHOT.jar --image-version 0.0.1
165
+
```
166
+
167
+
## OpenAPI
168
+
169
+
All services has OpenAPI documentation and can be reached via the Swagger UI. For example after starting a port forward to anyone of the services you can got to the URL http://localhost:\<port\>/swagger-ui/index.html to see the documentation. Replace \<port\> with the port used in the port forward command.
170
+
171
+
This is an example of the `customer32` application:
1. Check account balances. Note that the account numbers 21 and 22 can be different in your environment
@@ -329,10 +465,10 @@ Version 3.2 of CloudBank is under development. This document and application is
329
465
}
330
466
```
331
467
332
-
1. Check the log file to confirm
468
+
1. Check the application log to confirm
333
469
334
470
```shell
335
-
kubectl -n application logs svc/transfer
471
+
kubectl -n cb32 logs svc/transfer
336
472
```
337
473
338
474
Output should look similar to this:
@@ -350,7 +486,9 @@ Version 3.2 of CloudBank is under development. This document and application is
350
486
2023-12-26T16:50:45.233Z INFO 1 --- [transfer] [io-8080-exec-10] [] com.example.transfer.TransferService : Process confirm for transfer : http://otmm-tcs.otmm.svc.cluster.local:9000/api/v1/lra-coordinator/ea98ebae-2358-4dd1-9d7c-09f4550d7567
351
487
```
352
488
353
-
1. Check Eureka
489
+
## Observability and Tracing
490
+
491
+
1. Check Eureka dashbaord
354
492
355
493
1. Port forward
356
494
@@ -362,7 +500,7 @@ Version 3.2 of CloudBank is under development. This document and application is
362
500
363
501

364
502
365
-
1. Check Jaeger
503
+
1. Check Jaeger dashbaord
366
504
367
505
1. Port forward
368
506
@@ -373,3 +511,19 @@ Version 3.2 of CloudBank is under development. This document and application is
373
511
1. Open <http://localhost:16686>in a browser and verify that all services are registered
374
512
375
513

514
+
515
+
1. Choose `customer32` Service and click *Find Traces*
1. Open <http://localhost:7070>in a browser and verify that all services are registered and you can see some data (you may have to selectthe dashboard you want to see)
0 commit comments