1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-04-21 13:11:31 +00:00

feat(deploy): add appLoc

This commit is contained in:
Yury Shkoda
2021-10-04 17:01:25 +03:00
parent d418a7e971
commit 90b11fe3fa
4 changed files with 514 additions and 1625 deletions
+530 -1641
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -17,7 +17,7 @@
"typedoc": "typedoc",
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks && git config core.autocrlf false || true"
},
"browser":{
"browser": {
"child_process": false
},
"publishConfig": {
+2 -2
View File
@@ -11,12 +11,12 @@ export class SASBaseApiClient {
if (serverUrl) this.serverUrl = serverUrl
}
public async deploy(members: [FolderMember, ServiceMember]) {
public async deploy(members: [FolderMember, ServiceMember], appLoc: string) {
const { result } = await this.requestClient.post<{
status: string
message: string
example?: {}
}>('/deploy', members, undefined)
}>('/deploy', { ...members, appLoc }, undefined)
return Promise.resolve(result)
}
+1 -1
View File
@@ -831,7 +831,7 @@ export default class SASjs {
}
public async deployToSASBase(members: [FolderMember, ServiceMember]) {
return await this.sasBaseApiClient?.deploy(members)
return await this.sasBaseApiClient?.deploy(members, this.sasjsConfig.appLoc)
}
public async executeJobSASBase(query: ExecutionQuery) {