Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Axway/agents-webmethods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dfb26ee · Aug 12, 2024
Aug 12, 2024
May 9, 2024
Jun 27, 2024
May 15, 2023
Feb 16, 2024
Jan 4, 2024
Mar 14, 2024
Jun 11, 2024
Jan 4, 2024
May 10, 2024
Apr 17, 2023
Apr 25, 2023
Apr 25, 2023
Jul 15, 2024
Jul 15, 2024
Aug 12, 2024
Oct 20, 2023

Repository files navigation

Prerequisites

  • You need an Axway Platform user account that is assigned the AMPLIFY Central admin role
  • Your Wemethods API Gateway should be up and running and have APIs to be discovered and exposed in AMPLIFY Central

Let’s get started!

Prepare AMPLIFY Central Environments

In this section we'll:

Create an environment in Central

Create a service account

  • Create a public and private key pair locally using the openssl command
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits: 2048
openssl rsa -in private_key.pem -pubout -out public_key.pem
  • Log into the Amplify Platform
  • Navigate to "Organization" then "Service Accounts"
  • Click "+ Service Account"
    • Select a name
    • Optionally add a description
    • Select "Client Certificate"
    • Select "Provide public key"
    • Select or paste the contents of the public_key.pem file
    • Select "Central admin"
    • Click "Save"
  • Note the Client ID value, this and the key files will be needed for the agents

Prepare Webmethods APIM

  • Create an webmethods account
  • Note the username and password used as the agents will need this to run
  • Add a developer that will be the owner of all applications created by the agent

Setup agent Environment Variables

The following environment variables file should be created for executing both of the agents

CENTRAL_ORGANIZATIONID=<Amplify Central Organization ID>
CENTRAL_TEAM=<Amplify Central Team Name>
CENTRAL_ENVIRONMENT=<Amplify Central Environment Name>   # created in Prepare AMPLIFY Central Environments step

CENTRAL_AUTH_CLIENTID=<Amplify Central Service Account>  # created in Prepare AMPLIFY Central Environments step
CENTRAL_AUTH_PRIVATEKEY=/keys/private_key.pem            # path to the key file created with openssl
CENTRAL_AUTH_PUBLICKEY=/keys/public_key.pem              # path to the key file created with openssl

WEBMETHODS_URL=<Webmethods API Gateway UI URL>          # created in Prepare Webmethods agent step
WEBMETHODS_MATURITYSTATE=<Webmethods Maturity State>     # created in Webmethods agent step
WEBMETHODS_FILTER=<Webmethods Tag filter>                # created in Webmethods agent step
WEBMETHODS_AUTH_USERNAME=<Webmethods Username>           # created in Prepare Webmethods agent step
WEBMETHODS_AUTH_PASSWORD=<Webmethods Password>           # created in Prepare Webmethods agent step

LOG_LEVEL=info
LOG_OUTPUT=stdout

Discovery Agent

Reference: Discovery Agent

Traceability Agent

Reference: Traceability Agent