Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Sentinel 4.0.7 java11 032819 #1

Draft
wants to merge 76 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
a7547ba
updated the configuration settings, build properties for the tech sta…
vikramsan Jan 13, 2016
3738975
fix for the logging issue
vikramsan Jan 13, 2016
9afeaed
fix for the logging issue
vikramsan Jan 13, 2016
77cffc7
Updated the NIH logo
vikramsan Jan 19, 2016
6c8aaf2
added the missing filter tokens required for the cli scripts
vikramsan Jan 25, 2016
ab05f9a
fixed the typo in the deploy cli
vikramsan Jan 25, 2016
716c5cd
fixed the typo in the deploy cli
vikramsan Jan 25, 2016
fce2e91
Updated the files & config required for the autorun cron job
vikramsan Jan 27, 2016
c1e1c19
updated the autorun shell script
vikramsan Jan 27, 2016
0df7705
Updated the build to include a few classed required for the cron job
vikramsan Jan 28, 2016
f37442e
Update to the cron job
vikramsan Feb 2, 2016
281a3c5
Updated the application version
vikramsan Feb 2, 2016
c908aab
Updated the build.xml to correct the mistake in defining the datasour…
vikramsan Feb 5, 2016
4862835
Minor cleanup of build.xml
vikramsan Feb 5, 2016
b30f5d3
Correcting build.xml
vikramsan Feb 5, 2016
81eef26
Correcting build.xml
vikramsan Feb 5, 2016
d5614c9
Correcting build.xml
vikramsan Feb 5, 2016
8c882fd
Updated the cron job params
vikramsan Feb 9, 2016
17e51af
Updated the cron job params
vikramsan Feb 15, 2016
b3d6c36
Updated the caDSR & Sentinel logos, along with links to nih.gov
vikramsan Feb 24, 2016
0361594
Split the autorun job into two
vikramsan Mar 9, 2016
507dfa7
Removed the tag from being displayed on the footer
vikramsan Mar 9, 2016
1d30231
Updated the autorun & metadatacleanup scripts
vikramsan Mar 9, 2016
fcad96e
Minor tweak to application config
vikramsan Mar 10, 2016
058cfed
Change to the application config
vikramsan Mar 10, 2016
670b56b
Updated the metadata cleanup script
vikramsan Mar 11, 2016
a4ff46f
Upgraded EVS 6.4 libraries, config & code changes for LexEVS 6.4
vikramsan Nov 25, 2016
ec5b809
Updating the version application version for DEV
vikramsan Nov 26, 2016
a4ceb8b
Updated the links of the images in the Header & Footer to https
vikramsan Nov 29, 2016
0ab0469
Updating a few files
vikramsan Dec 1, 2016
0f40704
Adding debugging statments to troubleshoot the autorun job issue
vikramsan Dec 5, 2016
c177c2b
Debugging for a database credentials issue
vikramsan Dec 5, 2016
6be8ba5
Attempting code changes for the fix
vikramsan Dec 5, 2016
c84500b
Adding the commons-httpclient JAR
vikramsan Dec 6, 2016
b89793a
Trying more changes for the autorun job
vikramsan Dec 6, 2016
654c6bf
Minor tweaks for the attempt to fix
vikramsan Dec 6, 2016
4ac2b36
EVS (6.4) URL will now be picked up from the db
vikramsan Dec 6, 2016
8f9f09d
Minor tweak
vikramsan Dec 6, 2016
d294463
Minor tweak
vikramsan Dec 6, 2016
69a6891
Debugging the error that has returned on autorunjob. Cleanup is working
vikramsan Dec 7, 2016
3bd2efb
Minor update
vikramsan Dec 7, 2016
6197024
Debugging update
vikramsan Dec 7, 2016
8e7ba0a
Debugging update
vikramsan Dec 7, 2016
81be459
Final update for the fix - autorun job issue
vikramsan Dec 8, 2016
6915c8c
Updates for EVS 6.5 upgrade
vikramsan Dec 21, 2017
4963b4b
Cleanup for passwords, 508 & removing deplpoyed artifacts and classes
vikramsan Dec 22, 2017
c1ecfed
Adding properties for DEV & QA
vikramsan Dec 22, 2017
2c0bc57
Moving skipnav anchor closer to the page title
vikramsan Jan 9, 2018
1aa75fa
Moved the skipnav out from the logon.jsp to the HeadTag java class to
vikramsan Jan 9, 2018
d80a5f8
SENTINEL-218 Removed AutoProcessAlerts dependencies from AlertPlugIn …
asafieva Mar 5, 2018
a40b0c4
Removing .DS_Store files from source control
asafieva Mar 5, 2018
6fde6fd
Removing .DS_Store files from source control
asafieva Mar 5, 2018
e5757fa
SENTINEL-219 Changing build to clean up CronJob Location directory an…
asafieva Mar 5, 2018
f567123
Removing UI-only jars after war file is build from deployment-artifacts
asafieva Mar 5, 2018
8396ee2
Increased Java heap size
asafieva Mar 28, 2018
317127e
App support email, app version & CLI script changed (DS removal)
vikramsan Oct 3, 2018
8129790
java11 branch initial changes
asafieva Apr 2, 2019
d61cab8
java11 branch further changes
asafieva Apr 2, 2019
01edd7f
java11 branch further changes
asafieva Apr 2, 2019
3ed9865
java11 branch further changes
asafieva Apr 2, 2019
597aaea
java11 branch further changes
asafieva Apr 2, 2019
a88ae28
java11 branch further changes
asafieva Apr 2, 2019
27e553a
java11 branch further changes
asafieva Apr 2, 2019
79e50be
java11 branch further changes
asafieva Apr 2, 2019
033c7e5
java11 branch further changes
asafieva Apr 2, 2019
af43e52
java11 branch further changes
asafieva Apr 2, 2019
a45d310
java11 changes in cadsrsentinel_modules.cli
asafieva Apr 3, 2019
62a1a44
java11 changes in cadsrsentinel_modules.cli
asafieva Apr 3, 2019
0a47b48
java11 changes in cadsrsentinel_modules.cli
asafieva Apr 3, 2019
6182ab3
java11 adding datasource to cli caDSRDS which is required by sentinel
asafieva Apr 4, 2019
98be505
java11 datasource correction
asafieva Apr 4, 2019
83de4d4
java11 adding tier variables
asafieva Apr 5, 2019
097b4d8
java11 added dynamic properties to ant build
asafieva Apr 8, 2019
151e13f
correction of env var name
asafieva Apr 8, 2019
dbda9c1
java 11 env vars changes
asafieva Apr 8, 2019
9afc5aa
java 11 env vars changes
asafieva Apr 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions MetadataCleanup/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.source=1.8
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion MetadataCleanup/dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## also need to provide tiername=dev in the PTE form in order for this file to be invoked


appl.release=4.0.3
appl.release=4.0.4
JDEBUG=on
TEST=false

Expand Down
6 changes: 3 additions & 3 deletions MetadataCleanup/lib/cadsrsentinel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ L-->

<!-- Specify the caDSR database being used by the Sentinel Tool.
-->
<entry key="DSurl">ncidb-dsr-d.nci.nih.gov:1551:dsrdev.NCI.NIH.GOV</entry>
<entry key="DSusername">sentinel</entry>
<entry key="DSpassword">sentinel0412</entry>
<entry key="DSurl">@@-dburl-@@</entry>
<entry key="DSusername">@@-credentials-@@</entry>
<entry key="DSpassword">@@-credentials-@@</entry>

<entry key="audit.0.title">Table Row Counts</entry>
<entry key="audit.0.class">gov.nih.nci.cadsr.sentinel.audits.AuditSummary</entry>
Expand Down
Binary file added MetadataCleanup/lib/commons-codec-1.10.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/commons-codec-1.3.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/commons-dbcp-1.3.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/commons-dbcp-1.4.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/kryo-2.21.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/kryo-serializers-0.37.jar
Binary file not shown.
Binary file modified MetadataCleanup/lib/lexbig.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lexevsapi60-beans.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lexevsapi60-orm.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lexevsapi64-beans.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lexevsapi64-framework.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lucene-analyzers-2.4.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-codecs-5.3.1.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lucene-core-2.4.0.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-core-5.3.1.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-join-5.3.1.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lucene-queries-2.4.1.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-queries-5.3.1.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-queryparser-5.3.1.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lucene-regex-2.4.0.jar
Binary file not shown.
Binary file added MetadataCleanup/lib/lucene-sandbox-5.3.1.jar
Binary file not shown.
Binary file removed MetadataCleanup/lib/lucene-snowball-2.4.0.jar
Binary file not shown.
Binary file not shown.
Binary file added MetadataCleanup/lib/minlog-1.2.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion MetadataCleanup/metadata.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

TOOL.METADATA.MAXMSG=0
Appl.version=1.0.1
OUTPUT.DIR=C:/priv-file-repo/lexevsdb/bin/SentinelToolTestScript/Reports
OUTPUT.DIR=/local/content/cadsrsentinel/Reports
2 changes: 1 addition & 1 deletion MetadataCleanup/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#L

### Project specific properties that normally don't need to be updated within a release
appl.release=4.0.3
appl.release=4.0.4

help.url=https://wiki.nci.nih.gov/x/z4AFBw

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class CaDsrUserCredentials

private Logger _logger = Logger.getLogger(CaDsrUserCredentials.class);

private static String _jndiName = "java:/jdbc/caDSR";
private static String _jndiName = "java:jboss/datasources/caDSRDS";

private static final String CHECKOPTIONS = "select COUNT(*) from sbrext.tool_options_view_ext "
+ "where tool_name = 'caDSR' and property in ('LOCKOUT.TIMER', 'LOCKOUT.THRESHOLD')";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5190,7 +5190,7 @@ public AlertRec[] selectAlerts(Timestamp target_)
* The vector.
* @return The string array.
*/
private String[] paste(Vector<String> list_)
private String[] pasteString(Vector<String> list_)
{
String temp[] = new String[list_.size()];
for (int ndx = 0; ndx < temp.length; ++ndx)
Expand All @@ -5204,7 +5204,7 @@ private String[] paste(Vector<String> list_)
* @param list_ The vector.
* @return The Timestamp array.
*/
private Timestamp[] paste(Vector<Timestamp> list_)
private Timestamp[] pasteTimestamp(Vector<Timestamp> list_)
{
Timestamp temp[] = new Timestamp[list_.size()];
for (int ndx = 0; ndx < temp.length; ++ndx)
Expand Down Expand Up @@ -5265,12 +5265,12 @@ private ACData[] copyResults(ResultSet rs_) throws SQLException
{
if (!oldrec.isEquivalent(rec))
{
clist = paste(changes);
olist = paste(oval);
nlist = paste(nval);
dlist = paste(dval);
tlist = paste(tabl);
blist = paste(chgby);
clist = pasteString(changes);
olist = pasteString(oval);
nlist = pasteString(nval);
dlist = pasteTimestamp(dval);
tlist = pasteString(tabl);
blist = pasteString(chgby);
oldrec.setChanges(clist, olist, nlist, dlist, tlist, blist);
data.add(oldrec);

Expand Down Expand Up @@ -5309,12 +5309,12 @@ private ACData[] copyResults(ResultSet rs_) throws SQLException
}
if (oldrec != null)
{
clist = paste(changes);
olist = paste(oval);
nlist = paste(nval);
dlist = paste(dval);
tlist = paste(tabl);
blist = paste(chgby);
clist = pasteString(changes);
olist = pasteString(oval);
nlist = pasteString(nval);
dlist = pasteTimestamp(dval);
tlist = pasteString(tabl);
blist = pasteString(chgby);
oldrec.setChanges(clist, olist, nlist, dlist, tlist, blist);
data.add(oldrec);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ private int getResources()
_style = "";
} */
try {
FileInputStream propFile = new FileInputStream("/priv-file-repo/lexevsdb/bin/SentinelToolTestScript/metadata.properties");
FileInputStream propFile = new FileInputStream("/local/content/cadsrsentinel/bin/metadata.properties");

Properties p = new Properties(System.getProperties());
p.load(propFile);
Expand Down
4 changes: 2 additions & 2 deletions MetadataCleanup/src/resources/conf/template.web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ L-->
</init-param>
<init-param>
<param-name>jbossDataSource</param-name>
<param-value>jdbc/sentinel</param-value>
<param-value>jboss/datasources/SentinelDS</param-value>
</init-param>
<init-param>
<param-name>jbossAuthenticate</param-name>
<param-value>jdbc/caDSR</param-value>
<param-value>jboss/datasources/caDSRDS</param-value>
</init-param>
<init-param>
<param-name>DSusername</param-name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ L-->
<map>
<entry key="APPLICATION_SERVICE_BEAN" value-ref="LexEVSApplicationService"/>
<entry key="AUTHENTICATION_SERVICE_BEAN" value-ref="EvsAuthenticationProvider"/>
<entry key="APPLICATION_SERVICE_URL" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<entry key="APPLICATION_SERVICE_URL" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<entry key="APPLICATION_SERVICE_CONFIG" value-ref="LexEVSApplicationServiceConfig"/>
</map>
</constructor-arg>
Expand Down Expand Up @@ -46,7 +46,7 @@ L-->
</bean>

<bean id="AppService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean" singleton="false">
<property name="serviceUrl" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<property name="serviceUrl" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<property name="serviceInterface" value="org.LexGrid.LexBIG.caCore.interfaces.LexEVSApplicationService"/>
<property name="httpInvokerRequestExecutor">
<bean class="org.LexGrid.LexBIG.caCore.client.proxy.ProxyUnwrappingHttpInvokerRequestExecutor">
Expand All @@ -58,7 +58,7 @@ L-->
<bean id="EvsAuthenticationProvider" class="org.acegisecurity.providers.rcp.RemoteAuthenticationProvider">
<property name="remoteAuthenticationManager">
<bean class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<property name="serviceUrl" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<property name="serviceInterface" value="org.acegisecurity.providers.rcp.RemoteAuthenticationManager"/>
</bean>
</property>
Expand Down
53 changes: 0 additions & 53 deletions MetadataCleanup/src/resources/sdkapi/log4j.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ L-->
<map>
<entry key="APPLICATION_SERVICE_BEAN" value-ref="LexEVSApplicationService"/>
<entry key="AUTHENTICATION_SERVICE_BEAN" value-ref="EvsAuthenticationProvider"/>
<entry key="APPLICATION_SERVICE_URL" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<entry key="APPLICATION_SERVICE_URL" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<entry key="APPLICATION_SERVICE_CONFIG" value-ref="LexEVSApplicationServiceConfig"/>
</map>
</constructor-arg>
Expand Down Expand Up @@ -46,7 +46,7 @@ L-->
</bean>

<bean id="AppService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean" singleton="false">
<property name="serviceUrl" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<property name="serviceUrl" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<property name="serviceInterface" value="org.LexGrid.LexBIG.caCore.interfaces.LexEVSApplicationService"/>
<property name="httpInvokerRequestExecutor">
<bean class="org.LexGrid.LexBIG.caCore.client.proxy.ProxyUnwrappingHttpInvokerRequestExecutor">
Expand All @@ -58,7 +58,7 @@ L-->
<bean id="EvsAuthenticationProvider" class="org.acegisecurity.providers.rcp.RemoteAuthenticationProvider">
<property name="remoteAuthenticationManager">
<bean class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl" value="http://lexevsapi60.nci.nih.gov/lexevsapi60/http/applicationService"/>
<property name="serviceUrl" value="https://lexevsapi6.nci.nih.gov/lexevsapi64/http/applicationService"/>
<property name="serviceInterface" value="org.acegisecurity.providers.rcp.RemoteAuthenticationManager"/>
</bean>
</property>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
53 changes: 0 additions & 53 deletions MetadataCleanup/src/web/WebRoot/WEB-INF/classes/log4j.properties

This file was deleted.

18 changes: 18 additions & 0 deletions docker11/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# default environment variables. Use these to set variables of they dont exist in local env #
CADSR_DS_TNS_HOST=changeme
CADSR_DS_TNS_PORT=changeme
CADSR_DS_USER=USER
CADSR_DS_PSWD=PASSWD
CADSR_DS_TNS_HOST=changeme
CADSR_DS_TNS_SID=changeme
#tag=origin/master
BRANCH_OR_TAG=sentinel-4.0.7-java11-032819
tag=sentinel-4.0.7-java11-032819
debug=false
TEST=false
tiername=changetiername
TOOL_BASE_DIR=/local/content
JDEBUG=ON
JBOSS_MODULES_SYSTEM_PKGS=org.jboss.byteman
JAVA_OPTS=-Xms1024m -Xmx2048m -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true

51 changes: 51 additions & 0 deletions docker11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
from cbiit/centos7_base
# update packages and install packages for application #
RUN yum -y update && yum -y install git java-11-openjdk-devel sudo util-linux wget epel-release \
&& yum clean all

# set env variables
ENV PATH=/opt/apache-maven/bin:$PATH \
JAVA_HOME=/usr/lib/jvm/java-11-openjdk \
WILDFLY_VERSION=16.0.0.Final

# change to /tmp directory for code downloads #
WORKDIR /tmp
RUN wget https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz \
&& tar xvfz apache-maven-3.5.4-bin.tar.gz \
&& mv apache-maven-3.5.4 /opt \
&& ln -s /opt/apache-maven-3.5.4 /opt/apache-maven
RUN sudo groupadd -r wildfly && sudo useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly \
&& wget https://download.jboss.org/wildfly/$WILDFLY_VERSION/wildfly-$WILDFLY_VERSION.tar.gz -P /tmp \
&& tar xf /tmp/wildfly-$WILDFLY_VERSION.tar.gz -C /opt/ \
&& ln -s /opt/wildfly-$WILDFLY_VERSION /opt/wildfly \
&& chown -RH wildfly: /opt/wildfly
RUN wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.9-bin.tar.gz \
&& tar xvfz apache-ant-1.9.9-bin.tar.gz \
&& mv apache-ant-1.9.9 /opt

ENV PATH=/opt/apache-maven/bin:/opt/apache-ant-1.9.9/bin:$PATH

# copy entrypoint to /usr/bin and chown to wildfly #
COPY run.sh /usr/bin/run.sh
RUN chown wildfly /usr/bin/run.sh && chmod 700 /usr/bin/run.sh

# create local content directories, change owner to wildfly #
RUN mkdir -p /local/content/cadsrsentinel/config /local/content/cadsrsentinel/bin /local/content/cadsrsentinel/htdocs/dtd /local/content/cadsrsentinel/reports /local/content/autorun_log \
&& chown -RH wildfly /local/content/cadsrsentinel

# make directory for pulling code from github and change owner to wildfly #
RUN mkdir /usr/src/sentinel && chown -RH wildfly: /usr/src/sentinel

# change user to wildfly #
USER wildfly

# replace jboss port 9990 with 19990 #
RUN sed -i 's/9990/19990/g' /opt/wildfly/standalone/configuration/standalone.xml

# change to source code workdir #
WORKDIR /usr/src/sentinel
RUN git clone https://github.com/CBIIT/cadsr-sentinel
WORKDIR /usr/src/sentinel/cadsr-sentinel

EXPOSE 8080
ENTRYPOINT /usr/bin/run.sh
16 changes: 16 additions & 0 deletions docker11/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
docker-compose configuration for cadsr-sentinel11
=====

## Requirements ##
The following environment variables are required:
BRANCH_OR_TAG=sentinel-4.0.7-sprint01-01
tiername
CADSR.DS.USER
CADSR.DS.TNS.HOST
CADSR.DS.TNS.PORT
TOOL.BASE.DIR
CADSR.DS.TNS.SID

## To build ##
1. cd docker directory
2. docker-compose up -d
Loading