From 3a332ceac12a1e2d5f907f2ccaa6e4660a5a98ac Mon Sep 17 00:00:00 2001 From: TechnoRoss Date: Tue, 29 Oct 2024 13:51:52 -0500 Subject: [PATCH 1/2] add node descriptions for new dvlint version requirement --- .../davinci-widget-reg-authn-flow.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/terraform/davinci_flows/davinci-widget-reg-authn-flow.json b/terraform/davinci_flows/davinci-widget-reg-authn-flow.json index 8186791..3edde14 100644 --- a/terraform/davinci_flows/davinci-widget-reg-authn-flow.json +++ b/terraform/davinci_flows/davinci-widget-reg-authn-flow.json @@ -84,6 +84,9 @@ ] } ] + }, + "nodeDescription": { + "value": "Prompt for Email" } }, "status": "configured", @@ -122,6 +125,9 @@ }, "userIdentifierForFindUser": { "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"http.svg\",\n \"url\": \"email\",\n \"data\": \"{{local.cfpq1xg2dc.payload.output.email}}\",\n \"tooltip\": \"{{local.cfpq1xg2dc.payload.output.email}}\",\n \"children\": [\n {\n \"text\": \"email\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]" + }, + "nodeDescription": { + "value": "Check if user exists" } }, "status": "configured", @@ -228,6 +234,9 @@ ] } ] + }, + "nodeDescription": { + "value": "Prompt for existing user password" } }, "status": "configured", @@ -309,6 +318,9 @@ ] } ] + }, + "nodeDescription": { + "value": "Register new user" } }, "status": "configured", @@ -373,6 +385,9 @@ }, "username": { "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"http.svg\",\n \"url\": \"email\",\n \"data\": \"{{local.0di26c5iy7.payload.output.email}}\",\n \"tooltip\": \"{{local.0di26c5iy7.payload.output.email}}\",\n \"children\": [\n {\n \"text\": \"email\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]" + }, + "nodeDescription": { + "value": "Create new user" } }, "status": "configured", @@ -437,6 +452,9 @@ }, "nodeTitle": { "value": "Successfully Completed Login" + }, + "nodeDescription": { + "value": "Display login success" } }, "status": "configured", @@ -495,6 +513,9 @@ }, "password": { "value": "[\n {\n \"children\": [\n {\n \"text\": \"\"\n },\n {\n \"text\": \"\"\n },\n {\n \"type\": \"link\",\n \"src\": \"http.svg\",\n \"url\": \"password\",\n \"data\": \"{{local.eg2kadjdo1.payload.output.password}}\",\n \"tooltip\": \"{{local.eg2kadjdo1.payload.output.password}}\",\n \"children\": [\n {\n \"text\": \"password\"\n }\n ]\n },\n {\n \"text\": \"\"\n }\n ]\n }\n]" + }, + "nodeDescription": { + "value": "Check provided password" } }, "status": "configured", @@ -564,6 +585,9 @@ }, "nodeTitle": { "value": "Successfully Completed Reg" + }, + "nodeDescription": { + "value": "Display successful registration" } }, "status": "configured", From 13655add6816de8ed53a661f389cf19664e3d450 Mon Sep 17 00:00:00 2001 From: TechnoRoss Date: Tue, 29 Oct 2024 14:24:42 -0500 Subject: [PATCH 2/2] README again, terraform format --- README.md | 9 +++++++++ terraform/customer_simple_registration.tf | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b30ce23..83fbf4b 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,15 @@ Click the **Use this template** button at the top right of this page to create y > [!NOTE] > A pipeline will run and fail when the repository is created. This result is expected as the pipeline is attempting to deploy the application and the necessary configuration has not yet been completed. +Create a `qa` branch from the `prod` branch in the repository. This branch will be used to test the changes before they are promoted to the `prod` branch. Changes to the `qa` branch in this repository are deployed to the `qa` environment in PingOne. As with the `prod` branch, the pipeline will fail due to missing configuration. + +```bash +git checkout prod +git pull origin prod +git checkout -b qa +git push origin qa +``` + ## Development Lifecycle Diagram The use cases in this repository follow a flow similar to this diagram: diff --git a/terraform/customer_simple_registration.tf b/terraform/customer_simple_registration.tf index 07c353d..cb8c650 100644 --- a/terraform/customer_simple_registration.tf +++ b/terraform/customer_simple_registration.tf @@ -89,8 +89,8 @@ resource "docker_image" "registration" { # Define a Docker container resource resource "docker_container" "registration" { - name = "simple-registration" - image = docker_image.registration.image_id + name = "simple-registration" + image = docker_image.registration.image_id network_mode = "bridge" ports { internal = 8443