WxPackageManager

webMethods package to provide an online central registry for looking up packages and obtaining the necessary git repository info in order to download the package locally.

The package provides a portal to allow packages to be browsed, registered and downloaded here

http://localhost:5555/WxPackageManager

The package also provides an API to implement remote use and used by third party client tools such as webMethods wpm cli too.

e.g.

List available packages
$ curl "http://localhost:5555/rad/wx.packages:manager/packages?registry=default" \ -H 'Accept: application/json' {"packages":[{"name":"JcPublicTools","category":"tools","description":"Bunch of utility services for general use when building webMethods Integrations","registeredDate":"24/01/2022","searchTags":["\"utility\"","\"general\""],"totalDownloads":"0"}]}

Full API documentation is available here online

http://localhost:5555/WxPackageManager/api-docs

## Set up
Simply install the package into your webMethods Integration Server. This package also requires the package JcPublicTools (https://github.com/johnpcarter/JcPublicTools).

# Database setup

You will need to provide an mysql database and the set the connection parameters. You can do this after starting up your server via the adapters -> jdbc adapter -> connections -> 'wx.packages.manager._priv.jdbc:conn'

Alternatively you can copy the connection properties file application.properties in the packages WxPackageManager resources directory to the root folder or your Integration Server/MSR and edit the connection properties to point to your database before starting up the server.

You will have to reload the package after setting the database connection if the server is already started. The necessary database tables will be created dynamically when the package starts. A default public registry is also created automatically.