appengine-pipelines icon indicating copy to clipboard operation
appengine-pipelines copied to clipboard

Allow user to have a different base URL for pipeline

Open tkaitchuck opened this issue 11 years ago • 2 comments

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

tkaitchuck avatar Oct 17 '14 23:10 tkaitchuck

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.

aozarov avatar Jul 22 '15 22:07 aozarov

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.

soundofjw avatar Jul 22 '15 23:07 soundofjw