1.3.7 • Published 1 month ago

@sassoftware/viya-appserverjs v1.3.7

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
1 month ago

Servers for use with SAS Viya

This package has two servers:

  1. restaf-server - Use this for developing an app server for web applications(see packages/appjs)
    • alternate name: viya-aappserverjs to be consisetent with item 2 below
  2. viya-apiserverjs - Use this to develop rest api servers(see packages/apijs)

The restaf-server will be soon super-seeded by viya-app-server with better support for protecting all routes

Basic configuration

  1. Set the default settings in Dockerfile. This will ensure these are set when you build containers.
  2. Use the .env file when running bare-os and docker-compose file to set run time overrides.

Running with SSL

This is the recommended setting. This will also make browsers like Chrome run with the SAMESITE settings set to ENABLED. Make sure you specify the VIYA_SERVER with a protocol of https.

The following are the key settings:

  1. SAMESITE
    • The recommend setting is None,secure.
    • If not set the servers will default to None,false - this is prmarily for backward compatability.
ENV SAMESITE=None,secure

2.The certificates for SSL can be set in one of the following ways(all values are just examples)

  • Let server Create a temporary unsigned certificate

    ENV TLS_CREATE=C:US,ST:NC,L:Cary,O:YourCompany,OU:yourgroup,CN:localhost
  • Provide your own key and certificate key

ENV TLS_KEY=../certs/self/key.pem
ENV TLS_CERT=../certs/self/certificate.pem
  • Provide key and certificate as a pfx file
ENV TLS_PFX=../certs/sascert/sascert2.pfx

Running without SSL

Make sure your specify VIYA_SERVER with a protocol of http

  1. SAMESITE
    • Set this as None,false
ENV SAMESITE=None,false

CLIENTID and CLIENTSECRET

Recommend you use the authorization_flow code

KeepAlive

Use the following options to keep your web application alive for longer periods

KEEPALIVE=YES TIMERS=,

See this https://github.com/sassoftware/restaf/wiki/usefulTips for tips on keeping your Viya session and CAs sessions active for longer periods.

Viya Server Configuration and more

Please see https://github.com/sassoftware/restaf-server/wiki

2.16.2

1 month ago

2.16.0

1 month ago

2.11.0

6 months ago

2.4.0

7 months ago

2.8.0

7 months ago

2.15.0

5 months ago

2.10.0

7 months ago

2.7.0

7 months ago

2.14.9

5 months ago

2.14.7

6 months ago

2.14.8

5 months ago

2.14.5

6 months ago

2.14.6

6 months ago

2.14.3

6 months ago

2.14.4

6 months ago

2.14.2

6 months ago

2.14.0

6 months ago

2.6.0

7 months ago

2.14.12

5 months ago

2.13.0

6 months ago

2.14.10

5 months ago

2.14.11

5 months ago

2.12.0

6 months ago

2.5.0

7 months ago

2.9.0

7 months ago

2.3.0

11 months ago

2.3.2

11 months ago

2.3.4

11 months ago

2.3.3

11 months ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

1.3.10

2 years ago

1.3.13

2 years ago

1.3.14

2 years ago

1.3.11

2 years ago

1.3.12

2 years ago

1.3.17

2 years ago

1.3.18

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.53

2 years ago

1.2.54

2 years ago

1.2.52

3 years ago

1.2.51

3 years ago

1.2.50

3 years ago

1.2.49

3 years ago

1.2.47

3 years ago

1.2.48

3 years ago

1.2.45

3 years ago

1.2.44

3 years ago

1.2.43

3 years ago

1.2.42

3 years ago

1.2.41

3 years ago

1.2.40

3 years ago

1.2.39

3 years ago

1.2.38

3 years ago

1.2.37

3 years ago

1.2.34

3 years ago

1.2.35

3 years ago

1.2.36

3 years ago

1.2.32

3 years ago

1.2.33

3 years ago

1.2.31

3 years ago

1.2.29

3 years ago

1.2.27

3 years ago

1.2.28

3 years ago

1.2.26

3 years ago

1.2.25

3 years ago

1.2.23

3 years ago

1.2.24

3 years ago

1.2.22

3 years ago

1.2.21

3 years ago

1.2.19

3 years ago

1.2.20

3 years ago

1.2.16

3 years ago

1.2.17

3 years ago

1.2.14

3 years ago

1.2.15

3 years ago

1.2.13

3 years ago

1.2.12

3 years ago

1.2.11

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago