Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Application data import Access Job takes forever

Robbe_Cronos
Regular Contributor II
Regular Contributor II

We have a REST connector setup for our gitlab-DEV instance and sometimes need to import access from that connector (EntitlementParams & acctEntParams).

Every time we run this job to test something, it takes 30-40 minutes to complete even though we see all the new imported entitlements and hierarchy in about 2 minutes. 

We have 114 users, 180 groups and 700 projects in our gitlab instance. Is this the cause for the super slow import?

Some help with this would be appreciated, as we can't do anything else on this connector while running the job.

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

It might be issue with your processingType in importjson or network connectivity issue. Is this issue with all environment & applications? 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Yes it happens with more connectors. I'll paste our importJSON just in case there is an easy fix for it.

{
  "accountParams": {
    "connection": "acctAuth",
    "processingType": "SequentialAndIterative",
    "call": {
      "call1": {
        "callOrder": 0,
        "stageNumber": 0,
        "http": {
          "url": "https://URL/api/v4/users",
          "httpHeaders": {
            "Authorization": "${access_token}",
            "Accept": "application/json",
            "Host": "git-dev.is4u.be"
          },
          "httpContentType": "application/json",
          "httpMethod": "GET"
        },
        "listField": "",
        "keyField": "accountID",
        "colsToPropsMap": {
          "accountID": "id~#~char",
          "name": "username~#~char",
          "status": "state~#~char",
          "customproperty2": "email~#~char",
          "customproperty3": "created_at~#~char"
        },
        "pagination": {
          "nextUrl": {
            "nextUrlPath": "${headers?.link?.split(',').size()==4?headers.link.split(',')[1].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():(headers?.link?.split(',')?.size()==3 && headers?.link.contains('next'))?headers.link.split(',')[0].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():null}"
          }
        }
      }
    }
  },
"entitlementParams": {
  "connection": "acctAuth",
  "processingType": "SequentialAndIterative",
  "entTypes": {
    "Group": {
      "entTypeOrder": 0,
      "call": {
        "call1": {
          "callOrder": 0,
          "stageNumber": 0,
          "http": {
            "url": "https://URL/api/v4/groups",
            "httpHeaders": {
              "Authorization": "${access_token}",
              "Accept": "application/json",
              "Host": "git-dev.is4u.be"
            },
            "httpContentType": "application/json",
            "httpMethod": "GET"
          },
          "listField": "",
          "keyField": "entitlementID",
          "colsToPropsMap": {
            "entitlementID": "id~#~char",
            "entitlement_value": "#CONST#${response.web_url}~#~char",
            "displayname": "name~#~char",
            "customproperty1": "id~#~char",
            "customproperty2": "description~#~char"
          },
          "pagination": {
            "nextUrl": {
              "nextUrlPath": "${headers?.link?.split(',').size()==4?headers.link.split(',')[1].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():(headers?.link?.split(',')?.size()==3 && headers?.link.contains('next'))?headers.link.split(',')[0].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():null}"
            }
          }
        }
      }
    },
    "Project": {
      "entTypeOrder": 1,
      "call": {
        "call1": {
          "callOrder": 0,
          "stageNumber": 0,
          "http": {
            "url": "https://URL/api/v4/projects",
            "httpHeaders": {
              "Authorization": "${access_token}",
              "Accept": "application/json",
              "Host": "git-dev.is4u.be"
            },
            "httpContentType": "application/json",
            "httpMethod": "GET"
          },
          "listField": "",
          "keyField": "entitlementID",
          "colsToPropsMap": {
            "entitlementID": "id~#~char",
            "entitlement_value": "#CONST#${response.web_url}~#~char",
            "displayname": "name~#~char",
            "CUSTOMPROPERTY1": "description~#~char"
          },
          "pagination": {
            "nextUrl": {
              "nextUrlPath": "${headers?.link?.split(',').size()==4?headers.link.split(',')[1].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():(headers?.link?.split(',')?.size()==3 && headers?.link.contains('next'))?headers.link.split(',')[0].replace('git-dev.is4u.be','172.16.19.1').replace('<','').replace('>; rel=\"next\"','').trim():null}"
            }
          }
        }
      }
    }
  }
},
"acctEntParams": {
  "connection": "acctAuth",
  "entTypes": {
    "Group": {
      "call": {
        "call1": {
          "callOrder": 0,
          "stageNumber": 0,
          "processingType": "httpEntToAcct",
          "http": {
            "httpHeaders": {
              "Authorization": "${access_token}",
              "Accept": "application/json",
              "Host": "git-dev.is4u.be"
            },
            "url": "https://URL/api/v4/groups/${id}/members",
            "httpContentType": "application/x-www-form-urlencoded",
            "httpMethod": "GET"
          },
          "listField": "",
          "acctIdPath": "id",
          "entKeyField": "entitlementID",
          "acctKeyField": "accountID",
          "pagination": {
            "nextUrl": {
              "nextUrlPath": "${headers?.link?.split(',').size()==4?headers.link.split(',')[1].replace('<','').replace('>; rel=\"next\"','').trim():(headers?.link?.split(',')?.size()==3 && headers?.link.contains('next'))?headers.link.split(',')[0].replace('<','').replace('>; rel=\"next\"','').trim():null}"
            }
          }
        }
      }
    },
    "Project": {
      "call": {
        "call2": {
          "callOrder": 0,
          "stageNumber": 0,
          "processingType": "httpEntToAcct",
          "http": {
            "httpHeaders": {
              "Authorization": "${access_token}",
              "Accept": "application/json",
              "Host": "git-dev.is4u.be"
            },
            "url": "https://URL/api/v4/projects/${id}/members",
            "httpContentType": "application/x-www-form-urlencoded",
            "httpMethod": "GET"
          },
          "listField": "",
          "acctIdPath": "id",
          "entKeyField": "entitlementID",
          "acctKeyField": "accountID",
          "pagination": {
            "nextUrl": {
              "nextUrlPath": "${headers?.link?.split(',').size()==4?headers.link.split(',')[1].replace('<','').replace('>; rel=\"next\"','').trim():(headers?.link?.split(',')?.size()==3 && headers?.link.contains('next'))?headers.link.split(',')[0].replace('<','').replace('>; rel=\"next\"','').trim():null}"
            }
          }
        }
      }
    }
  }
}
}