@axway-api-builder-ext/api-builder-plugin-fc-sap-lama

1.1.0 • Public • Published

API-Builder SAP Landscape Management Connector

Use this connector to communicate with the SAP Landscape Management and make it part of your API-Management platform.

Installation

To install it into you API-Builder project execute:

npm install @axway-api-builder-ext/sap-lama-connector --no-optional

To install a specific version please use:

npm install @axway-api-builder-ext/sap-lama-connector@1.0.0 --no-optional

This connector is using the Swagger-Flow node:
https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/flows/flow_nodes/swagger_flow_node/index.html

Configuration

After restarting your API-Builder project you get the following connector:
XML Node Settings
Depending on the selected method different options appear on the right, when using the connector as part of the flow.
XML Node Settings

Setup SAP Landscape Management Host and Login

A new config file has been automatically created for the SAP Landscape Management Connector which can be used to setup the connection details:
XML Node Settings
Additional details can be found here: https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/flows/flow_nodes/swagger_flow_node/index.html#configure-the-swagger-plugin

Please note, that the connector is configured to use HTTP-Basic to communicate with the SAP Landscape Management. In order to use that, please configure the Authentication-Credentials as described here:
https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/credentials/configuring_credentials/http_basic_credentials/index.html
Alternatively you can pass on externally given user-credentials with the flow node.

module.exports = {
	// The configuration settings for your Swagger service.
	pluginConfig: {
		'@axway/api-builder-plugin-fn-swagger': {
			'sap-lama-api': {
				// It is possible to override Swagger URI options when constructing
				// outbound requests from the Swagger plugin.
				uri: {
					// protocol: 'https',
					// host: 'hostname',
					// port: 443,
					// basePath: '/api'
				}
			}
		}
	},
	// The following authorization credentials needed to use the Swagger service.
	// Please follow this guide to manually configure the credentials:
	// https://docs.axway.com/bundle/api-builder/page/docs/developer_guide/credentials/index.html
	authorization: {
		credentials: {
			'LaMa API Basic Authentication': {
				type: 'basic',
				username: yourusername,
				password: yourpassword
			}
		}
	}
};

Compatibility

Tested with SAP Landscape Management 3.0

Changelog

See CHANGELOG

Limitations/Caveats

  • Nothing known

Contributing

Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Team

alt text Axway Team

License

Apache License 2.0

Package Sidebar

Install

npm i @axway-api-builder-ext/api-builder-plugin-fc-sap-lama

Weekly Downloads

1

Version

1.1.0

License

Apache-2.0

Unpacked Size

261 kB

Total Files

6

Last publish

Collaborators

  • axway_alasdair