-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed and refactored names for mscolab (#2499)
removed the xmlsec binary selector based on CONDA_PREFIX provided separate config for msidp separate dir for mscolab server data and work asynchronously by msolab ui --------- Co-authored-by: Matthias Riße <9308656+matrss@users.noreply.github.com>
- Loading branch information
1 parent
ee9e832
commit 863f052
Showing
28 changed files
with
202 additions
and
107 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
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
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
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
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,36 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
|
||
mslib.msidp.conf.py.example | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
config for msidp | ||
|
||
This file is part of mss. | ||
|
||
:copyright: Copyright 2023 Nilupul Manodya | ||
:copyright: Copyright 2023-2024 by the MSS team, see AUTHORS. | ||
:license: APACHE-2.0, see LICENSE for details. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
""" | ||
import os | ||
|
||
|
||
# our default dir for mss content | ||
BASE_DIR = os.path.join(os.path.expanduser("~"), 'mss') | ||
|
||
DATA_DIR = os.path.join(BASE_DIR, "colabdata") | ||
|
||
# dir where mscolab single sign-on process files are stored | ||
SSO_DIR = os.path.join(DATA_DIR, 'datasso') |
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
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
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
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
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
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
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
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,48 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
mslib.msidp.conf | ||
~~~~~~~~~~~~~~~~ | ||
config for msidp. | ||
This file is part of MSS. | ||
:copyright: Copyright 2023 Nilupul Manodya | ||
:copyright: Copyright 2023-2024 by the MSS team, see AUTHORS. | ||
:license: APACHE-2.0, see LICENSE for details. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
""" | ||
import os | ||
import logging | ||
|
||
|
||
class default_msidp_settings: | ||
# our default dir for mss content | ||
BASE_DIR = os.path.join(os.path.expanduser("~"), 'mss') | ||
|
||
DATA_DIR = os.path.join(BASE_DIR, "colabdata") | ||
|
||
# dir where mscolab single sign-on process files are stored | ||
SSO_DIR = os.path.join(DATA_DIR, 'datasso') | ||
|
||
|
||
msidp_settings = default_msidp_settings() | ||
|
||
try: | ||
import msidp_settings as user_settings | ||
logging.info("Using user defined settings") | ||
msidp_settings.__dict__.update(user_settings.__dict__) | ||
except ImportError as ex: | ||
logging.warning(u"Couldn't import msidp_settings (ImportError:'%s'), using dummy config.", ex) |
Oops, something went wrong.