diff --git a/.github/workflows/container_publish.yml b/.github/workflows/docker_publish.yml similarity index 100% rename from .github/workflows/container_publish.yml rename to .github/workflows/docker_publish.yml diff --git a/src/python/config.ini b/src/python/config.ini index 0980aba..4857e2f 100644 --- a/src/python/config.ini +++ b/src/python/config.ini @@ -1,6 +1,6 @@ [DEFAULT] package_name = how2validate -version = 0.0.0a6 +version = 0.0.0a8 [SECRET] secret_active = Active diff --git a/src/python/how2validate/validator.py b/src/python/how2validate/validator.py index 9aab639..c684a48 100644 --- a/src/python/how2validate/validator.py +++ b/src/python/how2validate/validator.py @@ -2,7 +2,7 @@ import logging from how2validate.utility.config_utility import get_active_secret_status, get_inactive_secret_status, get_package_name, get_version -from how2validate.utility.tool_utility import format_serviceprovider, format_services, get_secretprovider, get_secretservices, redact_secret, update_tool, validate_choice +from how2validate.utility.tool_utility import format_serviceprovider, format_services, format_string, get_secretprovider, get_secretservices, redact_secret, update_tool, validate_choice from how2validate.utility.log_utility import setup_logging from how2validate.handler.validator_handler import validator_handle_service @@ -50,9 +50,9 @@ def parse_arguments(): def validate(provider,service, secret, response, report): logging.info(f"Started validating secret...") - result = validator_handle_service(service, secret, response, report) + result = validator_handle_service(format_string(service), secret, response, report) logging.info(f"{result}") - return f"{result}" + # return f"{result}" def main(args=None): if args is None: diff --git a/src/python/setup.py b/src/python/setup.py index 3250ffa..98feeca 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -30,7 +30,7 @@ packages=find_packages(), include_package_data=True, package_data={ - '': ['*.txt', '../requirements.txt', '../config.ini', '../tokenManager.json', '../README.md', '../main.py'], + '': ['../requirements.txt', '../config.ini', '../tokenManager.json', '../README.md', '../main.py'], }, install_requires=requirements, entry_points={