Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build.xml #28

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 3 additions & 8 deletions Jenkinsfile.win
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,14 @@ pipeline {
stages {
stage('Build'){
steps {
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} build"
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} -buildfile build_IS.xml build"
}
}
stage('Deploy') {
steps {
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} deploy"
}
}
stage('Test') {
steps {
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} test"
junit 'report/'
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} -buildfile build_IS.xml deploy"
}
}

}
}
37 changes: 37 additions & 0 deletions Jenkinsfile_BPM.win
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2010 - 2013 Apama Ltd.
* Copyright © 2013 - 2018 Software AG, Darmstadt, Germany and/or its licensors
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
*/

pipeline {
agent any

stages {
stage('Build'){
steps {
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} -buildfile build_BPM.xml build"
}
}
stage('Deploy') {
steps {
bat "${env.SAG_HOME}/common/lib/ant/bin/ant -DSAGHome=${env.SAG_HOME} -DSAG_CI_HOME=${env.SAG_CI_HOME} -DprojectName=${env.JOB_NAME} -buildfile build_BPM.xml deploy"
}
}

}
}
13 changes: 13 additions & 0 deletions assets/BPM/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>TestProject</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>processNature</nature>
<nature>com.webmethods.sc.solutions.ui.processnature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions assets/BPM/TestProcess.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<businessProcessConfig xmlns="http://www.webmethods.com/bpm/2006/">
<stages/>
<qualityOfService expressPipeline="true" minLogLevel="5"
optimizeLocally="true" volatileTracking="false" volatileTransition="true"/>
<edaIntrinsics processErrorEvent="false" processEvent="false"
processLogCustomIdEvent="false" processLogEvent="false"
stepErrorEvent="false" stepEvent="false" stepLoopEvent="false" stepTransitionEvent="false"/>
<easeOfOperations enableProcessForTrackingInTarget="false"
enableProcessInTarget="false" stepsEnabledForResubmitInTarget="S9:Start Event1:true##"/>
</businessProcessConfig>
100 changes: 100 additions & 0 deletions assets/BPM/TestProcess.process
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<businessProcessDiagram xmlns="http://www.webmethods.com/bpm/2006/"
Id="af846deb-b428-464a-85e7-b4efd6fa908f" bpmnStyle="false" build="1"
canvasPool="1" creator="SreenivasAravelli" description=""
failProcessOnStepFailure="false" focalRole="Focal role"
generateEDAEvents="true" name="TestProcess" processCategory=""
rnSync="false" runtimeVersion="1" transitionLabelPref="expression"
unSynchJoinDeadPath="true" version="10.2.0">
<kpiDimensions/>
<systemKPIs>
<systemKPI Id="" description="" name="Volume" unitOfMeasure=""/>
<systemKPI Id="" description="" name="Cycle Time" unitOfMeasure=""/>
<systemKPI Id="" description="" name="Error Count" unitOfMeasure=""/>
</systemKPIs>
<logicalDataItem Id="" description="" dimension="0"
label="ProcessData" name="{ProcessNamespace}ProcessData" type="{pub.prt}ProcessData"/>
<logicalDataItem Id="" description="" dimension="0"
label="BusinessDoc" name="{ProcessDev.docs}BusinessDoc" type="{ProcessDev.docs}BusinessDoc"/>
<timeout calendarAlias="" calendarTime="0:0:0"
dynamicCalendarStaticAlias="" dynamicCalendarStaticDays=""
dynamicCalendarStaticHours="" dynamicCalendarStaticMinutes=""
dynamicFieldName="" isCalendarTimeout="false" isStaticTimeout="true"
isXPathTimeout="false" pipelineCalendarAlias=""
pipelineCalendarDays="" pipelineCalendarHours=""
pipelineCalendarMinutes="" timeoutStyle="RELATIVE"
timeoutType="processTimeout" timeoutValue="0" xpathTimeoutValue=""/>
<pool Id="ac94e3ba-84fc-4253-961e-7a9b9b706776" blue="128"
containerType="BPMN_SUBPROCESS" external="false"
externalizeConditions="false" green="128" isCollapsed="false"
isCompensating="false" isTestAfter="false" label="Pool1"
labelBlue="255" labelGreen="204" labelRed="153" logicalServer=""
loopMaximum="0" loopMaximumField="" name="6"
orientation="horizontal" red="128" retryCount="0" stepLock="false"
uid="P7" useCorrelation="false">
<documentation/>
<businessKPIs/>
<fontData boldFont="false" fontFamily="" italicFont="false"/>
<receiveStep Id="c9f079a4-fbfa-4311-9a0e-67655daf7d8f"
allowsSynchronousReply="false" edaEventQName="" edaSubFilter=""
edaSubFilterLang="" eventType="START"
externalizeConditions="false" height="28"
isStartStepServiceRequired="true" label="Start Event1"
labelHeight="-1" labelWidth="-1" logicalServer="Default"
outputMessageType="{ProcessDev.docs}BusinessDoc"
receiveProtocol="SUBSCRIPTION" receiveType="EMPTY"
stepLock="false" uid="S9" useCorrelation="false" width="28" x="70" y="58">
<documentation/>
<businessKPIs/>
<fontData boldFont="false" fontFamily="Arial" fontSize="8" italicFont="false">
<fontColor blue="0" green="0" red="0"/>
</fontData>
<output name="{ProcessDev.docs}BusinessDoc"/>
<wmExpressionFilter/>
</receiveStep>
<timeout calendarAlias="" calendarTime="0:0:0"
dynamicCalendarStaticAlias="" dynamicCalendarStaticDays=""
dynamicCalendarStaticHours="" dynamicCalendarStaticMinutes=""
dynamicFieldName="" isCalendarTimeout="false"
isStaticTimeout="true" isXPathTimeout="false"
pipelineCalendarAlias="" pipelineCalendarDays=""
pipelineCalendarHours="" pipelineCalendarMinutes=""
timeoutStyle="RELATIVE" timeoutType="stepTimeout" timeoutValue="0" xpathTimeoutValue=""/>
<wmExpression/>
<swimlane Id="b558324f-c575-4758-a753-db01aba8ee7e" blue="204"
green="255" height="150" label="Swimlane1" labelBlue="255"
labelGreen="238" labelRed="221" name="Swimlane1" red="255"
uid="W8" width="700">
<documentation/>
</swimlane>
</pool>
<pool Id="398e68c2-e434-4f04-a271-5dd4c8126a62" blue="128"
containerType="BPMN_SUBPROCESS" external="true"
externalizeConditions="false" green="128" isCollapsed="false"
isCompensating="false" isTestAfter="false" label="Pool"
labelBlue="255" labelGreen="204" labelRed="153" logicalServer=""
loopMaximum="0" loopMaximumField="" name="1"
orientation="horizontal" red="128" retryCount="0" stepLock="false"
uid="P2" useCorrelation="false">
<documentation/>
<businessKPIs/>
<fontData boldFont="false" fontFamily="" italicFont="false"/>
<poolReference Id="25249148-552a-494a-ad6e-72f749fbeb09"
label="Pool1" logicalServer="Default" poolName="6"
stepLock="false" uid="S3" useCorrelation="false" x="230" y="100">
<documentation/>
<businessKPIs/>
<fontData boldFont="false" fontFamily="" italicFont="false"/>
</poolReference>
<timeout calendarAlias="" calendarTime="0:0:0"
dynamicCalendarStaticAlias="" dynamicCalendarStaticDays=""
dynamicCalendarStaticHours="" dynamicCalendarStaticMinutes=""
dynamicFieldName="" isCalendarTimeout="false"
isStaticTimeout="true" isXPathTimeout="false"
pipelineCalendarAlias="" pipelineCalendarDays=""
pipelineCalendarHours="" pipelineCalendarMinutes=""
timeoutStyle="RELATIVE" timeoutType="stepTimeout" timeoutValue="0" xpathTimeoutValue=""/>
<wmExpression/>
</pool>
<documentation/>
</businessProcessDiagram>
132 changes: 132 additions & 0 deletions assets/BPM/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="iso-8859-1"?>

<project default="build-bpm-acdl-project" basedir="."
name="webMethods Business Process Model">

<!-- These properties need to be modified when doing a stand alone ant call -->
<property name="default.build.output.dir" value="${basedir}" />
<property name="default.sag.install.dir" value="" />
<property name="default.build.version" value="" />
<property name="default.build.timestamp" value="" />
<property name="sag.master.build.dir" value="" />


<!-- Optional properties to help filter down what models you want -->
<property name="default.bpm.acdl.model.ids" value="" />
<property name="default.bpm.acdl.model.names" value="" />
<property name="default.bpm.acdl.model.version" value="" />

<!-- Property list needed to be filled for BAM based models -->
<property name="default.bpm.acdl.bam.model.ids" value="" />

<!-- Do not modify -->
<property name="run.process.main.class.name"
value="com.softwareag.process.build.acdl.ProcessSolutionsAssembler" />
<taskdef classpath="${sag.master.build.dir}/master_build/lib/ant-contrib.jar"
resource="net/sf/antcontrib/antlib.xml" />
<!--Do not modify -->

<target name="loadProperties" if="loadBuildProperties">
<property name="build.output.dir" value="${default.build.output.dir}" />
<property name="sag.install.dir" value="${default.sag.install.dir}" />
<property name="build.version" value="${default.build.version}" />
<property name="build.timestamp" value="${default.build.timestamp}" />
<property name="bpm.acdl.model.ids" value="${default.bpm.acdl.model.ids}" />
<property name="bpm.acdl.model.names" value="${default.bpm.acdl.model.names}" />
<property name="bpm.acdl.model.version" value="${default.bpm.acdl.model.version}" />
<antcall target="create-acdl" inheritall="true" inheritRefs="true" />
</target>

<target name="check">
<property name="check.build.output.dir" value="$${build.output.dir}" />
<property name="check.sag.install.dir" value="$${sag.install.dir}" />
<property name="check.build.version" value="$${build.version}" />
<condition property="loadBuildProperties">
<or>
<equals arg1="${check.build.output.dir}" arg2="${build.output.dir}" />
<equals arg1="${check.sag.install.dir}" arg2="${sag.install.dir}" />
<equals arg1="${check.build.version}" arg2="${build.version}" />
</or>
</condition>
<if>
<equals arg1="${build.output.dir}" arg2="" />
<then>
<property name="${build.output.dir}" value="${base.dir}" />
</then>
</if>
<if>
<equals arg1="${loadBuildProperties}" arg2="$${loadBuildProperties}" />
<then>
<antcall target="create-acdl" inheritall="true" inheritRefs="true" />
</then>
<else>
<antcall target="loadProperties" inheritall="true"
inheritRefs="true" />
</else>
</if>

</target>


<target name="create-acdl">
<if>
<equals arg1="${master-classpath}" arg2="$${master-classpath}" />
<then>
<path id="master-classpath">
<fileset dir="${sag.master.build.dir}/BPM/lib">
<include name="wm-process-build.jar" />
</fileset>
<fileset dir="${sag.install.dir}/common/lib/">
<include name="wm-acdl-common.jar" />
<include name="wm-isclient.jar" />
<include name="wm-bpm-processmodel.jar" />
<include name="wm-metadata-core.jar" />
<include name="wm-scg-core.jar" />
<include name="wm-g11nutils.jar" />
</fileset>

<fileset dir="${sag.install.dir}/common/lib/ext">
<include name="xercesImpl.jar" />
<include name="xml-apis.jar" />
</fileset>

</path>
</then>
</if>
<if>
<equals arg1="${bpm.acdl.bam.model.ids}" arg2="$${bpm.acdl.bam.model.ids}" />
<then>
<property name="bpm.acdl.bam.all.model.ids" value="${default.bpm.acdl.bam.model.ids}" />
</then>
<else>
<if>
<equals arg1="${bpm.acdl.bam.model.ids}" arg2="" />
<then>
<property name="bpm.acdl.bam.all.model.ids" value="${default.bpm.acdl.bam.model.ids}" />
</then>
<else>
<property name="bpm.acdl.bam.all.model.ids" value="${bpm.acdl.bam.model.ids};${default.bpm.acdl.bam.model.ids}" />
</else>
</if>
</else>
</if>
<java fork="true" classname="${run.process.main.class.name}"
classpathref="master-classpath" failonerror="true">
<sysproperty key="process.acdl.workspace.dir" value="${basedir}" />
<sysproperty key="process.acdl.process.models" value="${bpm.acdl.model.ids}" />
<sysproperty key="process.acdl.search.model.version" value="${bpm.acdl.model.version}" />
<sysproperty key="build.number" value="${build.version}" />
<sysproperty key="build.output.dir" value="${build.output.dir}" />
<sysproperty key="build.timestamp" value="${build.timestamp}" />
<sysproperty key="bpm.acdl.bam.model.ids" value="${bpm.acdl.bam.all.model.ids}" />
<sysproperty key="debug" value="${debug}" />
</java>
</target>
<target name="clean"></target>
<target name="build-bpm-acdl-project"
description="This task will generates the acdls for the process from the passed configurations">
<echo message="Generating Process ACDL" />
<antcall target="check" inheritall="true" inheritRefs="true" />
</target>

</project>
4 changes: 2 additions & 2 deletions assets/IS/Packages/Fibonachi/manifest.bak
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<Values version="2.0">
<value name="enabled">yes</value>
<value name="system_package">no</value>
<value name="version">1.0</value>
<value name="version">2.0</value>
<null name="startup_services"/>
<null name="shutdown_services"/>
<null name="replication_services"/>
<null name="requires"/>
<null name="listACL"/>
<value name="listACL">Default</value>
<value name="webappLoad">yes</value>
</Values>
Loading