diff options
Diffstat (limited to 'ransim/ransimctrlr/packages/install')
5 files changed, 145 insertions, 0 deletions
diff --git a/ransim/ransimctrlr/packages/install/pom.xml b/ransim/ransimctrlr/packages/install/pom.xml new file mode 100644 index 0000000..a68427f --- /dev/null +++ b/ransim/ransimctrlr/packages/install/pom.xml @@ -0,0 +1,69 @@ +<!-- + ============LICENSE_START======================================================= + Ransim Controller + ================================================================================ + Copyright (C) 2020 Wipro Limited Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.ransim</groupId> + <artifactId>packages</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <artifactId>install</artifactId> + <packaging>pom</packaging> + + <name>Installation Package</name> + <description>Installation Package</description> + + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>single</goal> + </goals> + <phase>package</phase> + <configuration> + <descriptors> + <descriptor>src/assembly/zip.xml</descriptor> + </descriptors> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.onap.ransim</groupId> + <artifactId>base</artifactId> + <version>${project.version}</version> + <type>tar.gz</type> + </dependency> + </dependencies> + +</project> diff --git a/ransim/ransimctrlr/packages/install/src/assembly/zip.xml b/ransim/ransimctrlr/packages/install/src/assembly/zip.xml new file mode 100644 index 0000000..6afa52a --- /dev/null +++ b/ransim/ransimctrlr/packages/install/src/assembly/zip.xml @@ -0,0 +1,42 @@ +<!-- + ============LICENSE_START======================================================= + Ransim Controller + ================================================================================ + Copyright (C) 2020 Wipro Limited Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<assembly> + <id>zipfile</id> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>src/files</directory> + <outputDirectory>.</outputDirectory> + <fileMode>755</fileMode> + </fileSet> + </fileSets> + <dependencySets> + <dependencySet> + <includes> + <include>org.onap.ransim:base:*</include> + </includes> + <useTransitiveDependencies>false</useTransitiveDependencies> + </dependencySet> + </dependencySets> +</assembly> diff --git a/ransim/ransimctrlr/packages/install/src/files/base.conf b/ransim/ransimctrlr/packages/install/src/files/base.conf new file mode 100644 index 0000000..3f5d5fc --- /dev/null +++ b/ransim/ransimctrlr/packages/install/src/files/base.conf @@ -0,0 +1,16 @@ +JAVA_HOME=/usr/lib/jvm/java-8-oracle +POLICY_HOME=/opt/app/policy +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mariadb://localhost:3306/ransim_db +JDBC_USER=root +JDBC_PASSWORD=secret + +site_name=site_1 +fp_monitor_interval=30 +failed_counter_threshold=3 +test_trans_interval=20 +write_fpc_interval=5 +max_fpc_update_interval=60 +test_via_jmx=false + +ENVIRONMENT=TEST diff --git a/ransim/ransimctrlr/packages/install/src/files/mysql.conf b/ransim/ransimctrlr/packages/install/src/files/mysql.conf new file mode 100644 index 0000000..28b9e3c --- /dev/null +++ b/ransim/ransimctrlr/packages/install/src/files/mysql.conf @@ -0,0 +1,5 @@ +# mysql scripts component installation configuration parameters + +# Path to mysql bin +MYSQL_BIN=/usr/local/mysql/bin + diff --git a/ransim/ransimctrlr/packages/install/src/files/ransim.conf b/ransim/ransimctrlr/packages/install/src/files/ransim.conf new file mode 100644 index 0000000..a1b0bbb --- /dev/null +++ b/ransim/ransimctrlr/packages/install/src/files/ransim.conf @@ -0,0 +1,13 @@ +# component installation configuration parameters + +# tomcat specific parameters + +TOMCAT_JMX_PORT=9991 +TOMCAT_SHUTDOWN_PORT=8087 +SSL_HTTP_CONNECTOR_PORT=8081 +SSL_AJP_CONNECTOR_PORT=8381 +SSL_AJP_CONNECTOR_REDIRECT_PORT=8443 + +TOMCAT_X_MS_MB=1024 +TOMCAT_X_MX_MB=1024 + |