Skip to content

Commit 728c2c2

Browse files
Add sample code and bundle build
1 parent 7c9533d commit 728c2c2

File tree

17 files changed

+571
-0
lines changed

17 files changed

+571
-0
lines changed

.gitignore

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,77 @@
2121

2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
24+
25+
target/
26+
pom.xml.tag
27+
pom.xml.releaseBackup
28+
pom.xml.versionsBackup
29+
pom.xml.next
30+
release.properties
31+
dependency-reduced-pom.xml
32+
buildNumber.properties
33+
.mvn/timing.properties
34+
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
35+
.mvn/wrapper/maven-wrapper.jar
36+
37+
.metadata
38+
bin/
39+
tmp/
40+
*.tmp
41+
*.bak
42+
*.swp
43+
*~.nib
44+
local.properties
45+
.settings/
46+
.loadpath
47+
.recommenders
48+
49+
# External tool builders
50+
.externalToolBuilders/
51+
52+
# Locally stored "Eclipse launch configurations"
53+
*.launch
54+
55+
# PyDev specific (Python IDE for Eclipse)
56+
*.pydevproject
57+
58+
# CDT-specific (C/C++ Development Tooling)
59+
.cproject
60+
61+
# CDT- autotools
62+
.autotools
63+
64+
# Java annotation processor (APT)
65+
.factorypath
66+
67+
# PDT-specific (PHP Development Tools)
68+
.buildpath
69+
70+
# sbteclipse plugin
71+
.target
72+
73+
# Tern plugin
74+
.tern-project
75+
76+
# TeXlipse plugin
77+
.texlipse
78+
79+
# STS (Spring Tool Suite)
80+
.springBeans
81+
82+
# Code Recommenders
83+
.recommenders/
84+
85+
# Annotation Processing
86+
.apt_generated/
87+
.apt_generated_test/
88+
89+
# Scala IDE specific (Scala & Java development for Eclipse)
90+
.cache-main
91+
.scala_dependencies
92+
.worksheet
93+
94+
# Uncomment this line if you wish to ignore the project description file.
95+
# Typically, this file would be tracked if it contains build/dependency configurations:
96+
#.project
97+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
4+
<attributes>
5+
<attribute name="maven.pomderived" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
9+
<attributes>
10+
<attribute name="maven.pomderived" value="true"/>
11+
</attributes>
12+
</classpathentry>
13+
<classpathentry kind="output" path="target/classes"/>
14+
</classpath>

cics-eventprocessing-java/.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>cics-eventprocessing-java</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="output" path="target/classes"/>
26+
</classpath>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>cics-eventprocessing-java-bundle</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0"?>
2+
<project
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4+
xmlns="http://maven.apache.org/POM/4.0.0"
5+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6+
<modelVersion>4.0.0</modelVersion>
7+
<parent>
8+
<groupId>com.ibm.cicsdev.eventprocessing</groupId>
9+
<artifactId>cics-eventprocessing-java</artifactId>
10+
<version>0.0.1-SNAPSHOT</version>
11+
</parent>
12+
<artifactId>cics-eventprocessing-java-bundle</artifactId>
13+
<name>cics-eventprocessing-java-bundle</name>
14+
<url>http://maven.apache.org</url>
15+
<properties>
16+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>${project.groupId}</groupId>
22+
<artifactId>cics-eventprocessing-java-code</artifactId>
23+
<version>${project.version}</version>
24+
<type>war</type>
25+
</dependency>
26+
</dependencies>
27+
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>com.ibm.cics</groupId>
32+
<artifactId>cics-bundle-maven-plugin</artifactId>
33+
<extensions>true</extensions>
34+
<configuration>
35+
<defaultjvmserver>DFHWLP</defaultjvmserver>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
41+
<packaging>cics-bundle</packaging>
42+
</project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<ns2:eventBinding CICSEPSchemaVersion="2" CICSEPSchemaRelease="0" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/cics/eventprocessing/eventbinding CicsEventBinding.xsd " xmlns:ns2="http://www.ibm.com/xmlns/prod/cics/eventprocessing/eventbinding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<description></description>
4+
<userTag></userTag>
5+
<eventSpecification>
6+
<name>ACCOUNT</name>
7+
<description></description>
8+
<eventInformation/>
9+
</eventSpecification>
10+
<eventCaptureSpecification>
11+
<name>ACCOUNT</name>
12+
<eventIdentifier>ACCOUNT</eventIdentifier>
13+
<description>Automatically generated capture specification for SIGNAL EVENT</description>
14+
<filter>
15+
<contextFilter>
16+
<transactionId filterOperator="OFF" filterValue=""/>
17+
<currentProgram filterOperator="OFF" filterValue=""/>
18+
<userId filterOperator="OFF" filterValue=""/>
19+
<CommandResp filterOperator="OFF" filterValue="OK"/>
20+
<EIBAID filterOperator="OFF" value=""/>
21+
<EIBCPOSN filterOperator="OFF" filterValue="1"/>
22+
</contextFilter>
23+
<locationFilter filterType="CICS_API">
24+
<signalEventCommand verb="SIGNAL" adVerb="EVENT" isPre="false">
25+
<EVENT keyword="EVENT" filterOperator="EQ" filterValue="ACCOUNT"/>
26+
<FROMCHANNEL keyword="FROMCHANNEL" filterOperator="OFF" filterValue=""/>
27+
</signalEventCommand>
28+
</locationFilter>
29+
<dataFilter/>
30+
</filter>
31+
<dataCapture/>
32+
</eventCaptureSpecification>
33+
<eventAdapterName>ACCOUNTADAPTER</eventAdapterName>
34+
</ns2:eventBinding>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<ns2:EPAdapter CICSEPSchemaVersion="2" CICSEPSchemaRelease="0" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/cics/eventprocessing/eventbinding CicsEPAdapter.xsd " xmlns:ns2="http://www.ibm.com/xmlns/prod/cics/eventprocessing/eventbinding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<description></description>
4+
<eventDispatcherSpecification>
5+
<eventDispatcher>
6+
<eventDispatcherPolicy>
7+
<dispatchPriority>normal</dispatchPriority>
8+
<eventsTransactional>false</eventsTransactional>
9+
<adapterUserid useContextUserid="false"></adapterUserid>
10+
<adapterTranId></adapterTranId>
11+
</eventDispatcherPolicy>
12+
<eventDispatcherAdapter>
13+
<cicsTransactionAdapter>
14+
<transactionId>EVNT</transactionId>
15+
<sysid></sysid>
16+
<userid useContextUserid="true"></userid>
17+
<format>CCE</format>
18+
</cicsTransactionAdapter>
19+
</eventDispatcherAdapter>
20+
</eventDispatcher>
21+
</eventDispatcherSpecification>
22+
</ns2:EPAdapter>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="UTF-8"?><cicsdefinitiontransaction xmlns="http://www.ibm.com/xmlns/prod/CICS/smw2int" localq="N_A" name="EVNT" program="EVNTCONS"/>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
28+
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
29+
</attributes>
30+
</classpathentry>
31+
<classpathentry kind="output" path="target/classes"/>
32+
</classpath>

0 commit comments

Comments
 (0)