centreon-plugins/as400/connector.as400
tuntoja 53afb6ee11
enh(ci): add pipeline for as400 using nfpm (#5167)
2024-09-23 16:12:58 +02:00
..
.settings enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
src enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
.classpath enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
.gitignore enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
.project enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
README.md enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00
pom.xml enh(ci): add pipeline for as400 using nfpm (#5167) 2024-09-23 16:12:58 +02:00

README.md

Tools

Launch test

Build

mvn clean package

Execute

java \
  -DCONNECTOR_ETC=target/test-classes/ \
  -DCONNECTOR_HOME=target/test-classes/ \
  -DCONNECTOR_LOG=target/test-classes/ \
  -DCONNECTOR_TMP=target/test-classes/ \
  -jar target/centreon-as400-2.0.0-jar-with-dependencies.jar \
  --port 8091

Test

curl -X POST -d '{"host": "test-as400", "login": "myuser", "password": "mypass", "command": "test" }' http://127.0.0.1:8091

References

IBM knowledge center example