Question
Lloyds Banking Group PLC
GB
Last activity: 2 Jun 2018 2:06 EDT
"No matching Product or Application found with inputs" when using prpcServiceUrls
I am trying to export using prpcServiceUtils via Jenkins.
I have my declarative pipeline configured and have tested it with a built in product such as PESamples and this works as expected an exports successfully. However, after creating a custom product rule the export is failing with the following error:
I am trying to export using prpcServiceUtils via Jenkins.
I have my declarative pipeline configured and have tested it with a built in product such as PESamples and this works as expected an exports successfully. However, after creating a custom product rule the export is failing with the following error:
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.pega.rest.server.url=http://URL_HERE:8080/prweb/PRRestService/
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.pega.rest.username=USERNAME_HERE
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.pega.rest.password=*****
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.archiveName=PegaTest01.01.01
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.productName=PegaTest
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.productVersion=01.01.01
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.applicationName=${applicationName}
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.applicationVersion=${applicationVersion}
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235.export.async=false
12:03:16 [pega:propertyfilegenerator] Systems Configured
12:03:16 [pega:propertyfilegenerator] jenkins-PEGA-DEV-235
12:03:16 [pega:propertyfilegenerator] Generated /opt/bitnami/apps/jenkins/jenkins_home/workspace/PEGA-DEV/scripts/utils/generated/jenkins-PEGA-DEV-235.prpcServiceUtils.properties
12:03:16 [echo] *** JVM Arguments -XX:MaxHeapSize=1280m ***
12:03:16
12:03:16 _callService:
12:03:17 [java] 11:03:17.590 [main] INFO [a.pegarules.serviceclient.ClientSettings] - -action export -propFileDir /opt/bitnami/apps/jenkins/jenkins_home/workspace/PEGA-DEV/scripts/utils/generated -poolSize ${prpcserviceutils.pool.size} -requestTimeOut ${prpcserviceutils.request.timeout} -tempDir /tmp/PegaInstallTemp-24-May-2018-11.03.15 -artifactsDir /opt/bitnami/apps/jenkins/jenkins_home/workspace/PEGA-DEV/export
12:03:17 [java] 11:03:17.601 [main] INFO [a.pegarules.serviceclient.ClientSettings] - Setting Thread Pool Size to default 5
12:03:17 [java] 11:03:17.601 [main] INFO [a.pegarules.serviceclient.ClientSettings] - Setting Request TimeOut to default 300
12:03:17 [java] 11:03:17.629 [main] INFO [.pega.pegarules.serviceclient.ClientMain] - Initializing client Current Operation = EXPORT; Thread Pool Size = 5; RequestTimeOut = 300; TemporaryDirectory = /tmp/PegaInstallTemp-24-May-2018-11.03.15
12:03:17 [java] 11:03:17.631 [main] INFO [viceclient.requestmanager.RequestManager] - Initializing Request Manager
12:03:17 [java] 11:03:17.631 [main] INFO [viceclient.requestmanager.RequestManager] - Initializing ExecutorService with pool size 5
12:03:17 [java] 11:03:17.640 [main] INFO [viceclient.requestmanager.RequestManager] - Performing EXPORT with params [System Name = jenkins-PEGA-DEV-235 Parameters = {hotfix.async=true, expose.includeDescendents=true, getstatus.jobID=, export.async=false, expose.async=true, expose.excludedClasses=, export.productName=PegaTest, import.commitRate=100, export.branchAppContext=, expose.commitRate=100, import.existingInstances=skip, user.temp.dir=C:/pega_temp, expose.reindex=true, hotfix.operation=, expose.excludeDescendents=true, import.artifactType=, pega.rest.proxy.password=*****, updateAccessGroup.applicationName=, import.nofailonerror=false, export.applicationVersion=${applicationVersion}, import.codesetVersion=06-01-01, import.archivePath=, pega.rest.proxy.username=, expose.includedClasses=, rollback.action=SystemRollback, pega.rest.server.url=http://URL_HERE:8080/prweb/PRRestService/, updateAccessGroup.applicationVersion=, expose.startKey=, expose.reindexType=nonpega, import.codesetName=Customer, manageRestorePoints.restorePointLabel=, pega.rest.password=*****, import.async=true, import.compileLibraries=true, hotfix.force=false, export.productVersion=01.01.01, import.allowImportWithMissingDependencies=false, rollback.restorePointName=, pega.rest.username=USERNAME_HERE, rollback.async=true, export.branchName=, getstatus.operationName=, expose.endDate=, import.bypassSchema=, import.preserveOrder=true, export.repositoryName=, rollback.downloadLogToFile=true, pega.rest.proxy.port=, pega.rest.proxy.workstation=, expose.endKey=, import.archive.path=, hotfix.dlFilePath=, export.archiveName=PegaTest01.01.01, manageRestorePoints.restorePointName=, updateAccessGroup.groupList=, import.mode=import, expose.startDate=, import.importFromRepository=false, expose.numOfThreads=1, manageTrackedData.operation=, hotfix.bypassSchema=false, hotfix.catalogPath=, pega.rest.proxy.domain=, import.skipBackup=false, manageRestorePoints.action=, export.exportToRepository=false, export.applicationName=${applicationName}, pega.rest.response.type=json, pega.rest.proxy.host=, import.repositoryName=}]
12:03:17 [java]
12:03:19 [java] 11:03:18.728 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-PEGA-DEV-235: Parsing response
12:03:19 [java] 11:03:18.729 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-PEGA-DEV-235: Parsing response of length 270
12:03:19 [java] 11:03:18.738 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-PEGA-DEV-235: Parsing content of type application/json; charset=UTF-8
12:03:19 [java] 11:03:18.746 [main] INFO [viceclient.requestmanager.RequestManager] - Request on system jenkins-PEGA-DEV-235 Successful
12:03:19 [java]
12:03:19 [java] FAILED JOBS
12:03:19 [java] --------------------------------------------------------------------------------------------
12:03:19 [java]
12:03:19 [java] System Name : jenkins-PEGA-DEV-235
12:03:19 [java] Job ID :
12:03:19 [java] Status : FAILED
12:03:19 [java] Error Messages : No matching Product or Application found with inputs Product Name:PegaTest Product Version:01.01.01 Application Name:${applicationName} Application Version:${applicationVersion}
12:03:19 [java] --------------------------------------------------------------------------------------------
12:03:19 [java] 11:03:18.788 [main] INFO [viceclient.requestmanager.RequestManager] - Shutting down executor service
12:03:19 [java] 11:03:18.788 [main] INFO [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed
12:03:19 [java] Exception in thread "main" Operation EXPORT failed on jenkins-PEGA-DEV-235,
12:03:19 [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116)
12:03:19 [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61)
Below is a copy of my properties file:
#Thu, 24 May 2018 11:03:13 +0000
jenkins-PEGA-DEV-235.pega.rest.server.url=http\://URL_HERE\:8080/prweb/PRRestService/
jenkins-PEGA-DEV-235.pega.rest.username=USERNAME_HERE
jenkins-PEGA-DEV-235.pega.rest.password=PASSWORD_HERE
jenkins-PEGA-DEV-235.export.archiveName=PegaTest01.01.01
jenkins-PEGA-DEV-235.export.productName=PegaTest
jenkins-PEGA-DEV-235.export.productVersion=01.01.01
jenkins-PEGA-DEV-235.export.applicationName=${applicationName}
jenkins-PEGA-DEV-235.export.applicationVersion=${applicationVersion}
jenkins-PEGA-DEV-235.export.async=false
I have blanked out my URL, Username and Password for obvious reasons.
Also, i am able to export the product from the PEGA GUI successfully as the same user that is specified in my properties file.
Why is prpcServiceUtils unable to detect the product?