Build API Proxies in Visual Studio Code and deploy these in SAP Cloud Platform API Management.
Features
Import APIProxies from the SAP Cloud Platform API Management
Create an API Proxy archive file (zip) in Visual Studio Code
Deploy API Proxies from Visual Studio Code to the SAP Cloud Platform API Management platform.
Requirements
You have a Java Development Kit (JDK) installed.
Extension Settings
Go to File > Preferences > Settings > Extensions > sapapim_deploy and make the following settings:
sapapim_deploy.Portalurl : URL of your API Portal
sapapim_deploy.Portaluser : Emailaddress (User) for your API Portal
How it Works
Create an API
Be sure to start with a folder with the name api. Within that folder the api proxy must be provided with the following structure
This is just like the structure you get when you export an api from the SAP Cloud Platform API Management Portal.
Import
Select the folder api.
Start from scratch or import an existing api from API Management
From the Context Menu select: SAP: Import From API Management
Any content within the api folder will be overwritten
Build
Select the folder api.
From the Context Menu select: SAP: Build API Management Archive
This will create a folder BUILD and within that folder a zip archive file.
Deploy
Go to the builded zip archive file. From the Context Menu select: SAP: Deploy To API Management
An inputbox will be shown to enter your password for the SAP Cloud Platform API Management Portal