-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec766bb
commit 9c08257
Showing
7 changed files
with
82 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules | ||
dist | ||
dist | ||
sasjsbuild/ | ||
.sasjsrc |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"cmnMacros": [ | ||
"macros" | ||
], | ||
"cmnServices": [ | ||
"services/common" | ||
], | ||
"useMacroCore": true, | ||
"targets": [ | ||
{ | ||
"name": "viya", | ||
"serverType": "SASVIYA", | ||
"serverUrl": "YOURSASVIYASERVER", | ||
"appLoc": "/Public/app/react-seed-app", | ||
"buildOutputFileName": "myviyadeploy.sas", | ||
"deployServicePack": true, | ||
"tgtDeployScripts": [ | ||
"sasjsbuild/myviyadeploy.sas" | ||
], | ||
"assetPaths": [], | ||
"streamWeb": false, | ||
"streamWebFolder": "webv", | ||
"webSourcePath": "dist" | ||
}, | ||
{ | ||
"name": "sas9", | ||
"serverType": "SAS9", | ||
"serverUrl": "YOURSAS9SERVER", | ||
"appLoc": "/User Folders/&sysuserid/My Folder/react-seed-app", | ||
"buildOutputFileName": "mysas9deploy.sas", | ||
"tgtDeployVars": { | ||
"serverName": "SASApp", | ||
"repositoryName": "Foundation" | ||
}, | ||
"assetPaths": [], | ||
"streamWeb": false, | ||
"streamWebFolder": "web9", | ||
"webSourcePath": "build" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
@file appinit.sas | ||
@brief Initialisation service - runs on app startup | ||
@details This is always the first service called when the app is opened. | ||
<h4> Dependencies </h4> | ||
**/ | ||
|
||
proc sql; | ||
create table areas as select distinct area | ||
from sashelp.springs; | ||
%webout(OPEN) | ||
%webout(OBJ,areas) | ||
%webout(CLOSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
@file getdata.sas | ||
@brief Get Data service - runs on app startup | ||
@details This is always the first service called when the app is opened. | ||
<h4> Dependencies </h4> | ||
**/ | ||
|
||
proc sql; | ||
create table springs as select * from sashelp.springs | ||
where area in (select area from areas); | ||
|
||
%webout(OPEN) | ||
%webout(OBJ,springs) | ||
%webout(CLOSE) |