Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a shared variable for db driver name. #161

Closed
wants to merge 1 commit into from

Conversation

galiacheng
Copy link
Contributor

@galiacheng galiacheng commented Jun 16, 2022

Resolved #160
Signed-off-by: galiacheng haixia.cheng@microsoft.com

Changes to be committed:
modified: weblogic-azure-aks/src/main/arm/scripts/buildWLSDockerImage.sh
modified: weblogic-azure-aks/src/main/arm/scripts/common.sh
modified: weblogic-azure-aks/src/main/arm/scripts/genImageModel.sh

Signed-off-by: galiacheng <haixia.cheng@microsoft.com>

 Changes to be committed:
	modified:   weblogic-azure-aks/src/main/arm/scripts/buildWLSDockerImage.sh
	modified:   weblogic-azure-aks/src/main/arm/scripts/common.sh
	modified:   weblogic-azure-aks/src/main/arm/scripts/genImageModel.sh
Copy link
Contributor

@zhengchang907 zhengchang907 left a comment

Choose a reason for hiding this comment

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

LGTM

export wdtDownloadURL="https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-1.9.17/weblogic-deploy.zip"
export witDownloadURL="https://github.com/oracle/weblogic-image-tool/releases/download/release-1.9.16/imagetool.zip"
export wlsPostgresqlDriverUrl="https://jdbc.postgresql.org/download/postgresql-42.3.6.jar"
export wlsMSSQLDriverUrl="https://repo.maven.apache.org/maven2/com/microsoft/sqlserver/mssql-jdbc/10.2.1.jre8/mssql-jdbc-10.2.1.jre8.jar"
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can do something like:

export wlsMSSQLDriverUrl="https://repo.maven.apache.org/maven2/com/microsoft/sqlserver/mssql-jdbc/10.2.1.jre8/${constMSSQLDriverName}"

Not sure if it's better, because the download path /10.2.1.jre8/ seems not that friendly

Download link from GitHub also follows this pattern: https://github.com/microsoft/mssql-jdbc/releases/download/v10.2.1/mssql-jdbc-10.2.1.jre8.jar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catching!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But I think it's reasonable to keep the default path, as this folder has all related files, it helps us with the location if someday we want to check other resources.

So I will keep the url link.

@galiacheng
Copy link
Contributor Author

Test:
image

@galiacheng
Copy link
Contributor Author

galiacheng commented Jun 17, 2022

Close this pr, as #165 includes the changes and is approved by Ed.

@galiacheng galiacheng closed this Jun 17, 2022
@galiacheng galiacheng deleted the fix-db-driver-name branch June 20, 2022 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

buildWLSDockerImage.sh 3rd party jar -o value incorrectly hard coded.
2 participants