mirror of
https://github.com/sasjs/core.git
synced 2026-01-13 11:30:05 +00:00
Compare commits
19 Commits
SORTSEQ-LI
...
v4.54.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbeb954d37 | ||
|
|
a9ae874a45 | ||
| 77038b48c2 | |||
| e848690984 | |||
|
|
2ad8f0b44b | ||
| 6b41386667 | |||
| c363cfe458 | |||
|
|
608dbd1085 | ||
| c6d9e6fdb2 | |||
|
|
c7d46416ce | ||
|
|
86606c6f18 | ||
|
|
9730715558 | ||
|
|
eff0f4eda3 | ||
|
|
f60b06844c | ||
|
|
85ef2ecb84 | ||
|
|
6b470e76fb | ||
|
|
46ca83a4d5 | ||
|
|
08f291367d | ||
|
|
f1c761d5c1 |
8
.github/vpn/config.ovpn
vendored
8
.github/vpn/config.ovpn
vendored
@@ -3,10 +3,12 @@ client
|
|||||||
tls-client
|
tls-client
|
||||||
dev tun
|
dev tun
|
||||||
# this will connect with whatever proto DNS tells us (https://community.openvpn.net/openvpn/ticket/934)
|
# this will connect with whatever proto DNS tells us (https://community.openvpn.net/openvpn/ticket/934)
|
||||||
proto tcp
|
proto udp
|
||||||
remote vpn.4gl.io 7494
|
remote vpn.4gl.io 7194
|
||||||
resolv-retry infinite
|
resolv-retry infinite
|
||||||
cipher AES-256-CBC
|
# this will fallback from udp6 to udp4 as well
|
||||||
|
connect-timeout 5
|
||||||
|
data-ciphers AES-256-CBC:AES-256-GCM
|
||||||
auth SHA256
|
auth SHA256
|
||||||
script-security 2
|
script-security 2
|
||||||
keepalive 10 120
|
keepalive 10 120
|
||||||
|
|||||||
11
.github/workflows/run-tests.yml
vendored
11
.github/workflows/run-tests.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -34,6 +34,10 @@ jobs:
|
|||||||
USER_KEY: ${{ secrets.USER_KEY }}
|
USER_KEY: ${{ secrets.USER_KEY }}
|
||||||
TLS_KEY: ${{ secrets.TLS_KEY }}
|
TLS_KEY: ${{ secrets.TLS_KEY }}
|
||||||
|
|
||||||
|
- name: Chmod VPN files
|
||||||
|
run: |
|
||||||
|
chmod 600 .github/vpn/ca.crt .github/vpn/user.crt .github/vpn/user.key .github/vpn/tls.key
|
||||||
|
|
||||||
- name: Install Open VPN
|
- name: Install Open VPN
|
||||||
run: |
|
run: |
|
||||||
sudo apt install apt-transport-https
|
sudo apt install apt-transport-https
|
||||||
@@ -42,8 +46,13 @@ jobs:
|
|||||||
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list
|
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install openvpn3=17~betaUb22042+jammy
|
sudo apt install openvpn3=17~betaUb22042+jammy
|
||||||
|
|
||||||
- name: Start Open VPN 3
|
- name: Start Open VPN 3
|
||||||
run: openvpn3 session-start --config .github/vpn/config.ovpn
|
run: openvpn3 session-start --config .github/vpn/config.ovpn
|
||||||
|
|
||||||
|
- name: Fetch SASJS server
|
||||||
|
run: curl ${{ secrets.SASJS_SERVER_URL }}/SASjsApi/info
|
||||||
|
|
||||||
- name: Install Doxygen
|
- name: Install Doxygen
|
||||||
run: sudo apt-get install doxygen
|
run: sudo apt-get install doxygen
|
||||||
|
|
||||||
|
|||||||
13
all.sas
13
all.sas
@@ -9675,6 +9675,7 @@ options
|
|||||||
%if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do;
|
%if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do;
|
||||||
noautocorrect /* disallow misspelled procedure names */
|
noautocorrect /* disallow misspelled procedure names */
|
||||||
dsoptions=note2err /* undocumented - convert bad NOTEs to ERRs */
|
dsoptions=note2err /* undocumented - convert bad NOTEs to ERRs */
|
||||||
|
/* turn off with dsoptions=nonote2err */
|
||||||
%end;
|
%end;
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -17685,22 +17686,20 @@ run;
|
|||||||
%mend mm_getcols;/**
|
%mend mm_getcols;/**
|
||||||
@file mm_getdetails.sas
|
@file mm_getdetails.sas
|
||||||
@brief extracts metadata attributes and associations for a particular uri
|
@brief extracts metadata attributes and associations for a particular uri
|
||||||
|
|
||||||
@param [in] uri the metadata object for which to return
|
@param [in] uri the metadata object for which to return
|
||||||
attributes / associations
|
attributes / associations
|
||||||
|
@param [in] sortoptions Enables sorting of the output datasets, for example,
|
||||||
|
`SORTSEQ=LINGUISTIC`
|
||||||
@param [out] outattrs= (work.attributes)
|
@param [out] outattrs= (work.attributes)
|
||||||
The dataset to create that contains the list of attributes
|
The dataset to create that contains the list of attributes
|
||||||
@param [out] outassocs= (work.associations)
|
@param [out] outassocs= (work.associations)
|
||||||
The dataset to contain the list of associations
|
The dataset to contain the list of associations
|
||||||
|
|
||||||
@version 9.2
|
|
||||||
@author Allan Bowe
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
%macro mm_getdetails(uri
|
%macro mm_getdetails(uri
|
||||||
,outattrs=work.attributes
|
,outattrs=work.attributes
|
||||||
,outassocs=work.associations
|
,outassocs=work.associations
|
||||||
|
,sortoptions=
|
||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
|
|
||||||
data &outassocs;
|
data &outassocs;
|
||||||
@@ -17725,7 +17724,7 @@ data &outassocs;
|
|||||||
n1+1;
|
n1+1;
|
||||||
end;
|
end;
|
||||||
run;
|
run;
|
||||||
proc sort;
|
proc sort &sortoptions;
|
||||||
by assoc name;
|
by assoc name;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
@@ -17745,7 +17744,7 @@ data &outattrs;
|
|||||||
n1+1;
|
n1+1;
|
||||||
end;
|
end;
|
||||||
run;
|
run;
|
||||||
proc sort;
|
proc sort &sortoptions;
|
||||||
by type name;
|
by type name;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ options
|
|||||||
%if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do;
|
%if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do;
|
||||||
noautocorrect /* disallow misspelled procedure names */
|
noautocorrect /* disallow misspelled procedure names */
|
||||||
dsoptions=note2err /* undocumented - convert bad NOTEs to ERRs */
|
dsoptions=note2err /* undocumented - convert bad NOTEs to ERRs */
|
||||||
|
/* turn off with dsoptions=nonote2err */
|
||||||
%end;
|
%end;
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,20 @@
|
|||||||
/**
|
/**
|
||||||
@file mm_getdetails.sas
|
@file mm_getdetails.sas
|
||||||
@brief extracts metadata attributes and associations for a particular uri
|
@brief extracts metadata attributes and associations for a particular uri
|
||||||
|
|
||||||
@param [in] uri the metadata object for which to return
|
@param [in] uri the metadata object for which to return
|
||||||
attributes / associations
|
attributes / associations
|
||||||
|
@param [in] sortoptions Enables sorting of the output datasets, for example,
|
||||||
|
`SORTSEQ=LINGUISTIC`
|
||||||
@param [out] outattrs= (work.attributes)
|
@param [out] outattrs= (work.attributes)
|
||||||
The dataset to create that contains the list of attributes
|
The dataset to create that contains the list of attributes
|
||||||
@param [out] outassocs= (work.associations)
|
@param [out] outassocs= (work.associations)
|
||||||
The dataset to contain the list of associations
|
The dataset to contain the list of associations
|
||||||
|
|
||||||
@version 9.2
|
|
||||||
@author Allan Bowe
|
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
%macro mm_getdetails(uri
|
%macro mm_getdetails(uri
|
||||||
,outattrs=work.attributes
|
,outattrs=work.attributes
|
||||||
,outassocs=work.associations
|
,outassocs=work.associations
|
||||||
|
,sortoptions=
|
||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
|
|
||||||
data &outassocs;
|
data &outassocs;
|
||||||
@@ -41,7 +39,7 @@ data &outassocs;
|
|||||||
n1+1;
|
n1+1;
|
||||||
end;
|
end;
|
||||||
run;
|
run;
|
||||||
proc sort;
|
proc sort &sortoptions;
|
||||||
by assoc name;
|
by assoc name;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
@@ -61,7 +59,7 @@ data &outattrs;
|
|||||||
n1+1;
|
n1+1;
|
||||||
end;
|
end;
|
||||||
run;
|
run;
|
||||||
proc sort;
|
proc sort &sortoptions;
|
||||||
by type name;
|
by type name;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,27 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
####################################################################
|
####################################################################
|
||||||
# PROJECT: Macro Core Docs Build #
|
# PROJECT: SASjs Core Docs Build
|
||||||
# To execute, use the npm command (npm run docs) #
|
# To execute, use the npm command (npm run docs)
|
||||||
|
# Target repo will have github action to create sitemap
|
||||||
|
# https://github.com/marketplace/actions/generate-sitemap
|
||||||
####################################################################
|
####################################################################
|
||||||
|
|
||||||
# refresh github pages site
|
# refresh github pages site
|
||||||
rm -rf sasjsbuild/docsite
|
rm -rf sasjsbuild/docsite
|
||||||
git clone git@github.com:sasjs/core.github.io.git sasjsbuild/docsite
|
git clone git@github.com:sasjs/core.github.io.git sasjsbuild/docsite
|
||||||
rm -rf sasjsbuild/docsite/*
|
rm -rf sasjsbuild/docsite/*.html
|
||||||
mv sasjsbuild/docs/* sasjsbuild/docsite/
|
rm -rf sasjsbuild/docsite/*.js
|
||||||
|
rm -rf sasjsbuild/docsite/*.png
|
||||||
|
rm -rf sasjsbuild/docsite/*.dot
|
||||||
|
rm -rf sasjsbuild/docsite/*.css
|
||||||
|
rm -rf sasjsbuild/docsite/*.svg
|
||||||
|
rm -rf search
|
||||||
|
cp -R sasjsbuild/docs/* sasjsbuild/docsite/
|
||||||
cd sasjsbuild/docsite/
|
cd sasjsbuild/docsite/
|
||||||
|
git config user.name sasjs
|
||||||
echo 'core.sasjs.io' > CNAME
|
echo 'core.sasjs.io' > CNAME
|
||||||
git add .
|
git add .
|
||||||
git commit -m "build.sh build on $(date +%F:%H:%M:%S)"
|
git commit -m "build.sh build on $(date +%F:%H:%M:%S)"
|
||||||
git push
|
git push
|
||||||
npx sitemap-generator-cli https://core.sasjs.io
|
|
||||||
git add .
|
|
||||||
git commit -m "adding sitemap"
|
|
||||||
git push
|
|
||||||
|
|
||||||
echo "check it out: https://sasjs.github.io/core.github.io/files.html"
|
echo "check it out: https://sasjs.github.io/core.github.io/files.html"
|
||||||
|
|||||||
Reference in New Issue
Block a user