1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-10 22:00:05 +00:00

feat(session-manager): Manage a pool of sessions for job execution

This commit is contained in:
Krishna Acondy
2020-07-17 08:31:27 +01:00
parent a579f481c5
commit a12244cf78
3 changed files with 252 additions and 140 deletions

View File

@@ -448,7 +448,11 @@ export default class SASjs {
appLoc = this.sasjsConfig.appLoc;
}
if (this.sasjsConfig.serverType === ServerType.SASViya) {
sasApiClient = new SASViyaApiClient(serverUrl, appLoc);
sasApiClient = new SASViyaApiClient(
serverUrl,
appLoc,
this.sasjsConfig.contextName
);
} else if (this.sasjsConfig.serverType === ServerType.SAS9) {
sasApiClient = new SAS9ApiClient(serverUrl);
}
@@ -1066,7 +1070,8 @@ export default class SASjs {
else
this.sasViyaApiClient = new SASViyaApiClient(
this.sasjsConfig.serverUrl,
this.sasjsConfig.appLoc
this.sasjsConfig.appLoc,
this.sasjsConfig.contextName
);
}
if (this.sasjsConfig.serverType === ServerType.SAS9) {