03/31/2023 09:42 AM - edited 03/31/2023 10:25 AM
Hello,
We try to implement custom connector with JarConnector. I am disappointed with the JarConnector documentation without clear implementation specification defined for a Java interface.
Any one can confirm the importAccount entry data structure for account, and account/entitlement association? is it compatible with Schema based account import or is it compatible with Sayiynt Connector Framework with data structure below?
The example link of AS400CS.java does not have account/entitlement association implementation at all.
Thanks
Alc
04/05/2023 12:37 AM
Hi @alc
04/05/2023 05:09 AM
Thank you very much Darshan for your confirmation.
However, when I try the importAccount function with Application Import(Single Thread) in version 2021, it shows success. but the actual importAccount method was not executed.
In jarConnector, it also have importAccessJSON on the connector definition form, but no job types support this method execution.
Thanks,
04/06/2023 02:39 AM
Hi @alc
Yes Import access json field is avaliable but we have not given option to run the job.
Also on the account import job make sure you are calling the correct method and do you see anything in the logs when you run the job.
Thanks
Darshan
04/06/2023 05:11 AM
Hello Darshan,
The logs shows the job is executed but end immediately with "success" Actually it should be failure if it really execute the importAccount method because I return "Failure" message on purpose to test it. but if I submit createAccount request. it executed my createAccount method and print out the debug message I put there. looks EIC has bug and did not really execute importAccount method.
the typical log entries looks like:
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,751 [quartzScheduler_Worker-6] DEBUG jobs.SapImportJob - START SapImportJob\n","stream":"stdout","time":"2023-04-01T16:40:26.751579027Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,807 [quartzScheduler_Worker-6] DEBUG jobs.SapImportJob - Calling externalConnectionCallService\n","stream":"stdout","time":"2023-04-01T16:40:26.807351363Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,807 [quartzScheduler_Worker-6] DEBUG jobs.SapImportJob - SAP IMPORT Job ID - 22028\n","stream":"stdout","time":"2023-04-01T16:40:26.807391717Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,808 [quartzScheduler_Worker-6] DEBUG integration.ExternalConnectionCallService - START INVOKING EXTERNAL CONNECTION\n","stream":"stdout","time":"2023-04-01T16:40:26.808303943Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,823 [quartzScheduler_Worker-6] DEBUG services.ImportUtilityService - Endpoint 'EP_ACF2_DEV' found for the Security System 'SS_ACF2_DEV' with Endpointkey: 6\n","stream":"stdout","time":"2023-04-01T16:40:26.823544934Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,823 [quartzScheduler_Worker-6] DEBUG integration.ExternalConnectionCallService - *******endpoint=EP_ACF2_DEV and secSystem=SS_ACF2_DEV******************\n","stream":"stdout","time":"2023-04-01T16:40:26.823563495Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,823 [quartzScheduler_Worker-6] DEBUG integration.ExternalConnectionCallService - jobOption - PAMBootstrap isPAMJobOptionType - false\n","stream":"stdout","time":"2023-04-01T16:40:26.824087609Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,824 [quartzScheduler_Worker-6] DEBUG integration.ExternalConnectionCallService - jobOption - InstancePAM isPAMJobOptionType - false\n","stream":"stdout","time":"2023-04-01T16:40:26.824101692Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,828 [quartzScheduler_Worker-6] DEBUG provisoning.JarConnectorService - Start Importing JarConnector data\n","stream":"stdout","time":"2023-04-01T16:40:26.828554498Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,829 [quartzScheduler_Worker-6] DEBUG provisoning.JarConnectorService - initializing JarConnector connection\n","stream":"stdout","time":"2023-04-01T16:40:26.829548843Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,833 [quartzScheduler_Worker-6] DEBUG provisoning.JarConnectorService - extAttList - [com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 94, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 95, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 96, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 97, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 98, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 99, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 100, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 101, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 102, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 103, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 104, com.saviynt.ecm.utility.domain.ExternalconnectionAttributeValue : 105]\n","stream":"stdout","time":"2023-04-01T16:40:26.833180811Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,895 [quartzScheduler_Worker-6] DEBUG provisoning.JarConnectorService - done\n","stream":"stdout","time":"2023-04-01T16:40:26.8960331Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,896 [quartzScheduler_Worker-6] DEBUG provisoning.JarConnectorService - Elapsed seconds: 0\n","stream":"stdout","time":"2023-04-01T16:40:26.896243991Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,896 [quartzScheduler_Worker-6] DEBUG services.ImportUtilityService - Writing job history to import logs.\n","stream":"stdout","time":"2023-04-01T16:40:26.896683177Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,896 [quartzScheduler_Worker-6] DEBUG services.ImportUtilityService - Number of log entries to be written : 2\n","stream":"stdout","time":"2023-04-01T16:40:26.896695634Z"}"
"ecm-worker","2023-04-01T16:40:27.666+0000","{"log":"2023-04-01 16:40:26,927 [quartzScheduler_Worker-6] DEBUG integration.ExternalConnectionCallService - END INVOKING EXTERNAL CONNECTION\n","stream":"stdout","time":"2023-04-01T16:40:26.927963971Z"}"
04/12/2023 06:06 AM
Hi @alc
Can you open a ticket on this, so that support can check. it looks like its not even going to Import account method ( attach import account json, job config in FD ticket )
Thanks
Darshan
Thanks
Darshan