Code Monkey home page Code Monkey logo

agents-mulesoft's Introduction

Amplify Mulesoft Anypoint Agent

Overview

This repository contains the Axway Amplify dataplane agents for the Mulesoft Anypoint platform. These agents connect your Mulesoft Anypoint dataplane to the Amplify Central management plane.

Discovery

The Discovery agent is used to discover APIs in the Mulesoft API Manager and publish them to the Amplify Central.

Traceability

The traceability agent retrieves traffic and usage data from the Mulesoft API Manager analytics service and publishes it to the Amplify Central.

Getting Started

The settup process is:

  • Download and install the agents.
  • Create a Service Account in Amplify Central for the agents to use.
  • Create an Environment in Amplify Central for the agents to publish too.
  • Configure and run the agents.

Downloading the Agents

Download and unzip the latest release of the discovery agent and the traceability agent.

curl  -L https://github.com/Axway/agents-mulesoft/releases/download/v1.0.0/mulesoft_discovery_agent_1.0.0_Linux_x86_64.tar.gz --output - | tar xz
curl  -L https://github.com/Axway/agents-mulesoft/releases/download/v1.0.0/mulesoft_traceability_agent_1.0.0_Linux_x86_64.tar.gz --output - | tar xz

Configure Axway Amplify Central

Navigate to https://platform.axway.com and authenticate or sign up for a trial account.

Locate Amplify Organization ID

Click on your profile in the top-right corner of the Welcome screen and select Organization.

Note the value of the Organization ID.

Create a Service Account

Service Account are used by Amplify so that the Agents can connect securely to Amplify Central using private key credentials known only to the owner of the dataplane.

Using the Axway CLI

The creation of the service account requires a public/private key pair. The Axway CLI can automatically generate these and create the service account.

$ amplify central create service-account
WARNING: Creating a new DOSA account will overwrite any existing "private_key.pem" and "public_key.pem" files in this directory
? Enter a new service account name:  ExampleSA
Creating a new service account.
New service account "ExampleSA" with clientId "DOSA_edf194aa2430422bace013ce46a31d4a" has been successfully created.
The private key has been placed at /home/user/example/private_key.pem
The public key has been placed at /home/user/example/public_key.pem

For more information on configuring the Axway CLI see Getting started with Amplify Central CLI.

Using the Amplify Central UI

Click the grid icon at the top-left of the UI and select Central.

Navigate to Access -> Service Accounts.

Click the +Service Account Button.

Add a name and a public key.

To generate a public key, you can install OpenSSL and run the commands:

openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -pubout -in private_key.pem -out public_key.pem

Note the Client ID value.

Create Environment

The environment in Amplify Central is where the agent will publish the resources it discovers from Mulesoft Anypoint API Manager.

Navigate to the Toplogy tab and click the +Environment Button

Complete the configuration form, noting the value entered in the Name field. It must be all lowercase with no spaces as it will be used as an identifier to the agent configuration later.

Agent Configuration

To configure the agents see:

See Also

Reference: SDK Documentation - Building Discovery Agent, Mulesoft API Manager API

agents-mulesoft's People

Contributors

bladedancer avatar chrisccoy avatar vbelfouredemo avatar vbelfoure avatar mbonchevaxway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.