API Gateway 10.5 | Configuring API Gateway | API Gateway Data Store | Administering API Gateway Data Store | Changing the API Gateway Data Store HTTP Port | 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
ExtendedProperties:
Property:
- '@name': ssl
$: 'false'


provision:
default:
runtime: ${nodes}