You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/06/13 15:51:50 UTC
[airavata] branch develop updated: Adding distribution
configurations for parser workflow managers
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push:
new 455adef Adding distribution configurations for parser workflow managers
455adef is described below
commit 455adefc58472e93beffad5b2efcc360a2f2654a
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Thu Jun 13 11:51:42 2019 -0400
Adding distribution configurations for parser workflow managers
---
dev-tools/ansible/roles/kafka/tasks/main.yml | 8 +
modules/distribution/pom.xml | 16 ++
.../src/main/assembly/parser-wm-bin-assembly.xml | 167 +++++++++++++++++++++
3 files changed, 191 insertions(+)
diff --git a/dev-tools/ansible/roles/kafka/tasks/main.yml b/dev-tools/ansible/roles/kafka/tasks/main.yml
index f0eeb24..c245eb5 100644
--- a/dev-tools/ansible/roles/kafka/tasks/main.yml
+++ b/dev-tools/ansible/roles/kafka/tasks/main.yml
@@ -26,6 +26,14 @@
register: kafka_package
become: yes
+- name: Create deployment directory {{ deployment_dir }}
+ file: path={{deployment_dir}}
+ state=directory
+ mode=0755
+ owner={{ user }}
+ group={{ group }}
+ become: yes
+
# Download Kafka
- name: Download and unarchive Kafka from {{ kafka_tgz_url }}
unarchive: src="{{ kafka_tgz_url }}"
diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml
index f1d2752..b403bf7 100644
--- a/modules/distribution/pom.xml
+++ b/modules/distribution/pom.xml
@@ -556,6 +556,21 @@
</configuration>
</execution>
<execution>
+ <id>parser-wm-distribution-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <tarLongFileMode>posix</tarLongFileMode>
+ <finalName>${parser.wm.dist.name}</finalName>
+ <descriptors>
+ <descriptor>src/main/assembly/parser-wm-bin-assembly.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ </configuration>
+ </execution>
+ <execution>
<id>platform-monitor-distribution-package</id>
<phase>package</phase>
<goals>
@@ -615,6 +630,7 @@
<participant.dist.name>apache-airavata-participant-${project.version}</participant.dist.name>
<pre.wm.dist.name>apache-airavata-pre-wm-${project.version}</pre.wm.dist.name>
<post.wm.dist.name>apache-airavata-post-wm-${project.version}</post.wm.dist.name>
+ <parser.wm.dist.name>apache-airavata-parser-wm-${project.version}</parser.wm.dist.name>
<platform.monitor.dist.name>apache-airavata-platform-monitor-${project.version}</platform.monitor.dist.name>
<email.monitor.dist.name>apache-airavata-email-monitor-${project.version}</email.monitor.dist.name>
<realtime.monitor.dist.name>apache-airavata-realtime-monitor-${project.version}</realtime.monitor.dist.name>
diff --git a/modules/distribution/src/main/assembly/parser-wm-bin-assembly.xml b/modules/distribution/src/main/assembly/parser-wm-bin-assembly.xml
new file mode 100644
index 0000000..1f7a683
--- /dev/null
+++ b/modules/distribution/src/main/assembly/parser-wm-bin-assembly.xml
@@ -0,0 +1,167 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+
+-->
+<!DOCTYPE assembly [
+ <!ELEMENT assembly (id|includeBaseDirectory|baseDirectory|formats|fileSets|dependencySets)*>
+ <!ELEMENT id (#PCDATA)>
+ <!ELEMENT includeBaseDirectory (#PCDATA)>
+ <!ELEMENT baseDirectory (#PCDATA)>
+ <!ELEMENT formats (format)*>
+ <!ELEMENT format (#PCDATA)>
+ <!ELEMENT fileSets (fileSet)*>
+ <!ELEMENT fileSet (directory|outputDirectory|fileMode|includes)*>
+ <!ELEMENT directory (#PCDATA)>
+ <!ELEMENT outputDirectory (#PCDATA)>
+ <!ELEMENT includes (include)*>
+ <!ELEMENT include (#PCDATA)>
+ <!ELEMENT dependencySets (dependencySet)*>
+ <!ELEMENT dependencySet (outputDirectory|outputFileNameMapping|includes)*>
+ ]>
+<assembly>
+ <id>bin</id>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <baseDirectory>${parser.wm.dist.name}</baseDirectory>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+ <fileSet>
+ <directory>src/main/resources/parser-wm/bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ <fileMode>777</fileMode>
+ <includes>
+ <include>*.sh</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources/parser-wm/conf</directory>
+ <outputDirectory>conf</outputDirectory>
+ <includes>
+ <include>airavata-server.properties</include>
+ <include>logback.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>./</directory>
+ <outputDirectory>logs</outputDirectory>
+ <excludes>
+ <exclude>*/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib</outputDirectory>
+ <includes>
+ <include>javax.activation:activation:jar</include>
+ <include>org.apache.airavata:airavata-base-api:jar</include>
+ <include>org.apache.airavata:agent-api:jar</include>
+ <include>org.apache.airavata:airavata-commons:jar</include>
+ <include>org.apache.airavata:airavata-credential-store-stubs:jar</include>
+ <include>org.apache.airavata:airavata-data-models:jar</include>
+ <include>org.apache.airavata:airavata-messaging-core:jar</include>
+ <include>org.apache.airavata:airavata-registry-core:jar</include>
+ <include>org.apache.airavata:airavata-registry-cpi:jar</include>
+ <include>org.apache.airavata:airavata-server-configuration:jar</include>
+ <include>com.rabbitmq:amqp-client:jar</include>
+ <include>asm:asm:jar</include>
+ <include>org.bouncycastle:bcpkix-jdk15on:jar</include>
+ <include>org.bouncycastle:bcprov-jdk15on:jar</include>
+ <include>commons-cli:commons-cli:jar</include>
+ <include>commons-codec:commons-codec:jar</include>
+ <include>commons-collections:commons-collections:jar</include>
+ <include>commons-dbcp:commons-dbcp:jar</include>
+ <include>commons-io:commons-io:jar</include>
+ <include>commons-lang:commons-lang:jar</include>
+ <include>commons-logging:commons-logging:jar</include>
+ <include>org.apache.commons:commons-math:jar</include>
+ <include>commons-pool:commons-pool:jar</include>
+ <include>org.apache.curator:curator-client:jar</include>
+ <include>org.apache.curator:curator-framework:jar</include>
+ <include>org.apache.derby:derby:jar</include>
+ <include>org.apache.derby:derbyclient:jar</include>
+ <include>org.apache.derby:derbynet:jar</include>
+ <include>org.apache.derby:derbytools:jar</include>
+ <include>net.i2p.crypto:eddsa:jar</include>
+ <include>org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar</include>
+ <include>org.apache.geronimo.specs:geronimo-jpa_2.0_spec:jar</include>
+ <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar</include>
+ <include>org.codehaus.groovy:groovy:jar</include>
+ <include>org.codehaus.groovy:groovy-templates:jar</include>
+ <include>org.codehaus.groovy:groovy-xml:jar</include>
+ <include>com.google.code.gson:gson:jar</include>
+ <include>com.google.guava:guava:jar</include>
+ <include>org.hamcrest:hamcrest-core:jar</include>
+ <include>org.apache.helix:helix-core:jar</include>
+ <include>org.apache.airavata:helix-spectator:jar</include>
+ <include>org.apache.httpcomponents:httpclient:jar</include>
+ <include>org.apache.httpcomponents:httpcore:jar</include>
+ <include>com.fasterxml.jackson.core:jackson-annotations:jar</include>
+ <include>com.fasterxml.jackson.core:jackson-core:jar</include>
+ <include>org.codehaus.jackson:jackson-core-asl:jar</include>
+ <include>com.fasterxml.jackson.core:jackson-databind:jar</include>
+ <include>org.codehaus.jackson:jackson-mapper-asl:jar</include>
+ <include>jakarta-regexp:jakarta-regexp:jar</include>
+ <include>jline:jline:jar</include>
+ <include>org.apache.airavata:job-monitor-api:jar</include>
+ <include>junit:junit:jar</include>
+ <include>com.jcraft:jzlib:jar</include>
+ <include>org.apache.kafka:kafka-clients:jar</include>
+ <include>org.apache.thrift:libthrift:jar</include>
+ <include>org.slf4j:log4j-over-slf4j:jar</include>
+ <include>ch.qos.logback:logback-classic:jar</include>
+ <include>ch.qos.logback:logback-core:jar</include>
+ <include>com.github.danielwegener:logback-kafka-appender:jar</include>
+ <include>net.logstash.logback:logstash-logback-encoder:jar</include>
+ <include>org.lz4:lz4-java:jar</include>
+ <include>javax.mail:mail:jar</include>
+ <include>io.dropwizard.metrics:metrics-core:jar</include>
+ <include>org.jboss.netty:netty:jar</include>
+ <include>org.apache.openjpa:openjpa:jar</include>
+ <include>org.apache.airavata:platform-monitor:jar</include>
+ <include>org.apache.airavata:registry-api-service:jar</include>
+ <include>org.apache.airavata:registry-api-stubs:jar</include>
+ <include>net.sourceforge.serp:serp:jar</include>
+ <include>org.slf4j:slf4j-api:jar</include>
+ <include>org.yaml:snakeyaml:jar</include>
+ <include>org.xerial.snappy:snappy-java:jar</include>
+ <include>org.apache.airavata:ssh-agent:jar</include>
+ <include>com.hierynomus:sshj:jar</include>
+ <include>org.apache.airavata:sshj-agent:jar</include>
+ <include>org.apache.airavata:task-api:jar</include>
+ <include>org.apache.airavata:task-core:jar</include>
+ <include>org.apache.tomcat.embed:tomcat-embed-core:jar</include>
+ <include>org.apache.airavata:workflow-impl:jar</include>
+ <include>org.ogce:xpp3:jar</include>
+ <include>org.ogce:xpp5:jar</include>
+ <include>com.101tec:zkclient:jar</include>
+ <include>org.apache.zookeeper:zookeeper:jar</include>
+ </includes>
+ <excludes>
+ <exclude>mysql:mysql-connector-java:jar</exclude>
+ <exclude>log4j:log4j:jar</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets>
+</assembly>