From 71a4a48443e46a6da01a9721df356bdf10678173 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Mon, 29 Aug 2022 10:30:01 +0200 Subject: [PATCH] chore: generic sas9 mock responses --- .gitignore | 3 +- api/mocks/custom/.keep | 0 api/mocks/generic/sas9/logged-in | 126 +++++++++ api/mocks/generic/sas9/logged-out | 134 ++++++++++ api/mocks/generic/sas9/login | 208 +++++++++++++++ api/mocks/generic/sas9/sas-stored-process | 295 ++++++++++++++++++++++ 6 files changed, 765 insertions(+), 1 deletion(-) create mode 100644 api/mocks/custom/.keep create mode 100644 api/mocks/generic/sas9/logged-in create mode 100644 api/mocks/generic/sas9/logged-out create mode 100644 api/mocks/generic/sas9/login create mode 100644 api/mocks/generic/sas9/sas-stored-process diff --git a/.gitignore b/.gitignore index 896d7ee..bb6d85e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,8 @@ node_modules/ .env* sas/ sasjs_root/ -api/mocks/ +api/mocks/custom/* +!api/mocks/custom/.keep tmp/ build/ sasjsbuild/ diff --git a/api/mocks/custom/.keep b/api/mocks/custom/.keep new file mode 100644 index 0000000..e69de29 diff --git a/api/mocks/generic/sas9/logged-in b/api/mocks/generic/sas9/logged-in new file mode 100644 index 0000000..ec33db1 --- /dev/null +++ b/api/mocks/generic/sas9/logged-in @@ -0,0 +1,126 @@ + + + + + + + + + + + + SAS® Logon Manager + + + + + + + + + +
+
+ + + + + + +
+ +
+
+

You have signed in.

+

For increased security, sign out and close your web browser when you finish accessing services that require authentication.

+ + +
+
+
+ + + + + + + + +
+ +
+
+
+
Done
+ +
+ +
+
+

Product name: SAS® Logon Manager

+

Release: 9.4

+

Legal Notices

+
+
+

Copyright 2002-2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. + This software is protected by copyright laws and international treaties.

+

U.S. Government Restricted Rights

+

Use, duplication or disclosure of this software and related documentation by the United States government is subject to the license terms of the Agreement with SAS Institute Inc. pursuant to, as applicable, FAR 12.212, DFAR 227.7202-1(a), DFAR 227.7202-3(a) and DFAR 227.7202-4 and, to the extent required under United States federal law, the minimum restricted rights as set out in FAR 52.227-19 (DEC 2007).

+

Third-Party Software Usage

+

Central Authentication Service

+

Copyright © 2007, JA-SIG, Inc. All rights reserved.

+

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

+
    +
  • +

    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

    +
  • +
    +
  • +

    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

    +
  • +
    +
  • +

    Neither the name of the JA-SIG, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

    +
  • +
+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+
+
+
+ +
+ + + + + + + + \ No newline at end of file diff --git a/api/mocks/generic/sas9/logged-out b/api/mocks/generic/sas9/logged-out new file mode 100644 index 0000000..fec405d --- /dev/null +++ b/api/mocks/generic/sas9/logged-out @@ -0,0 +1,134 @@ + + + + + + + + + + + + SAS® Logon Manager + + + + + + + + + +
+
+ + + + + + +
+ +
+
+ + + + +

You have signed out.

+ + + +

For increased security, close your browser.

+ + +
+ + +
+
+ + + + + + + +
+ +
+
+
+
Done
+ +
+ +
+
+

Product name: SAS® Logon Manager

+

Release: 9.4

+

Legal Notices

+
+
+

Copyright 2002-2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. + This software is protected by copyright laws and international treaties.

+

U.S. Government Restricted Rights

+

Use, duplication or disclosure of this software and related documentation by the United States government is subject to the license terms of the Agreement with SAS Institute Inc. pursuant to, as applicable, FAR 12.212, DFAR 227.7202-1(a), DFAR 227.7202-3(a) and DFAR 227.7202-4 and, to the extent required under United States federal law, the minimum restricted rights as set out in FAR 52.227-19 (DEC 2007).

+

Third-Party Software Usage

+

Central Authentication Service

+

Copyright © 2007, JA-SIG, Inc. All rights reserved.

+

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

+
    +
  • +

    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

    +
  • +
    +
  • +

    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

    +
  • +
    +
  • +

    Neither the name of the JA-SIG, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

    +
  • +
+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+
+
+
+ +
+ + + + + + + + \ No newline at end of file diff --git a/api/mocks/generic/sas9/login b/api/mocks/generic/sas9/login new file mode 100644 index 0000000..06fefa8 --- /dev/null +++ b/api/mocks/generic/sas9/login @@ -0,0 +1,208 @@ + + + + + + + + + + + + SAS® Logon Manager + + + + + + + + +
+
+
+ + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + +
+
+ + +
+
+ + + + + + + +
+ +
+
+
+
Done
+ +
+ +
+
+

Product name: SAS® Logon Manager

+

Release: 9.4

+

Legal Notices

+
+
+

Copyright 2002-2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. + This software is protected by copyright laws and international treaties.

+

U.S. Government Restricted Rights

+

Use, duplication or disclosure of this software and related documentation by the United States government is subject to the license terms of the Agreement with SAS Institute Inc. pursuant to, as applicable, FAR 12.212, DFAR 227.7202-1(a), DFAR 227.7202-3(a) and DFAR 227.7202-4 and, to the extent required under United States federal law, the minimum restricted rights as set out in FAR 52.227-19 (DEC 2007).

+

Third-Party Software Usage

+

Central Authentication Service

+

Copyright © 2007, JA-SIG, Inc. All rights reserved.

+

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

+
    +
  • +

    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

    +
  • +
    +
  • +

    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

    +
  • +
    +
  • +

    Neither the name of the JA-SIG, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

    +
  • +
+

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+
+
+
+ +
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/api/mocks/generic/sas9/sas-stored-process b/api/mocks/generic/sas9/sas-stored-process new file mode 100644 index 0000000..38e5ed0 --- /dev/null +++ b/api/mocks/generic/sas9/sas-stored-process @@ -0,0 +1,295 @@ + + + + + + + + SAS Stored Process Web Application + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + + +
+ + + +

+ Welcome to the Version 9 SAS Stored Process Web Application. This application allows you to execute SAS Stored Processes from a Web browser. +

+ +
+ +
+
+ +
+
+ + +
+ + + + + + + + + +
+ + + + + \ No newline at end of file