. . .

Creating a new module via Git

A new module can be created using the Dashboard:

Click on "New Module" in the ribbon bar:

images/download/attachments/12649305/newModuleRibbon.png

Then fill out the dialogue:

images/download/attachments/12649305/nativeModule_git.png

The Git URL for cloning the repository looks like the following:

  • https://intranetgit.yourcompany.com/awesomenativemodule/awesome.git

  • https://yourname@intranetgit.yourcompany.com/awesomenativemodule/awesome.git

You can also create a Git Native Module via request to the REST endpoint /modules/{moduleName}/gitinit. See https://apiomat.yourcompany.com/apidocs/index.html#!/modules/initNativeModuleGit.

Self-signed certificates

Please be aware that if you are using https or ssl and a self-signed certificate, you have to import the certificates into your Java keystore. See this guide how to do that.

After creating the module, the repository is filled initially with the generated classes from ApiOmat.

SSH based authentication

In case your Git repository requires SSH based authentication - that works as well. In that case the Git URL looks like this:

  • ssh://intranetgit.yourcompany.com/awesomenativemodule/awesome.git

  • ssh://yourname@intranetgit.yourcompany.com/awesomenativemodule/awesome.git

Leave the password field empty.

If the SSH based authentication uses a key instead of a password, the key must be present on the ApiOmat server, so you need to upload it via SCP once.

* link only available in Enterprise Documentation