Skip to content

Commit

Permalink
Merge pull request #31 from andrew890/main
Browse files Browse the repository at this point in the history
Create RTI Sample to calculate zIIP velocity and suggest SMT changes
  • Loading branch information
andrew890 authored Sep 15, 2023
2 parents e03a051 + 5a914af commit 14e681c
Show file tree
Hide file tree
Showing 29 changed files with 1,214 additions and 68 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Check Plugins
# process all poms
run: find . -name pom.xml -not -path '*/target/*' -print0 | xargs -n 1 -0 -t mvn -B versions:display-plugin-updates --file
- name: Check Versions
# process all poms
run: find . -name pom.xml -print0 | xargs -n 1 -0 -t mvn -B versions:display-dependency-updates --file
run: find . -name pom.xml -not -path '*/target/*' -print0 | xargs -n 1 -0 -t mvn -B versions:display-dependency-updates --file
- name: Build with Maven
# build all poms
run: find . -name pom.xml -print0 | xargs -n 1 -0 -t mvn -B package --file
run: find . -name pom.xml -not -path '*/target/*' -print0 | xargs -n 1 -0 -t mvn -B package --file
4 changes: 2 additions & 2 deletions JCL/COMPILE.jcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
//* Java source and target directories.
//* As distributed, they are relative to user's home directory
//*
// SET SRC='./easysmf-je-2.0.3/samples/sample-reports/src/main/java'
// SET SRC='./easysmf-je-2.1.3/samples/sample-reports/src/main/java'
// SET TGT='./java/target'
//*
//* File to compile, relative to SRC directory
// SET CLASS='com/smfreports/RecordCount.java'
//*
//* EasySMF directory:
// SET EZSMFDIR='./easysmf-je-2.0.3'
// SET EZSMFDIR='./easysmf-je-2.1.3'
//*
//* Location of Java:
// SET JAVA='/usr/lpp/java/J8.0'
Expand Down
2 changes: 1 addition & 1 deletion JCL/J11BPXB.jcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// SET FILE='com/smfreports/RecordCount.java'
//*
//* EasySMF directory
// SET EZSMFDIR='./easysmf-je-2.0.3'
// SET EZSMFDIR='./easysmf-je-2.1.3'
//*
//* Location of Java:
// SET JAVA='/usr/lpp/java/J11.0_64'
Expand Down
4 changes: 2 additions & 2 deletions JCL/RUNBPXB.jcl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// SET JAR=''
//*
//*SET CLASS='-jar'
//*SET JARDIR='./easysmf-je-2.0.3/samples/jar/'
//*SET JARDIR='./easysmf-je-2.1.3/samples/jar/'
//*SET JAR='smf-report-dups-1.2.0.jar'
//*
//* Java target directory
Expand All @@ -34,7 +34,7 @@
// SET TGT='./java/target'
//*
//* EasySMF directory
// SET EZSMFDIR='./easysmf-je-2.0.3'
// SET EZSMFDIR='./easysmf-je-2.1.3'
//*
//* Location of Java:
// SET JAVA='/usr/lpp/java/J8.0'
Expand Down
4 changes: 2 additions & 2 deletions JCL/RUNJZOS.jcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// SET JAR=''
//*
//*SET CLASS='-jar'
//*SET JARDIR='./easysmf-je-2.0.3/samples/jar/'
//*SET JARDIR='./easysmf-je-2.1.3/samples/jar/'
//*SET JAR='smf-report-dups-1.2.0.jar'
//*
//* Java target directory
Expand All @@ -30,7 +30,7 @@
// SET TGT='./java/target'
//*
//* EasySMF directory:
// SET EZSMFDIR='./easysmf-je-2.0.3'
// SET EZSMFDIR='./easysmf-je-2.1.3'
//*
//* Location of JZOS batch launcher module JVMLDM80:
// SET JZOSLIB=JZOS.LINKLIBE
Expand Down
1 change: 1 addition & 0 deletions check-plugins.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bash -c "find . -name pom.xml -not -path '*/target/*' -print0 | xargs -n 1 -0 -t mvn -B versions:display-plugin-updates --file"
10 changes: 5 additions & 5 deletions easysmf-rti/rti-http-binary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down Expand Up @@ -69,19 +69,19 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -94,7 +94,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
Expand Down
12 changes: 6 additions & 6 deletions easysmf-rti/rti-http-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>com.blackhillsoftware.smf</groupId>
<artifactId>easysmf-je</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.blackhillsoftware</groupId>
Expand All @@ -44,7 +44,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down Expand Up @@ -79,19 +79,19 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -104,7 +104,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
Expand Down
8 changes: 4 additions & 4 deletions easysmf-rti/rti-http-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<dependency>
<groupId>com.blackhillsoftware.smf</groupId>
<artifactId>easysmf-je</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>
</dependencies>

Expand All @@ -40,7 +40,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down Expand Up @@ -75,12 +75,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>11</release>
</configuration>
Expand Down
17 changes: 11 additions & 6 deletions easysmf-rti/rti-notifications/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>com.blackhillsoftware.smf</groupId>
<artifactId>easysmf-je</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.blackhillsoftware</groupId>
Expand All @@ -44,7 +44,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down Expand Up @@ -79,19 +79,24 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
<configuration>
<excludes>
<exclude>com.twilio.sdk:twilio</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>8</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -104,7 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
Expand Down
12 changes: 6 additions & 6 deletions easysmf-rti/rti-simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>com.blackhillsoftware.smf</groupId>
<artifactId>easysmf-je</artifactId>
<version>2.1.2</version>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.blackhillsoftware</groupId>
Expand All @@ -39,7 +39,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down Expand Up @@ -74,19 +74,19 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>8</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -99,7 +99,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
Expand Down
19 changes: 19 additions & 0 deletions easysmf-rti/rti-smt-switch/JCL/J11BPXB.jcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//JOBNAME JOB CLASS=A,
// MSGCLASS=H,
// NOTIFY=&SYSUID
//* Col 72 ->|
//* ***** Edit with CAPS OFF and NUMBER OFF *****
//*
//* Run a single file Java program under Java 11 using BPXBATCH
//*
//G EXEC PGM=BPXBATCH,REGION=0M
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDPARM DD *
SH /usr/lpp/java/J11.0_64/bin/java
-cp "/home/andrewr/easysmf-je-2.1.3/samples/jar/lib/*"
/home/andrewr/java/src/SmtSwitch.java
IFASMF.MYRECS
//STDENV DD *,SYMBOLS=JCLONLY
EASYSMFKEY=//'VENDOR.PARMLIB(EZSMFKEY)'
/*
Loading

0 comments on commit 14e681c

Please sign in to comment.