Book a demo

← Documentation

Push Module

Method / path: POST /api/v1/modules

Prerequisites

  • The caller must provide a module name and connector type.

Authorization

  • API key (via the X-API-KEY header).

Parameters

Request Body

Field nameDescriptionFormat
nameThe name of the moduleString
configConnector configurationObject
typeThe connector type identifierString
profilesModule profilesMap
connectionRefConnection ID (pre-existing profiles)UUID

Response Body

Field nameDescriptionFormat
moduleIdThe ID of the created moduleUUID
moduleNameThe name of the created moduleString
testCasesCreatedNumber of test cases createdInteger

Config Structure

Field nameDescriptionFormat
connectorNameThe name of the connectorString
connectorVersionThe version of the connectorString

Profile Structure

Field nameDescriptionFormat
profileNameKeyString
profileValueProfile configJsonElement

Examples

mainframe-rpc

{
  "name": "module-mainframe-rpc",
  "config": {
    "connectorName": "mf-cics-cobol",
    "connectorVersion": "latest"
  },
  "type": "mainFrameRpc",
  "profiles": {
    "$default": {
      "baseUrl": "http://cics.example.internal",
      "uriMap": "/example/latest",
      "port": 12345,
      "codePage": "cp037"
    }
  }
}
```json

{ "moduleId": "00000000-0000-0000-0000-000000000011", "moduleName": "module-mainframe-rpc", "testCasesCreated": 0 } ```

as400-rpc

{
  "name": "module-as400-rpc",
  "config": {
    "connectorName": "as400-rpc",
    "connectorVersion": "latest"
  },
  "type": "as400Rpc",
  "profiles": {
    "$default": {
      "codePage": "037",
      "host": "ibmi.example.internal",
      "user": "example-user",
      "password": "example-password"
    }
  }
}
```json

{ "moduleId": "00000000-0000-0000-0000-000000000022", "moduleName": "module-as400-rpc", "testCasesCreated": 0 } ```

ims-rpc

  {
    "name": "module-ims-rpc",
    "config": {
      "connectorName": "mf-ims",
      "connectorVersion": "latest"
    },
    "type": "imsRpc",
    "profiles": {
      "$default": {
        "host": "cics.example.internal",
        "username": "example-username",
        "password": "example-password",
        "groupName": "GROUP1",
        "dataStoreName": "IVP1",
        "port": 9999,
        "codePage": "cp037",
        "sslProperties": {
          "isSslEnabled": false
        },
        "transactionProperties": {
          "commitMode": "SEND_AND_COMMIT"
        }
      }
    }
  }
```json

{ "moduleId": "00000000-0000-0000-0000-000000000033", "moduleName": "module-ims-rpc", "testCasesCreated": 0 } ```

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy