Software AG Products 10.11 | Administrating API Gateway | API Gateway Configuration with Command Central | Manage API Data Store Configurations in Command Central | Administering API Data Store | Changing the API Data Store HTTP Port using Template
 
Changing the API Data Store HTTP Port using Template
You can change the HTTP Port details using the following Command Central template:
sagcc exec templates composite import -i ports.yaml

sagcc exec templates composite apply sag-apigw-datastore-port nodes=local port.alias=port_alias port.number=port_number
Sample ports configuration file:
alias: sag-apigw-datastore-port
description: API Gateway Data Store Port configuration

layers:
runtime:
templates:
- apigw-datastore-port

templates:
apigw-datastore-port:
products:
CEL:
default:
configuration:
CEL:
COMMON-PORTS:
COMMON-PORTS-defaultHttp:
Port:
'@alias': ${port.alias}
Number: ${port.number}
Protocol: HTTP


provision:
default:
runtime: ${nodes}