-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #422 from ministryofjustice/oasys/bip-build-improv…
…ement2 Added libraries and cache reload in code and removed delay in service startup
- Loading branch information
Showing
18 changed files
with
180 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,3 +86,8 @@ | |
tags: | ||
- bip_db_create | ||
- never | ||
|
||
- import_tasks: service_managedserver.yml | ||
tags: | ||
- amibuild | ||
- ec2provision |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- name: Pause for 30 minutes to let admin server start properly in few cases even though it was running connecting to it was causing issues for few mins | ||
ansible.builtin.pause: | ||
minutes: 20 | ||
|
||
- name: Start weblogic managed server | ||
ansible.builtin.service: | ||
name: "{{ item }}" | ||
state: started | ||
loop: | ||
- wls_managedserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ansible/roles/oasys-bip/templates/10.3/etc/systemd/system/wls_adminserver.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ansible/roles/oasys-bip/templates/10.3/etc/systemd/system/wls_managedserver.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ansible/roles/oasys-bip/templates/10.3/home/oracle/admin/scripts/weblogic.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
domain.adminServerName=AdminServer | ||
domain.adminurl={{ weblogic_domain_hostname }}:7001 | ||
domain.adminServerName={{ admin_server }} | ||
domain.adminurl={{ weblogic_domain_hostname }}:{{ admin_port }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# AdminServer connection details. | ||
admin.username={{ weblogic_admin_username }} | ||
admin.password={{ weblogic_admin_password }} | ||
admin.url={{ weblogic_domain_hostname }}:7001 | ||
admin.url={{ weblogic_domain_hostname }}:{{ admin_port }} | ||
|
||
# Managed Server | ||
ms.name=AdminServer | ||
ms.name={{ admin_server }} |
2 changes: 1 addition & 1 deletion
2
ansible/roles/oasys-bip/templates/addApplicationPrivileges.exp.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/expect | ||
set PASSWORD [lindex $argv 0] | ||
|
||
spawn {{ middleware_home }}/oracle_common/common/bin/wlst.sh {{ stage }}/addBIPCodeGrants.py t3://{{ weblogic_servername }}:7001 weblogic | ||
spawn {{ middleware_home }}/oracle_common/common/bin/wlst.sh {{ stage }}/addBIPCodeGrants.py t3://{{ weblogic_servername }}:{{ admin_port }} weblogic | ||
expect "\Please enter password:\]" | ||
send "$PASSWORD\r" | ||
expect eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# AdminServer Connection | ||
# {{ admin_server }} Connection | ||
|
||
admin.username={{ weblogic_admin_username }} | ||
admin.password={{ weblogic_admin_password }} | ||
admin.url={{ weblogic_domain_hostname }}:7001 | ||
admin.url={{ weblogic_domain_hostname }}:{{ admin_port }} | ||
|
||
# Managed Server | ||
ms.name=bi_server1 | ||
ms.name={{ managed_server }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.