1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-05 08:30:06 +00:00

fix: tests for ms_createwebservice and mp_createwebservice

This commit is contained in:
Allan Bowe
2022-04-25 21:33:14 +00:00
parent f9b0f87f44
commit 8bd31e6c97
6 changed files with 80 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ Usage:
<h4> SAS Macros </h4>
@li mf_getplatform.sas
@li mm_createwebservice.sas
@li ms_createwebservice.sas
@li mv_createwebservice.sas
@param [in,out] path= The full folder path where the service will be created
@@ -40,7 +41,7 @@ Usage:
be added
@param [in] replace= (YES) Select YES to replace any existing service in that
location
@param [in] mDebug= (0) set to 1 to show debug messages in the log
@version 9.2
@author Allan Bowe
@@ -53,6 +54,7 @@ Usage:
,code=ft15f001
,desc=This service was created by the mp_createwebservice macro
,replace=YES
,mdebug=0
)/*/STORE SOURCE*/;
%if &syscc ge 4 %then %do;
@@ -73,9 +75,11 @@ Usage:
%end;
%else %if &platform=SASJS %then %do;
%if "&path"="HOME" %then %let path=/Users/&_sasjs_username/My Folder;
%ms_createfile(&path/&name..sas
,inref=&code
,prerefs=&precode
%ms_createwebservice(path=&path
,name=&name
,code=&code
,precode=&precode
,mdebug=&mdebug
)
%end;
%else %do;