Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable DRIVE_LOCATION setting for deploying multiple instances of SASjs Server #310

Closed
allanbowe opened this issue Nov 1, 2022 · 3 comments · Fixed by #311
Closed

Enable DRIVE_LOCATION setting for deploying multiple instances of SASjs Server #310

allanbowe opened this issue Nov 1, 2022 · 3 comments · Fixed by #311
Assignees
Labels

Comments

@allanbowe
Copy link
Member

allanbowe commented Nov 1, 2022

Currently it is not possible for multiple instances of SASjs Server to share the same SASJS_ROOT - due to conflicts with logs, session folders etc.

Therefore we should look to separate the shareable parts from the instance-specific parts.

The proposal is as follows:

  1. Implement new setting - DRIVE_LOCATION
  2. This defaults to $(SASJS_ROOT)/drive if not specified
  3. This should contain all of the following:
    • The ./files directory (becomes $(SASJS_ROOT)/drive/files)
    • The ./sasjscore directory (becomes $(SASJS_ROOT)/drive/sasjscore)
    • The appStreamConfig.json file (becomes $(SASJS_ROOT)/drive/appStreamConfig.json
  4. If the DRIVE_LOCATION is not $(SASJS_ROOT)/drive then the above items should NOT be generated during the launch of SASjs Server.

The above actions will mean that the logs / sessions / uploads folders will be isolated from other instances.

The DRIVE_LOCATION is also where we should ultimately stick the sasv9.cfg file, per: #278

@allanbowe allanbowe changed the title Enabled SHARED folder for using multiple instances of SASjs Server Enabled DRIVE_LOCATION for deploying multiple instances of SASjs Server Nov 1, 2022
@allanbowe allanbowe changed the title Enabled DRIVE_LOCATION for deploying multiple instances of SASjs Server Enable DRIVE_LOCATION setting for deploying multiple instances of SASjs Server Nov 1, 2022
@argenx-pmason
Copy link

This looks very useful

@sasjsbot
Copy link

sasjsbot commented Nov 2, 2022

🎉 This issue has been resolved in version 0.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@argenx-pmason
Copy link

Thanks for doing this so fast.

@allanbowe allanbowe mentioned this issue Nov 16, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants