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

Allow user to have a different base URL for pipeline #5

Open
tkaitchuck opened this issue Oct 17, 2014 · 2 comments
Open

Allow user to have a different base URL for pipeline #5

tkaitchuck opened this issue Oct 17, 2014 · 2 comments

Comments

@tkaitchuck
Copy link
Contributor

Right now everything is hard coded to /_ah/pipeline/
This is an odd string, it would be better if it were configurable.

@aozarov
Copy link
Contributor

aozarov commented Jul 22, 2015

This is now supported by setting a com.google.appengine.tools.pipeline.BASE_URL system property
to the same value as the url-pattern for the PipelineServlet.

For example see these web.xml and appengine-web.xml.

@soundofjw
Copy link

Also, pipe.start() on the python side accepts base_path for overriding that value.

Redacted from source:

  def start(self,
            idempotence_key='',
            queue_name='default',
            base_path='/_ah/pipeline',
            return_task=False,
            countdown=None,
            eta=None):
    """Starts a new instance of this pipeline.

    Args:
      ...
      base_path: The relative URL path to where the Pipeline API is
        mounted for access by the taskqueue API or external requests.

@aozarov aozarov added the Java label Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants