Skip to content

Commit dc6a3f0

Browse files
author
Hasan Quadri
committed
Added section to verify service registry routing for engines
1 parent 6b8f51e commit dc6a3f0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

ca/app-package/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,28 @@ curl -X POST http://appformer-myproject.app.services.slogvpc4.caplatformdev.com/
9292
```
9393
Once this is complete the PODs will have been deployed and should be running.
9494

95+
#### Verify engines are accessible via service registry routes
96+
1. Obtain the service IP address of the Service Registry on Openshift
97+
```
98+
oc status
99+
```
100+
The entry for the Service Registry should look something like this. The IP address for the service is on svc/serviceregistry line.
101+
```
102+
svc/serviceregistry-1 - 172.30.57.61:80 -> 8080
103+
dc/serviceregistry-serviceregistry deploys ose3vdr1.services.slogvpc4.caplatformdev.com:5000/platform/serviceregistry-serviceregistry:1.0.2.57 (manual)
104+
#1 deployed about an hour ago - 1 pod
105+
exposed by route/serviceregistry-serviceregistry
106+
```
107+
2. Send a request to the Build Service via the Service Registry
108+
```
109+
curl <serviceregistry_ip>/default/ci/buildservice
110+
```
111+
3. Send a request to Jenkins via the Service Registry
112+
```
113+
curl <serviceregistry_ip>/default/ci/jenkins
114+
```
115+
116+
95117
#### Undeploy app
96118
This is needed when you need to push up new changes and to redeploy.
97119
You also need to do this if you decide to delete the app from Appformer.

0 commit comments

Comments
 (0)