Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
ca0ba1f
convert getZfsSystems JSON response processing with jackson
frankgiordano Oct 19, 2025
2eeafa0
clean up
frankgiordano Oct 19, 2025
0fe1364
add package info
frankgiordano Oct 19, 2025
7128b06
javadoc tweak
frankgiordano Oct 19, 2025
64076a3
use readValue
frankgiordano Oct 19, 2025
5a06795
format tweaks
frankgiordano Oct 19, 2025
bd970e4
clean up
frankgiordano Oct 19, 2025
256d610
convert getFiles JSON response processing with jackson
frankgiordano Oct 19, 2025
17b95db
format tweak
frankgiordano Oct 19, 2025
b4d7c03
convert get method in ZosmfStatus JSON response processing with jackson
frankgiordano Oct 19, 2025
bf72b97
add ZosmfStatus tests
frankgiordano Oct 19, 2025
4935322
make null empty in ConsoleCmdResponse methods
frankgiordano Oct 19, 2025
74d065c
make null empty in ConsolegetResponse methods
frankgiordano Oct 19, 2025
6c27f28
test coverage for zosmfrequest
frankgiordano Oct 19, 2025
0399987
add defaults to pojos
frankgiordano Oct 19, 2025
4ad9e17
add log4j2 logging for test package only
frankgiordano Oct 20, 2025
5813000
convert get method in ZosmfSystems JSON response processing with jackson
frankgiordano Oct 20, 2025
6588c46
wrap array string
frankgiordano Oct 20, 2025
ccb7c9f
clean up
frankgiordano Oct 20, 2025
6eb7f84
convert issueCommand method in ZosLog JSON response processing with j…
frankgiordano Oct 20, 2025
f4d9bdb
convert Job JSON response processing with jackson
frankgiordano Oct 20, 2025
6997bca
commonInputData checks
frankgiordano Oct 21, 2025
911e090
move defaults to constructor
frankgiordano Oct 21, 2025
ca37694
correct json parse field identifier
frankgiordano Oct 21, 2025
e260bf2
make final
frankgiordano Oct 21, 2025
54842f3
move defaults to constructor
frankgiordano Oct 21, 2025
a83dc97
move defaults to constructor
frankgiordano Oct 21, 2025
40d425b
clean up
frankgiordano Oct 21, 2025
70ed7cc
update JobStepData
frankgiordano Oct 21, 2025
ad7bc03
handle plugins json parsing separately
frankgiordano Oct 21, 2025
b1f3502
correct json propety identifiers
frankgiordano Oct 22, 2025
a9df8dd
add default tests
frankgiordano Oct 22, 2025
1a0548e
add tests for ZosLog
frankgiordano Oct 22, 2025
f9b98b6
convert member JSON response processing with jackson
frankgiordano Oct 22, 2025
0da1ca1
updates and additional unit tests
frankgiordano Oct 24, 2025
805142f
clean up
frankgiordano Oct 24, 2025
af7fe7a
convert props parsing using Jackson
frankgiordano Oct 24, 2025
e01b0d7
remove String.valueof usage
frankgiordano Oct 25, 2025
e005e89
return exception instead of empty dataset
frankgiordano Oct 25, 2025
c8ad556
use Jackson for Dataset parsing
frankgiordano Oct 25, 2025
e38e984
add defaults for member class
frankgiordano Oct 25, 2025
70a97c7
streamline exception parameter checks
frankgiordano Oct 25, 2025
573c351
javadoc tweaks
frankgiordano Oct 25, 2025
8b6bf54
update tests
frankgiordano Oct 25, 2025
663a32e
convert JobFile to use Jackson for parsing
frankgiordano Oct 25, 2025
199e794
clean up
frankgiordano Oct 25, 2025
afaf5b2
use getSpoolContentCommon
frankgiordano Oct 25, 2025
ea82810
style format tweak
frankgiordano Oct 25, 2025
69b439c
format tweaks
frankgiordano Oct 25, 2025
ad013f0
use final
frankgiordano Oct 25, 2025
3347d6d
suppress minor unchecked
frankgiordano Oct 25, 2025
166acde
updates for 5.2.0 release
frankgiordano Oct 25, 2025
74ac103
updates for 5.2.0 release
frankgiordano Oct 25, 2025
ead7b29
javadoc tweaks
frankgiordano Oct 27, 2025
242ad03
remove local javadoc repo
frankgiordano Oct 27, 2025
05e74d3
updates to pom.xml
frankgiordano Oct 27, 2025
c6fd710
javadoc tweaks
frankgiordano Oct 28, 2025
bc7d1ec
remove builder in Job
frankgiordano Oct 28, 2025
67fd64d
javadoc tweak
frankgiordano Oct 29, 2025
6b387a4
added stepData unit tests
frankgiordano Oct 29, 2025
ecc9e15
added more members to Job Document response
frankgiordano Oct 29, 2025
6ce23fc
javadoc tweaks
frankgiordano Oct 29, 2025
9660ccf
simpilify
frankgiordano Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 26 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ The following maven command at the root prompt of the project will produce zowe-

## Logger

For logging, the SDK does NOT include SLF4j (Simple Logging Facade for Java) dependency within its FATJAR.
For logging, the SDK does NOT include SLF4j (Simple Logging Facade for Java) dependency.

You will need to add SLF4j dependency and plug into your SLF4J by implementing a logging framework of your choice for your project.

Expand All @@ -238,17 +238,34 @@ To install this library in your project, use a build tool such as Maven, Gradle
https://mvnrepository.com/artifact/org.zowe.client.java.sdk/zowe-client-java-sdk

For a Maven project add the SDK as a dependency by updating your `pom.xml` as follows:

Thin JAR (recommended):

<dependency>
<groupId>org.zowe.client.java.sdk</groupId>
<artifactId>zowe-client-java-sdk</artifactId>
<version>5.2.0</version>
</dependency>

Fat JAR (with dependencies):

<dependency>
<groupId>org.zowe.client.java.sdk</groupId>
<artifactId>zowe-client-java-sdk</artifactId>
<version>5.2.0</version>
<classifier>jar-with-dependencies</classifier>
</dependency>

For a Gradle project add the SDK as a dependency by updating your `build.gradle` as follows:

<dependency>
<groupId>org.zowe.client.java.sdk</groupId>
<artifactId>zowe-client-java-sdk</artifactId>
<version>5.1.1</version>
</dependency>

For a Gradle project add the SDK as a dependency by updating your `build.gradle` as follows:
Thin JAR (recommended):

implementation group: 'org.zowe.client.java.sdk', name: 'zowe-client-java-sdk', version: '5.2.0'

implementation group: 'org.zowe.client.java.sdk', name: 'zowe-client-java-sdk', version: '5.1.1'
Fat JAR (with dependencies):

implementation group: 'org.zowe.client.java.sdk', name: 'zowe-client-java-sdk', version: '5.2.0', classifier: 'jar-with-dependencies'

## Publishing to Maven Central

The following documents the steps taken to publish a new release of this project to maven central:
Expand Down
203 changes: 99 additions & 104 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,67 +6,12 @@

<groupId>org.zowe.client.java.sdk</groupId>
<artifactId>zowe-client-java-sdk</artifactId>
<version>5.1.1</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>11</source>
<target>11</target>
<compilerArgs>
<arg>-Xlint:unchecked </arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<useModulePath>false</useModulePath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<version>5.2.0</version>

<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>A SDK that lets you leverage the underlying z/OSMF REST APIs on a z/OS system to build applications that
<description>A SDK that lets you leverage the underlying z/OSMF REST APIs on a z/OS system to build applications
that
interface with the mainframe.
</description>
<url>https://github.com/zowe/zowe-client-java-sdk</url>
Expand All @@ -77,6 +22,7 @@
<url>https://www.eclipse.org/legal/epl-2.0/</url>
</license>
</licenses>

<developers>
<developer>
<name>Frank Giordano</name>
Expand All @@ -85,11 +31,13 @@
<organizationUrl>https://www.zowe.org/</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/zowe/zowe-client-java-sdk.git</connection>
<developerConnection>scm:git:ssh://github.com:zowe/zowe-client-java-sdk.git</developerConnection>
<url>https://github.com/zowe/zowe-client-java-sdk/tree/master</url>
</scm>

<distributionManagement>
<repository>
<id>central</id>
Expand Down Expand Up @@ -119,7 +67,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.17</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down Expand Up @@ -166,6 +114,12 @@
<version>5.10.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand All @@ -190,27 +144,95 @@
<version>2.0.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.23.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.23.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>2.23.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<!-- Compiler -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
</compilerArgs>
</configuration>
</plugin>
<!-- Surefire for tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<useModulePath>false</useModulePath>
</configuration>
</plugin>
<!-- Generate Javadoc JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Assembly plugin for fat JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<appendAssemblyId>true</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>ci-cd</id>
<build>
<finalName>zowe-client-java-sdk</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Generate source JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -224,6 +246,7 @@
</execution>
</executions>
</plugin>
<!-- GPG signing only during deploy -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand All @@ -238,47 +261,19 @@
</execution>
</executions>
</plugin>
<!-- Central publishing -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
</project>
Loading