-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Renamed the Foundation Core Python package.
- Renamed the Foundation Metadata Core (Python) package. - Renamed the Foundation Encryption Policy (Python) package. - Renamed the Extensions Encryption Vault Python package. - Renamed the Extensions Data Delivery Spark (Python) package. - Renamed all the child directories, classes, and methods. - Corrected all the imports inside of the velocity templates to ensure a successful build of the Foundation Core Python. - Baton migration scripts for automated migrations from legacy package names to the new aiSSEMBLE landscape.
- Loading branch information
1 parent
74a1eeb
commit 64a2336
Showing
116 changed files
with
840 additions
and
196 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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
...ython/src/aiops_core_metadata/__init__.py → ...python/src/aissemble_core_bom/__init__.py
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
2 changes: 1 addition & 1 deletion
2
...python/src/aiops_core_bom/training_bom.py → ...on/src/aissemble_core_bom/training_bom.py
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
2 changes: 1 addition & 1 deletion
2
...-python/src/aiops_core_config/__init__.py → ...hon/src/aissemble_core_config/__init__.py
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
2 changes: 1 addition & 1 deletion
2
...src/aiops_core_config/messaging_config.py → ...aissemble_core_config/messaging_config.py
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
Empty file.
2 changes: 1 addition & 1 deletion
2
...core_config/spark_elasticsearch_config.py → ...core_config/spark_elasticsearch_config.py
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
2 changes: 1 addition & 1 deletion
2
...c/aiops_core_config/spark_neo4j_config.py → ...ssemble_core_config/spark_neo4j_config.py
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
56 changes: 56 additions & 0 deletions
56
...ation/aissemble-foundation-core-python/src/aissemble_core_config/spark_postgres_config.py
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,56 @@ | ||
### | ||
# #%L | ||
# aiSSEMBLE Foundation::aiSSEMBLE Core (Python) | ||
# %% | ||
# Copyright (C) 2021 Booz Allen | ||
# %% | ||
# This software package is licensed under the Booz Allen Public License. All Rights Reserved. | ||
# #L% | ||
### | ||
from krausening.properties import PropertyManager | ||
|
||
|
||
class SparkRDBMSConfig: | ||
""" | ||
Configurations for PySpark Relational Database Management System support. | ||
""" | ||
|
||
DEFAULT_JDBC_URL = "jdbc:postgresql://postgres:5432/db" | ||
DEFAULT_JDBC_DRIVER = "org.postgresql.Driver" | ||
DEFAULT_USER = "postgres" | ||
DEFAULT_PASSWORD = "password" | ||
|
||
def __init__(self): | ||
self.properties = PropertyManager.get_instance().get_properties( | ||
"spark-rdbms.properties" | ||
) | ||
|
||
def jdbc_url(self): | ||
""" | ||
The JDBC URL for the database connection. | ||
""" | ||
return self.properties.getProperty( | ||
"jdbc.url", SparkRDBMSConfig.DEFAULT_JDBC_URL | ||
) | ||
|
||
def jdbc_driver(self): | ||
""" | ||
The JDBC driver class name. | ||
""" | ||
return self.properties.getProperty( | ||
"jdbc.driver", SparkRDBMSConfig.DEFAULT_JDBC_DRIVER | ||
) | ||
|
||
def user(self): | ||
""" | ||
The RDBMS user. | ||
""" | ||
return self.properties.getProperty("jdbc.user", SparkRDBMSConfig.DEFAULT_USER) | ||
|
||
def password(self): | ||
""" | ||
The password for the RDBMS user. | ||
""" | ||
return self.properties.getProperty( | ||
"jdbc.password", SparkRDBMSConfig.DEFAULT_PASSWORD | ||
) |
2 changes: 1 addition & 1 deletion
2
...c/aiops_core_config/spark_rdbms_config.py → ...ssemble_core_config/spark_rdbms_config.py
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
2 changes: 1 addition & 1 deletion
2
...ore-python/src/aiops_core_bom/__init__.py → .../src/aissemble_core_filestore/__init__.py
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
2 changes: 1 addition & 1 deletion
2
...iops_core_filestore/file_store_factory.py → ...mble_core_filestore/file_store_factory.py
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
2 changes: 1 addition & 1 deletion
2
...ion-core-python/src/aiopsauth/__init__.py → ...n/src/aissemble_core_metadata/__init__.py
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
4 changes: 2 additions & 2 deletions
4
...ore_metadata/hive_metadata_api_service.py → ...ore_metadata/hive_metadata_api_service.py
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
2 changes: 1 addition & 1 deletion
2
..._metadata/logging_metadata_api_service.py → ..._metadata/logging_metadata_api_service.py
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
2 changes: 1 addition & 1 deletion
2
...n/src/aiops_core_metadata/metadata_api.py → ...c/aissemble_core_metadata/metadata_api.py
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
4 changes: 2 additions & 2 deletions
4
...src/aiops_core_metadata/metadata_model.py → ...aissemble_core_metadata/metadata_model.py
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
2 changes: 1 addition & 1 deletion
2
...thon/src/aiops_core_filestore/__init__.py → ...core-python/src/aissembleauth/__init__.py
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
2 changes: 1 addition & 1 deletion
2
...-core-python/src/aiopsauth/auth_config.py → ...e-python/src/aissembleauth/auth_config.py
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
Oops, something went wrong.