-
Notifications
You must be signed in to change notification settings - Fork 14
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
add configuration plugin #3
base: master
Are you sure you want to change the base?
Conversation
parser.add_option('--sleep-in-sec', type='int', default=0, | ||
dest='sleep_in_sec', | ||
help='Sleep time before ATS start and after ATS stop to allow enough time for async tests') | ||
parser.add_option('--standalone-ats-port', type='int', default=-1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will probably need to follow the same server_ports markup that we have in records.config-- since ATS ports have different attributes associated with them (such as ipv4:443 -- https://docs.trafficserver.apache.org/en/latest/reference/configuration/records.config.en.html#proxy-config-http-server-ports)
…g to comply with ATS settings
#process environment options | ||
self.sleep_in_sec = 0 | ||
if hasattr(plugin.conf_plugin, 'args'): | ||
if plugin.conf_plugin.args.sleep_in_sec: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are both if checks necessary? And if so, can we put them in one line?
@cynthiagu23 Few comments left unfixed, once those are taken care of I think we are good to merge :) |
# Copyright (c) 2004-2006 Zope Corporation and Contributors. | ||
# All Rights Reserved. | ||
# | ||
# This software is subject to the provisions of the Zope Public License, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is ZPL compatible with Apache?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think all we have to do, is add this notice to the NOTICE file, like we do in ats itself
https://github.com/apache/trafficserver/blob/master/NOTICE
add 3 configurations for the environment: