Software AG Products 10.7 | Configuring API Gateway | API Gateway Data Store | Administering API Gateway Data Store | Changing the API Gateway Data Store HTTP Port using Template
 
Changing the API Gateway 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}