Question
Nordea
DK
Last activity: 27 Apr 2022 5:47 EDT
Importing enabled operators with the Import REST API
We are using the import REST API http://ip:port/prweb/PRRestService/SystemManagement/v2/Import to automate the import of RAP files on a Pega 8.7 system. We are using the [email protected] operator as there aren’t any other operators available after the install. The import works fine, but operators are disabled on import. I don’t see any options in the service that cause imported operators to be enabled. Have I missed something?
My idea was to use the Pega Users API to enable the operators http://ip:port/prweb/api/v1/users/enable. Unfortunately it doesn’t work because the access group PRPC:Administrators used by [email protected] doesn’t have the role PegaRULES:PegaAPISysAdmin (only PegaRULES:PegaAPI).
I know that we could use prpcServiceUtils with the insecureOperators flag set to true. However, we would prefer to use REST services rather than prpcServiceUtils.
Any ideas how to automate the import of enabled operators without using prpcServiceUtils?