嗨,我已经阅读了 https://docs.jboss.org/author/display/WFLY10/The+HTTP+management+API 的文档
但我没有找到有关列出已部署工件的任何信息。我想以这样一种方式自动部署工件,以便我能够重新部署现有工件或部署尚不存在的工件。这可以通过http api和curl的使用来实现吗?我知道这应该是可能的 jboss-cli.sh 但我宁愿不使用它。
curl --silent --digest http://user:password@localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"read-attribute","address":[{"deployment":"*"}], "name": "enabled", "json.pretty":1}'