Using Executor Properties
The simplest way to define the corresponding properties of your Executor entity, for example:
model DirectInitExample uses "executor" declarations myexecutor: Executor end-declarations myexecutor.componenturl := "https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/" myexecutor.dmpmanagerurl := "https://iam-svc.dms.usw2.ficoanalyticcloud.com/" myexecutor.clientid := "vm5qh0y37c" myexecutor.secret := "wdS97u648BVoI#d3e4g2Z4mP780Y1DLdSDKm" ! myexecutor now initialized and can be used end-model
To find the component URL, bring up the drop-down menu beside the component name in DMP and select "View Links". Use the value from the 'REST' field but remove everything after the domain name. For example, if the link displayed is:
https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/rest/ runtime/execution?solutionID=vm5qh0y37c
then use
https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/
The clientid and secret values for your solution can be found on the "Client Apps" page of the solution screen in DMP. Finally, the dmpmanagerurl will be the root URL from where we will obtain DMP authentication tokens - consult the "Requesting a Bearer Token" page of the DMP documentation for more details. For legacy reasons, the actual URL of the DMP Manager may be used instead.
If you prefer to manage the authentication with DMP yourself, you can alternately initialize the Executor with the component URL and a DMP bearer token, e.g.:
model DirectInitExample uses "executor" declarations myexecutor: Executor end-declarations myexecutor.componenturl := "https://vm65j75lqh-vm65j75lqh.dms.usw2.ficoanalyticcloud.com/" myexecutor.bearertoken := "xyfuehdsoguihUGHifsihf7hi" ! myexecutor now initialized and can be used end-model
However, note you will need to refresh the 'bearertoken' value periodically as the tokens will expire. If you initialize with clientid and secret, the 'executor' module will request new bearer tokens when it needs to.
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.