Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Who can confirm the JarConnector importAccount DataStructure?

alc
Regular Contributor
Regular Contributor

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?

alc_0-1680280785366.png

The example link of AS400CS.java does not have account/entitlement association implementation at all.

Thanks

Alc

5 REPLIES 5

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @alc 

 

 Unfortunately we don't support the Account-ent method in Jar connector. only Accounts import is supported and hence only that example is present. ( would suggest you to raise a ideas portal if you need it ). The other option is to develop a connector using the Saviynt connector framework as per documentation .
 
Thanks
Darshan

alc
Regular Contributor
Regular Contributor

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,

Darshanjain
Saviynt Employee
Saviynt Employee

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

 

alc
Regular Contributor
Regular Contributor

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"}"

Darshanjain
Saviynt Employee
Saviynt Employee

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