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

TASK-1203 Use default AbstractHandleConstants.pm #39

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kkellerlbl
Copy link
Contributor

Removed handle namespace from tpage arguments
Set off namespace log messages with quotes

Set off namespace log messages with quotes
@kkellerlbl kkellerlbl requested review from scanon and sychan November 1, 2017 23:35
@kkellerlbl
Copy link
Contributor Author

Feel free to review but please let me merge, so I can deploy and make sure it works. I will probably do that on Friday.

@kkellerlbl kkellerlbl self-assigned this Nov 1, 2017
Copy link
Contributor Author

@kkellerlbl kkellerlbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scanon @sychan my review of my own PR

@@ -29,7 +29,7 @@ endif

SERVICE_PSGI = $(SERVICE_NAME).psgi
NAMESPACE = KBH
TPAGE_ARGS = --define kb_runtime=$(RUNTIME) --define kb_runas_user=$(SERVICE_USER) --define kb_top=$(TARGET) --define kb_service_name=$(SERVICE_NAME) --define kb_service_config_stanza=$(SERVICE_CONFIG) --define kb_service_dir=$(SERVICE_DIR) --define kb_service_port=$(SERVICE_PORT) --define kb_psgi=$(SERVICE_PSGI) --define handle_namespace=$(NAMESPACE)
TPAGE_ARGS = --define kb_runtime=$(RUNTIME) --define kb_runas_user=$(SERVICE_USER) --define kb_top=$(TARGET) --define kb_service_name=$(SERVICE_NAME) --define kb_service_config_stanza=$(SERVICE_CONFIG) --define kb_service_dir=$(SERVICE_DIR) --define kb_service_port=$(SERVICE_PORT) --define kb_psgi=$(SERVICE_PSGI)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be mostly cosmetic. I think the default may be defined in the build, and it's definitely explicitly set in the gitlab config (at least for CI).

@@ -32,7 +32,7 @@ Log::Log4perl->easy_init($DEBUG);
use Bio::KBase::HandleServiceConstants 'handleNameSpace';

our $namespace = handleNameSpace;
INFO "pid $$ using $namespace as the default handle namespace";
INFO "pid $$ using '$namespace' as the default handle namespace";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are just for better logging, setting off the namespace in quotes, so that if it's undefined, we see '' instead of just whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant