centreon-plugins/as400/connector.as400
tuntoja 8bb8d404dd
fix(packaging): fix packaged files and java dependencies (#5253)
Co-authored-by: May <110405507+mushroomempires@users.noreply.github.com>
2024-10-21 16:43:22 +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 fix(packaging): fix packaged files and java dependencies (#5253) 2024-10-21 16:43:22 +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