ar - configs Function
You set five configuration parameters for the ar-configs function. They are as follows:
application: The service application code. The value is either ec or osvc.
applicationHostName: The hostname of the Service application.
contactId: The contact ID to use when creating service requests.
knowledgeContentHostName: The Content API hostname when using Knowledge Advanced for knowledge.
knowledgeSearchHostName: The Search API hostname when using Knowledge Advanced.
fn config -f ar-accelerator ar-configs application "osvc" \
fn config -f ar-accelerator ar-configs applicationHostName "osvc.custhelp.com" \
fn config -f ar-accelerator ar-configs contactId 4 \
fn config -f ar-accelerator ar-configs knowledgeContentHostName "osvc-irs.custhelp.com" \
fn config -f ar-accelerator ar-configs knowledgeSearchHostName "osvc-qp.custhelp.com"
Test that the configuration is correct by running invoke:
fn invoke ar-accelerator ar-configs
The expected results are a JSON object with the variables set above nested in a “service” object.