Skip to content

Commit ea9d93a

Browse files
update documenation
1 parent 49f5033 commit ea9d93a

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CE/appid-ce-deploy-apps.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export STATUS="Running"
2222
export FRONTEND_NAME="Cloud Native Starter with App ID"
2323

2424
# Application Images
25-
export WEBAPP_IMAGE="quay.io/$REPOSITORY/web-app-ce-appid:v4"
26-
export WEBAPI_IMAGE="quay.io/$REPOSITORY/web-api-ce-appid:v4"
27-
export ARTICLES_IMAGE="quay.io/$REPOSITORY/articles-ce-appid:v4"
25+
export WEBAPP_IMAGE="quay.io/$REPOSITORY/web-app-ce-appid:v5"
26+
export WEBAPI_IMAGE="quay.io/$REPOSITORY/web-api-ce-appid:v5"
27+
export ARTICLES_IMAGE="quay.io/$REPOSITORY/articles-ce-appid:v5"
2828

2929
# Application Names
3030
export WEBAPI=web-api-appid
@@ -301,7 +301,7 @@ function deployArticles(){
301301
--env APPID_AUTH_SERVER_URL_TENANT_A="$APPLICATION_OAUTHSERVERURL" \
302302
--env APPID_CLIENT_ID_TENANT_A="$APPLICATION_CLIENTID" \
303303
--max-scale 1 \
304-
--min-scale 0 \
304+
--min-scale 1 \
305305
--cluster-local
306306

307307
ibmcloud ce application get --name "$ARTICLES"
@@ -322,7 +322,7 @@ function deployWebAPI(){
322322
--env APPID_CLIENT_ID_TENANT_A="$APPLICATION_CLIENTID" \
323323
--env CNS_ARTICLES_URL_TENANT_A="http://$ARTICLES.$PROJECT_NAMESPACE.svc.cluster.local/articlesA" \
324324
--max-scale 1 \
325-
--min-scale 0 \
325+
--min-scale 1 \
326326
--port 8080
327327

328328
ibmcloud ce application get --name "$WEBAPI"
@@ -341,7 +341,7 @@ function deployWebApp(){
341341
--env VUE_APPID_CLIENT_ID="$APPLICATION_CLIENTID" \
342342
--env VUE_APPID_DISCOVERYENDPOINT="$APPLICATION_DISCOVERYENDPOINT" \
343343
--max-scale 1 \
344-
--min-scale 0 \
344+
--min-scale 1 \
345345
--port 8080
346346

347347
ibmcloud ce application get --name "$WEBAPP"

documentation/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Jumpstart: Deploy a Java Microservices Application to `Code Engine`
22

3+
> Attention: **Outdated!** Doesn't work fully correctly anymore!
4+
35
### Objectives
46

57
The workshop addresses the topic containerized applications on `IBM Cloud Code Engine`. ([GitHub project](https://github.com/ibm/ce-cns/))
@@ -19,7 +21,7 @@ Here is a `1-hour` YouTube `live stream` on [IBM Developer](https://www.youtube.
1921

2022
### Prerequisites
2123

22-
* In order to run this workshop, you will need to create an [IBM Cloud `PayAsYouGo` account](https://ibm.biz/BdfXAn) (or log in to your existing account).
24+
* To run this workshop, you will need to create an [IBM Cloud `PayAsYouGo` account](https://ibm.biz/BdfXAn) (or log in to your existing account).
2325

2426
> `Code Engine` has a `free tier` per month, and we expect, if you haven't used that `free tier` in current month, you can execute the workshop without creating any additional costs. For the monitoring and logging we will use free lite plans for the service instances [IBM Cloud Monitoring](https://cloud.ibm.com/docs/monitoring?topic=monitoring-getting-started#getting-started) and
2527
[IBM Cloud Log Analysis](https://cloud.ibm.com/docs/log-analysis?topic=log-analysis-getting-started#getting-started).

documentation/app-id-optional.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Optional Lab 3: Run the example application with App ID
22

3+
> Attention: **Outdated!** Doesn't work fully correctly anymore!
4+
35
In this optional lab, we use an [IBM Cloud App ID](https://www.ibm.com/cloud/app-id) service instance for authentication and authorization.
46

57
We will create an [IBM Cloud App ID](https://www.ibm.com/cloud/app-id) service instance using a **"lite"** plan, this plan type does not create additional costs for us.

0 commit comments

Comments
 (0)