sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 1 | #!/bin/bash |
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 2 | # ============LICENSE_START======================================================= |
| 3 | # org.onap.dmaap |
| 4 | # ================================================================================ |
| 5 | # Copyright © 2018 AT&T Intellectual Property. All rights reserved. |
| 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 10 | # |
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 12 | # |
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END========================================================= |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 19 | # |
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 20 | # ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 21 | |
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 22 | |
| 23 | JAVA_HOME=/opt/java/jdk/jdk180 |
| 24 | JAVA_OPTS="-Xms1G -Xmx1G" |
| 25 | TZ=GMT0 |
| 26 | PATH=$JAVA_HOME/bin:/bin:/usr/bin |
| 27 | CLASSPATH=`echo /opt/app/datartr/etc /opt/app/datartr/lib/*.jar | tr ' ' ':'` |
| 28 | export CLASSPATH JAVA_HOME JAVA_OPTS TZ PATH |
| 29 | |
| 30 | $JAVA_HOME/bin/java \ |
eronkeo | 4261823 | 2018-08-10 15:04:19 +0100 | [diff] [blame] | 31 | -Dlog4j.configuration=file:///opt/app/datartr/etc/log4j.drroute.properties \ |
| 32 | org.onap.dmaap.datarouter.provisioning.utils.DRRouteCLI $* |