Skip to content

Conversation

rosemarymarano
Copy link
Contributor

Rough first draft, up to the Appendix. Still expect to do a comprehensive edit, refine images, and incorporate input before proceeding to work on the Appendix.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 30, 2023

To start the discovery process, click **OK**. After it completes, make the following required model changes:

- Fill in the credentials using `weblogic` as the user names and `welcome1` as the passwords.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think you can add username and password in the QuickStart, look at comment above

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot have hardcoded usernames and passwords in our samples per policy.

1. Delete the SSL block under the `todo-srv-template`.
2. Under `todo-srv-template`, remove the `ListenPort` field and replace it with the `ListenPortEnabled` field set to `true`.
3. In the `JDBCDriverParams` block, change `localhost` to `mysql` in the URL field.
4. Set the empty variable values using `weblogic` as the user name and `welcome1` as the password.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think you can add username and password in the QuickStart, look at comment above

2. Notice that the `Replicas` value for the cluster is set to the maximum size of the cluster, as specified in the model. Select the Pencil icon toward the right end of the row. Notice that you cannot set the `Replicas` value higher than 10. After you are done, change the value to `2` and click `OK`.
3. Next, look at the `Model Variables Overrides` section. This section lets you override the values specified in the variables model file in the auxiliary image using a Kubernetes ConfigMap. Because you do not need to override these values, you can move on to the `Secrets` section.

The `Secrets` section contains all model-defined secrets and lets you specify the user name and password. In the preceding image, notice that the secret associated with your MySQL database connection is already populated. This value was removed from the model (or the variable reference) by the Prepare Model action and added here. If you run **Prepare Model** more than once, you will lose this value and must enter it manually. WDT generally will not populate password values so you need to enter your MySQL database password, which is set to `welcome1` in the Quick Start `scripts/wkoDeployMySQL` script. If you want, feel free to change it to something more secure but make sure that the user name and password match in the script and WKTUI.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can not hard code passwords in the QUickStart, 'welcome1' is an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

@robertpatrick robertpatrick added the work-in-progress PR is not yet complete label Apr 5, 2023
@robertpatrick robertpatrick changed the title Quick Start Guide WIP: Quick Start Guide Apr 5, 2023
@robertpatrick robertpatrick deleted the rm/quick-start branch April 25, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement. work-in-progress PR is not yet complete

6 participants