Skip to content

Commit

Permalink
WMS 11340 Updates (#100)
Browse files Browse the repository at this point in the history
* 1.1.1 -> 1.1.3

* port-forward port for testrunner

* dependency fix
  • Loading branch information
andytael authored Mar 22, 2024
1 parent b4e1bda commit fa1a41e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ If you would like to learn more about endpoints and implement the remainder of t
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::
Ask for help:
Expand Down
19 changes: 10 additions & 9 deletions obaas/check-processing/check-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Starting with the account service that you built in the previous lab, you will t
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::
Ask for help:
Expand Down Expand Up @@ -436,6 +436,7 @@ Next, you will create the "Test Runner" microservice which you will use to simul
<artifactId>oracle-spring-boot-starter-wallet</artifactId>
<type>pom</type>
<version>23.4.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down Expand Up @@ -626,7 +627,7 @@ Next, you will create the "Test Runner" microservice which you will use to simul
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::

Ask for help:
Expand Down Expand Up @@ -688,13 +689,13 @@ Next, you will create the "Test Runner" microservice which you will use to simul
The Test Runner service is not exposed outside your Kubernetes cluster, so you must create a port-forwarding tunnel to access it. Create a tunnel using this command:

```shell
$ <copy>kubectl -n application port-forward svc/testrunner 8080</copy>
$ <copy>kubectl -n application port-forward svc/testrunner 8084:8080</copy>
```

Call the deposit endpoint to send a deposit notification using this command:

```shell
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"accountId": 2, "amount": 200}' http://localhost:8080/api/v1/testrunner/deposit</copy>
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"accountId": 2, "amount": 200}' http://localhost:8084/api/v1/testrunner/deposit</copy>
HTTP/1.1 201
Date: Wed, 31 May 2023 15:11:55 GMT
Content-Type: application/json
Expand All @@ -707,7 +708,7 @@ Next, you will create the "Test Runner" microservice which you will use to simul
Call the clear endpoint to send a clearance notification using this command. Note that you can use any `journalId` since there is nothing receiving and processing these messages yet:

```shell
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"journalId": 4}' http://localhost:8080/api/v1/testrunner/clear</copy>
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"journalId": 4}' http://localhost:8084/api/v1/testrunner/clear</copy>
HTTP/1.1 201
Date: Wed, 31 May 2023 15:12:54 GMT
Content-Type: application/json
Expand Down Expand Up @@ -1158,7 +1159,7 @@ Next, you will create the "Check Processing" microservice which you will receive
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::

Ask for help:
Expand Down Expand Up @@ -1222,13 +1223,13 @@ Now you can test the full end-to-end flow for the Check Processing scenario.
The Test Runner service is not exposed outside your Kubernetes cluster, so you must create a port-forwarding tunnel to access it. Create a tunnel using this command:

```shell
$ <copy>kubectl -n application port-forward svc/testrunner 8080</copy>
$ <copy>kubectl -n application port-forward svc/testrunner 8084:8080</copy>
```

Simulate a check being deposited at the ATM using the Test Runner service:

```shell
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"accountId": 2, "amount": 256}' http://localhost:8080/api/v1/testrunner/deposit</copy>
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"accountId": 2, "amount": 256}' http://localhost:8084/api/v1/testrunner/deposit</copy>
HTTP/1.1 201
Date: Wed, 31 May 2023 15:11:55 GMT
Content-Type: application/json
Expand Down Expand Up @@ -1277,7 +1278,7 @@ Now you can test the full end-to-end flow for the Check Processing scenario.
Using the `journalId` you received in the output of the previous command (in this example it is `6`), update and then run this command to simulate the Back Office clearing that check:

```shell
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"journalId": 6}' http://localhost:8080/api/v1/testrunner/clear</copy>
$ <copy>curl -i -X POST -H 'Content-Type: application/json' -d '{"journalId": 6}' http://localhost:8084/api/v1/testrunner/clear</copy>
HTTP/1.1 201
Date: Wed, 31 May 2023 15:12:54 GMT
Content-Type: application/json
Expand Down
2 changes: 1 addition & 1 deletion obaas/deploy-cloudbank/deploy-cloudbank.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Download a copy of the CloudBank sample application.
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::
Ask for help:
Expand Down
2 changes: 1 addition & 1 deletion obaas/microtx/microtx.md
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ The services are now completed, and you are ready to deploy them to the Oracle B
\_/ |_) (_| (_| __) \_ |_ _|_
========================================================================================
Application Name: Oracle Backend Platform :: Command Line Interface
Application Version: (1.1.1)
Application Version: (1.1.3)
:: Spring Boot (v3.2.1) ::

Ask for help:
Expand Down
4 changes: 2 additions & 2 deletions obaas/setup/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ The Oracle Backend for Spring Boot CLI is used to configure your backend and to

1. Download the Oracle Backend for Spring Boot and Microservices CLI (*oractl*)

Download the CLI from [here](https://github.com/oracle/microservices-datadriven/releases/tag/OBAAS-1.1.1)
Download the CLI from [here](https://github.com/oracle/microservices-datadriven/releases/tag/OBAAS-1.1.3)

2. Install the Oracle Backend for Spring Boot and Microservices CLI (*oractl*)

Expand Down Expand Up @@ -406,7 +406,7 @@ If you plan to complete the Mobile App Development lab, you will need to install
If you plan to do the optional part of Lab. 5, you need to install in VS Code the Oracle Backend for Spring Boot and Microservices VS Code plugin. It is an extension to browse and deploy applications on the Oracle Backend for Spring Boot and Microservices platform. This plugin allows to inspect the content of an Oracle Backend for Spring Boot and Microservices deployment, in terms of applications, services and related configurations.
1. Download the plug-in from [here](https://github.com/oracle/microservices-datadriven/releases/tag/OBAAS-1.1.1).
1. Download the plug-in from [here](https://github.com/oracle/microservices-datadriven/releases/tag/OBAAS-1.1.3).
2. On the VS Code right menu bar, click on **Extensions** item:
Expand Down

0 comments on commit fa1a41e

Please sign in to comment.