Skip to content

Commit 74e02d3

Browse files
author
Wenjun Che
committed
ADAP-50: added setRdmUrl and setAssetesUrl
1 parent 9d79d5f commit 74e02d3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>co.openfin</groupId>
4343
<artifactId>openfin-desktop-java-adapter</artifactId>
44-
<version>5.44.2.3</version>
44+
<version>5.44.2.4</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>tablelayout</groupId>

src/main/java/com/openfin/desktop/demo/OpenFinDesktopDemo.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@
3333
* 2. to specify version of OpenFin Runtime
3434
* -Dcom.openfin.demo.version=5.44.8.56
3535
*
36-
* 3. to specify arguments to be passed to RVM installer
37-
* -Dcom.openfin.demo.rvm.arguments="--assetsUrl=https://myServer/release --rvm-config=https://myServer/rvm.json"
36+
* 3. to specify RDM URL
37+
* -Dcom.openfin.demo.rdmURL=rdm_url
38+
*
39+
* 4. to specify URL of RVM&Runtime URL
40+
* -Dcom.openfin.demo.assetsURL=assets_url
3841
*
3942
* 4. to connect to a port of a running instance of OpenFin Runtime (this is a deprecated use of OpenFin API
4043
* -Dcom.openfin.demo.port=9000
@@ -107,6 +110,8 @@ private void initDesktopConnection() throws DesktopException {
107110
if (securityRealm != null) {
108111
this.desktopConnection.setRuntimeSecurityRealm(securityRealm);
109112
}
113+
this.desktopConnection.setRdmUrl(java.lang.System.getProperty("com.openfin.demo.rdmURL"));
114+
this.desktopConnection.setRuntimeAssetsUrl(java.lang.System.getProperty("com.openfin.demo.assetsURL"));
110115
this.desktopConnection.setAdditionalRuntimeArguments("--v=1"); // enable additional logging
111116
}
112117

0 commit comments

Comments
 (0)