Skip to content

btisystems/resource-adapter-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resource Adapter Training.

Training module for users of the Resource Adapter.

Dependencies

This training assumes you have configured your machines with the following software

Background

This maven build uses Nikita Volkov's fantastic install-to-project-repo to install libraries to an in-project Maven repository.

Nikita's version requires that the jar file names be in a specific (eclipse) format, most of our jars to not conform to this, fortunately a fork was made that ignores the naming constraint, the fork can be found here.

Initial Setup

Checkout this module, transition through the training is done with Git Branches, explained later.

Download the version of the Resource Adapter your using from your PSM Server from the following URL

   https://Your Servers Address:9998/client/resource-adapter/

Unzip this file and copy the jar files from the following directories into the maven directory ${basedir}/lib

   resource-adapter-X.x/target/
   resource-adapter-X.x/target/lib/

Run this install-to-project-repo.py file, this will take the jars and install in a local directory repository and provide the maven dependencies to include in your pom.xml.
These get written to a file here ${basedir}/repo/dependencies.txt for your convenience.

Copy the dependencies into your pom.xml in the dependencies section. And confirm that everything builds ok by running the following command

   mvn clean install

Start Coding

With your IDE of choice, import this maven project, and run the NetworkElementsHelloWorld example.

Whats next?

Switch to one of the branches below and start the tutorial.

About

Training module for users of the Resource Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published