Skip to content

Commit 1d82478

Browse files
Add variable injector to the readme file
1 parent 2f88e68 commit 1d82478

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,12 +923,14 @@ topology:
923923
924924
And the resulting variable property file:
925925
926+
```
926927
Server.AdminServer.ListenPort=7001
927928
Server.AdminServer.SSL.ListenPort=7002
928929
Server.soa_server1.ListenPort=8001
929930
Server.soa_server1.SSL.ListenPort=8002
930931
Server.soa_server2.ListenPort=8001
931932
Server.soa_server2.SSL.ListenPort=8002
933+
```
932934

933935
To designate the name and location of the variable properties file, include the variable_file_name directive in the model_variable_injector.json file.
934936

@@ -1030,10 +1032,12 @@ We create a directive in our custom injector json file:
10301032

10311033
During the Discover Domain tool run, the pattern is applied to the URL string, and the resulting entries added to the variable properties:
10321034

1035+
```
10331036
URL: 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=@@PROP:JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Host@@:)(PORT=@@PROP:JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Port@@)))(CONNECT_DATA=(SERVICE_NAME=orcl.us.oracle.com)))'
10341037
10351038
JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Host=slc05til.us.oracle.com
10361039
JDBCSystemResource.Database1.JdbcResource.JDBCDriverParams.URL--Port=1521
1040+
```
10371041

10381042
### Selecting specific MBean names for variable injection
10391043

0 commit comments

Comments
 (0)