mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-14 23:50:06 +00:00
chore: address PR comments
This commit is contained in:
@@ -33,7 +33,6 @@ import { LoginOptions, LoginResult } from './types/Login'
|
|||||||
|
|
||||||
const defaultConfig: SASjsConfig = {
|
const defaultConfig: SASjsConfig = {
|
||||||
serverUrl: '',
|
serverUrl: '',
|
||||||
pathSASjs: '',
|
|
||||||
pathSAS9: '/SASStoredProcess/do',
|
pathSAS9: '/SASStoredProcess/do',
|
||||||
pathSASViya: '/SASJobExecution',
|
pathSASViya: '/SASJobExecution',
|
||||||
appLoc: '/Public/seedapp',
|
appLoc: '/Public/seedapp',
|
||||||
@@ -831,10 +830,7 @@ export default class SASjs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async deployToSASjs(members: [FolderMember, ServiceMember]) {
|
public async deployToSASjs(members: [FolderMember, ServiceMember]) {
|
||||||
return await this.SASjsApiClient?.deploy(
|
return await this.SASjsApiClient?.deploy(members, this.sasjsConfig.appLoc)
|
||||||
members,
|
|
||||||
this.sasjsConfig.appLoc
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async executeJobSASjs(query: ExecutionQuery) {
|
public async executeJobSASjs(query: ExecutionQuery) {
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ export class SASjsConfig {
|
|||||||
* will use '/SASJobExecution' on SAS Viya.
|
* will use '/SASJobExecution' on SAS Viya.
|
||||||
*/
|
*/
|
||||||
pathSASViya: string = ''
|
pathSASViya: string = ''
|
||||||
pathSASjs: string = ''
|
|
||||||
/**
|
/**
|
||||||
* The appLoc is the parent folder under which the SAS services (STPs or Job
|
* The appLoc is the parent folder under which the SAS services (STPs or Job
|
||||||
* Execution Services) are stored. We recommend that each app is stored in
|
* Execution Services) are stored. We recommend that each app is stored in
|
||||||
|
|||||||
Reference in New Issue
Block a user