RTF API Management

Objective

Prerequisite

Enable the Inbound Traffic

Create a JKS with RSA key

keytool -genkey -keyalg RSA -alias <controller-public-dns> -keystore server.jks

Configure JKS for the Inbound Traffic

Verify Inbound Traffic on Anypoint Dashboard

Deploy APIs to RTF

Application Listener Configuration

<?xml version="1.0" encoding="UTF-8"?>
<mule .. >
<http:listener-config name="sum-it-service-httpListenerConfig">
<http:listener-connection host="0.0.0.0" port="8081" protocol="HTTPS">
<tls:context>
<tls:key-store type="jks" path="server.jks" alias="${jks-alias}" keyPassword="${jks-password}" password="${jks-password}" />
</tls:context>
</http:listener-connection>
</http:listener-config>
<apikit:config name="sum-it-service-config" api="resource::6d77a172-feea-4187-be60-82329d313431:sum-it-service:1.0.2:raml:zip:sum-it-service.raml" outboundHeadersMapName="outboundHeaders" httpStatusVarName="httpStatus" />

<flow name="sum-it-service-main">
<http:listener config-ref="sum-it-service-httpListenerConfig" path="/*">
..
</flow>
<flow name="get:\sum\(num_1)\(num_2):sum-it-service-config">
..
</flow>
</mule>

Last Mile Security Disabled

Application Listener Configuration

<?xml version="1.0" encoding="UTF-8"?>
<mule .. >
<http:listener-config name="sum-it-service-httpListenerConfig">
<http:listener-connection host="0.0.0.0" port="8081" protocol="HTTP">
</http:listener-connection>
</http:listener-config>
<apikit:config name="multiply-it-service-config" api="resource::6d77a172-feea-4187-be60-82329d313431:multiply-it-service:1.0.2:raml:zip:multiply-it-service.raml" outboundHeadersMapName="outboundHeaders" httpStatusVarName="httpStatus" /><flow name="sum-it-service-main">
<http:listener config-ref="sum-it-service-httpListenerConfig" path="/*">
..
</flow>
<flow name="get:\multiply\(num_1)\(num_2):multiply-it-service-config">
..
</flow>
</mule>

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

DIY: Engineering Your Company Culture

Is Your Process A Rose Or A Dandelion?

Add Rubocop and Guard to your rails app

Solve GPT or MBR error at Windows Installation

Hyperautomation for the Call Center Takes More Than Just RPA

12 Smart Ways to Search on Google Like a pro

Swift Vs Python: Everything You Need to Know in 2021

🦍Bybit brought us New Launchpool of $SYNR, the governance token of GameFi project MOBLAND.🎉

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Apisero

Apisero

More from Medium

Rest API Implementation Series on the LEAD

How to create custom dynamic pagination in custom table using apex class method in Lightning Web…

Creating REST API: Salesforce

Connecting to the Salesforce Analytics APIs through Node.js