Compare commits
10 Commits
abdbb67471
...
d80c59afce
Author | SHA1 | Date | |
---|---|---|---|
d80c59afce | |||
|
d2097ad6dd | ||
1bd542cddb | |||
fb1c1ee874 | |||
|
624a7a8f37 | ||
|
381378f532 | ||
af05486c0e | |||
|
4b558948d9 | ||
|
d9cff42f5c | ||
2a3d2b8d0d |
@ -237,20 +237,20 @@ jobs:
|
|||||||
cd sas
|
cd sas
|
||||||
sasjs c -t viya
|
sasjs c -t viya
|
||||||
rm -rf sasjsbuild/tests
|
rm -rf sasjsbuild/tests
|
||||||
sed -i -e 's/servertype="SASJS"/servertype="SASVIYA"/g' sasjsbuild/services/clickme.html
|
sed -i -e 's/servertype="SASJS"/servertype="SASVIYA"/g' sasjsbuild/services/DC.html
|
||||||
sasjs b -t viya
|
|
||||||
cp sasjsbuild/viya.sas ./demostream_viya.sas
|
|
||||||
# compile Viya Full deploy (without web)
|
|
||||||
rm -rf sasjsbuild/services/web
|
|
||||||
rm sasjsbuild/services/clickme.html
|
|
||||||
sasjs b -t viya
|
sasjs b -t viya
|
||||||
cp sasjsbuild/viya.sas ./viya.sas
|
cp sasjsbuild/viya.sas ./viya.sas
|
||||||
cp sasjsbuild/viya.json ./viya.json
|
# compile Viya Full deploy (without web)
|
||||||
|
rm -rf sasjsbuild/services/web
|
||||||
|
rm sasjsbuild/services/DC.html
|
||||||
|
sasjs b -t viya
|
||||||
|
cp sasjsbuild/viya.sas ./viya_noweb.sas
|
||||||
|
cp sasjsbuild/viya.json ./viya_noweb.json
|
||||||
|
|
||||||
- name: Zip Frontend (including viya.json for full viya deploy)
|
- name: Zip Frontend (including viya.json for full viya deploy)
|
||||||
run: |
|
run: |
|
||||||
cd sas
|
cd sas
|
||||||
cp sasjsbuild/viya.json ../client/dist
|
cp sasjsbuild/viya.json ../client/dist/viya.json
|
||||||
cd ..
|
cd ..
|
||||||
zip -r frontend.zip ./client/dist
|
zip -r frontend.zip ./client/dist
|
||||||
|
|
||||||
@ -277,8 +277,8 @@ jobs:
|
|||||||
URL="https://git.datacontroller.io/api/v1/repos/dc/dc/releases/$RELEASE_ID/assets?access_token=${{ secrets.RELEASE_TOKEN }}"
|
URL="https://git.datacontroller.io/api/v1/repos/dc/dc/releases/$RELEASE_ID/assets?access_token=${{ secrets.RELEASE_TOKEN }}"
|
||||||
curl -k $URL -F attachment=@frontend.zip
|
curl -k $URL -F attachment=@frontend.zip
|
||||||
curl -k $URL -F attachment=@sas/demostream_sas9.sas
|
curl -k $URL -F attachment=@sas/demostream_sas9.sas
|
||||||
curl -k $URL -F attachment=@sas/demostream_viya.sas
|
curl -k $URL -F attachment=@sas/viya.sas
|
||||||
curl -k $URL -F attachment=@sas/sasjs_server.json.zip
|
curl -k $URL -F attachment=@sas/sasjs_server.json.zip
|
||||||
curl -k $URL -F attachment=@sas/sas9.sas
|
curl -k $URL -F attachment=@sas/sas9.sas
|
||||||
curl -k $URL -F attachment=@sas/viya.sas
|
curl -k $URL -F attachment=@sas/viya_noweb.sas
|
||||||
curl -k $URL -F attachment=@sas/viya.json
|
curl -k $URL -F attachment=@sas/viya_noweb.json
|
||||||
|
26
CHANGELOG.md
26
CHANGELOG.md
@ -1,3 +1,29 @@
|
|||||||
|
## [6.15.2](https://git.datacontroller.io/dc/dc/compare/v6.15.1...v6.15.2) (2025-06-04)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* pipeline updates for DC.html ([624a7a8](https://git.datacontroller.io/dc/dc/commit/624a7a8f37f0265cf576da310ac330c75aa417cf))
|
||||||
|
|
||||||
|
## [6.15.1](https://git.datacontroller.io/dc/dc/compare/v6.15.0...v6.15.1) (2025-06-04)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* updating pipeline to default to streaming on viya ([4b55894](https://git.datacontroller.io/dc/dc/commit/4b558948d997f456ff25a12a58827fe0d2075493))
|
||||||
|
|
||||||
|
# [6.15.0](https://git.datacontroller.io/dc/dc/compare/v6.14.10...v6.15.0) (2025-06-04)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* makedata with context name ([da4d0b2](https://git.datacontroller.io/dc/dc/commit/da4d0b28c7109afd6f96455e1e0e80a40d25a942))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* viya deploy context ([6c96ef7](https://git.datacontroller.io/dc/dc/commit/6c96ef7fb0a55754a84ff0a8bbab838b78c1acaf))
|
||||||
|
|
||||||
## [6.14.10](https://git.datacontroller.io/dc/dc/compare/v6.14.9...v6.14.10) (2025-06-02)
|
## [6.14.10](https://git.datacontroller.io/dc/dc/compare/v6.14.9...v6.14.10) (2025-06-02)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dcfrontend",
|
"name": "dcfrontend",
|
||||||
"version": "6.14.10",
|
"version": "6.15.2",
|
||||||
"description": "Data Controller",
|
"description": "Data Controller",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@saithodev/semantic-release-gitea": "^2.1.0",
|
"@saithodev/semantic-release-gitea": "^2.1.0",
|
||||||
|
16
sas/package-lock.json
generated
16
sas/package-lock.json
generated
@ -6,7 +6,7 @@
|
|||||||
"": {
|
"": {
|
||||||
"name": "dc-sas",
|
"name": "dc-sas",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sasjs/cli": "^4.12.5",
|
"@sasjs/cli": "^4.12.7",
|
||||||
"@sasjs/core": "^4.58.1"
|
"@sasjs/core": "^4.58.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -45,14 +45,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sasjs/cli": {
|
"node_modules/@sasjs/cli": {
|
||||||
"version": "4.12.5",
|
"version": "4.12.7",
|
||||||
"resolved": "https://registry.npmjs.org/@sasjs/cli/-/cli-4.12.5.tgz",
|
"resolved": "https://registry.npmjs.org/@sasjs/cli/-/cli-4.12.7.tgz",
|
||||||
"integrity": "sha512-y6JFATKlTyTl0gRPpDBPL1rwZsyeuyp5uEz7HMA7raSzQuNa6QZ1oO1Er91I7+cLUg0Ndh5aSNGKYOdBRStQ2g==",
|
"integrity": "sha512-KcXSR+3dRgINOLiN+7oJbzWsNQu7qm1YQ7eaVqiHTZI429BSgZez9+7p1bq09R4otHN8IzMAgLP9se/r9p9yJA==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sasjs/adapter": "4.11.3",
|
"@sasjs/adapter": "4.11.3",
|
||||||
"@sasjs/core": "4.57.0",
|
"@sasjs/core": "4.58.1",
|
||||||
"@sasjs/lint": "2.4.3",
|
"@sasjs/lint": "2.4.3",
|
||||||
"@sasjs/utils": "3.5.2",
|
"@sasjs/utils": "3.5.2",
|
||||||
"adm-zip": "0.5.10",
|
"adm-zip": "0.5.10",
|
||||||
@ -76,12 +76,6 @@
|
|||||||
"sasjs": "build/index.js"
|
"sasjs": "build/index.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sasjs/cli/node_modules/@sasjs/core": {
|
|
||||||
"version": "4.57.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.57.0.tgz",
|
|
||||||
"integrity": "sha512-iJiLnW4oY15InGerXXWtrjc1YpJ9UDz72+r7Odfr/yYR7RxIhtXGjYQIqyQu6US+cS/0b2pi12LZB6VnfMS/pA==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/@sasjs/core": {
|
"node_modules/@sasjs/core": {
|
||||||
"version": "4.58.1",
|
"version": "4.58.1",
|
||||||
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.58.1.tgz",
|
"resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.58.1.tgz",
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sasjs/cli": "^4.12.5",
|
"@sasjs/cli": "^4.12.7",
|
||||||
"@sasjs/core": "^4.58.1"
|
"@sasjs/core": "^4.58.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,6 +127,14 @@
|
|||||||
"sasjs/utils/viyadeploy.sh"
|
"sasjs/utils/viyadeploy.sh"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"streamConfig": {
|
||||||
|
"streamWeb": true,
|
||||||
|
"streamWebFolder": "web",
|
||||||
|
"webSourcePath": "../client/dist",
|
||||||
|
"streamServiceName": "DC",
|
||||||
|
"streamLogo": "favicon.ico",
|
||||||
|
"assetPaths": []
|
||||||
|
},
|
||||||
"contextName": "SAS Job Execution compute context"
|
"contextName": "SAS Job Execution compute context"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
@li mf_getapploc.sas
|
@li mf_getapploc.sas
|
||||||
@li mf_mkdir.sas
|
@li mf_mkdir.sas
|
||||||
@li mf_trimstr.sas
|
@li mf_trimstr.sas
|
||||||
|
@li mp_abort.sas
|
||||||
@li mpe_getvars.sas
|
@li mpe_getvars.sas
|
||||||
@li mpe_makedata.sas
|
@li mpe_makedata.sas
|
||||||
@li mpe_makedatamodel.sas
|
@li mpe_makedatamodel.sas
|
||||||
@ -50,9 +51,33 @@ options noquotelenmax;
|
|||||||
%put &=admin;
|
%put &=admin;
|
||||||
|
|
||||||
%mf_mkdir(&dcpath)
|
%mf_mkdir(&dcpath)
|
||||||
|
%mp_abort(iftrue= (&syscc ne 0)
|
||||||
|
,mac=&_program
|
||||||
|
,msg=%str(Unable to create &dcpath using &sysuserid)
|
||||||
|
)
|
||||||
%mf_mkdir(&dcpath/secret)
|
%mf_mkdir(&dcpath/secret)
|
||||||
%mf_mkdir(&dcpath/dc_staging)
|
%mf_mkdir(&dcpath/dc_staging)
|
||||||
|
|
||||||
|
/* check we have physical permissions to the DCLIB folder */
|
||||||
|
data _null_;
|
||||||
|
putlog "dcpath=&dcpath/permTest.txt";
|
||||||
|
putlog "sysuserid=&sysuserid";
|
||||||
|
data _null_;
|
||||||
|
file "&dcpath/permTest.txt";
|
||||||
|
run;
|
||||||
|
%mp_abort(iftrue= (&syscc ne 0)
|
||||||
|
,mac=&_program
|
||||||
|
,msg=%str(User &sysuserid does not have WRITE permissions to: &dcpath )
|
||||||
|
)
|
||||||
|
filename delfile "&dcpath/permTest.txt";
|
||||||
|
data _null_;
|
||||||
|
rc=fdelete('delfile');
|
||||||
|
run;
|
||||||
|
%mp_abort(iftrue= (&syscc ne 0)
|
||||||
|
,mac=&_program..sas
|
||||||
|
,msg=%str(User &sysuserid could create (but not delete) &dcpath/permTest.txt )
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
libname &dclib "&dcpath";
|
libname &dclib "&dcpath";
|
||||||
%global admin;
|
%global admin;
|
||||||
@ -60,11 +85,23 @@ libname &dclib "&dcpath";
|
|||||||
%mpe_makedatamodel(lib=&dclib)
|
%mpe_makedatamodel(lib=&dclib)
|
||||||
%mpe_makedata(lib=&dclib,mpeadmins=&admin,path=%str(&dcpath))
|
%mpe_makedata(lib=&dclib,mpeadmins=&admin,path=%str(&dcpath))
|
||||||
|
|
||||||
|
%mp_abort(iftrue=(&syscc ne 0)
|
||||||
|
,mac=&sysmacroname
|
||||||
|
,msg=%str(Err during &dclib build)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
/* sample data library */
|
/* sample data library */
|
||||||
%mf_mkdir(&dcpath/dc_demo)
|
%mf_mkdir(&dcpath/dc_demo)
|
||||||
libname dcdemo "&dcpath/dc_demo";
|
libname dcdemo "&dcpath/dc_demo";
|
||||||
%mpe_makesampledata(outlib=DCDEMO)
|
%mpe_makesampledata(outlib=DCDEMO)
|
||||||
|
|
||||||
|
%mp_abort(iftrue=(&syscc ne 0)
|
||||||
|
,mac=&sysmacroname
|
||||||
|
,msg=%str(Err during demo data build)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
/* the DC precode is stored in the root of the project */
|
/* the DC precode is stored in the root of the project */
|
||||||
%let root=%mf_getapploc(&_program)/services;
|
%let root=%mf_getapploc(&_program)/services;
|
||||||
%put &=root;
|
%put &=root;
|
||||||
@ -167,7 +204,7 @@ run;
|
|||||||
*/
|
*/
|
||||||
%mp_abort(iftrue=(&syscc ne 0)
|
%mp_abort(iftrue=(&syscc ne 0)
|
||||||
,mac=&sysmacroname
|
,mac=&sysmacroname
|
||||||
,msg=%str(Err during DB build)
|
,msg=%str(Err during settings job creation)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user