Hi Prasantha, hi Sampath,
Well, manageMappings is something that the GMU does independently to RESTMAN, there is no way to do that with RESTMAN itself, you have to use the GMU or a similar tool as Sampath mentioned.
Actually Sampath, there are a couple of alternatives around :) they are not free, but there is one that does not need RESTman but is very lightly maintained and not focused on. It is within every VM gateway, which is the ESM (or ASM) that requires a license, to be asked to Broadcom, but as I mentioned, is not very much looked after, and is not using bundles, and also, it only works for VMs and Hardware appliances.
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway-service-manager/1-19.htmlThe other non-free one, that is actively developed and is increasing very rapidly in the market is the AAGM, it is supported by our company, it uses restman, interfaces with CI/CD tools, it allows for integration with versioning control, it supports rollbacks, and all lot of other functions. It also supports ALL versions of the Gateway to date and we are working already for the integration with the Gateway 10.
Moreover, as a reply to your original post, it deals with mapping issues inteligently and automatically.
Here is the link
https://apiida.com/apiida-api-gateway-manager/?lang=enI suggest you have a look at that
------------------------------
Maurizio Garzelli
APIIDA
APIIDA Principal Consultant
https://apiida.com------------------------------
Original Message:
Sent: 02-21-2020 05:52 AM
From: Sampath Kumar
Subject: Import Bundle using Rest API
As on date we don't have the option to do similar to GMU tool using Restman services.
Original Message:
Sent: 02-20-2020 10:39 PM
From: Prasantha Sivabalasunderam
Subject: Import Bundle using Rest API
How can I executing below command using REST API?
java -jar GatewayMigrationUtility.jar manageMappings --bundle "%SoureBundle%" --type JDBC_CONNECTION -a NewOrExisting
java -jar GatewayMigrationUtility.jar manageMappings --bundle "%SoureBundle%" --type TRUSTED_CERT -a Ignore
In the above command, we are using GatewayMigrationUtility.jar to manage mappings as we wish prior to importing the bundle. How can we do that when we use REST API?
Original Message:
Sent: 02-20-2020 03:47 AM
From: Sampath Kumar
Subject: Import Bundle using Rest API
Can you please provide more details(steps followed)
Original Message:
Sent: 02-19-2020 06:05 PM
From: Prasantha Sivabalasunderam
Subject: Import Bundle using Rest API
I am unable to find a way to manage mappings during the bundle import using REST API. This is available if we use GatewayMigrationUtility.jar and we can Ignore certain types of mappings.
If we were to use REST API then how can this be achieved?