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

Add the ability to parse URL parameters #4

Closed
briandrum opened this issue Feb 10, 2012 · 6 comments
Closed

Add the ability to parse URL parameters #4

briandrum opened this issue Feb 10, 2012 · 6 comments

Comments

@briandrum
Copy link

I'd like to be able to use URL parameters in XML Import jobs. So given the following:

Job URL
http://example.com/symphony/extension/xmlimporter/importers/run/importername/?auth-token=abcdefgh&id=123456789

Source URL
http://source.com/path/to.xml?id={$url-id}

The resulting request would be made to:

http://source.com/path/to.xml?id=123456789

brendo added a commit that referenced this issue Jun 8, 2012
@designermonkey
Copy link
Member

@brendo is there any way this commit can be extended to track other parameters from a URL?

Just like explained above?

@brendo
Copy link
Member

brendo commented May 24, 2014

The above commit is pretty crude, we could validate just the base part of the URL, and then leave the params alone.

I am unsure if the backend has the same environment context as the frontend, so parsing may need a little extra work. Doable though!

@nilshoerrmann
Copy link
Contributor

Solved by #27.

@designermonkey
Copy link
Member

Is #27 committed, working and released? No.

Please don't close issues until it is resolved.

@designermonkey designermonkey reopened this Jul 4, 2014
@nilshoerrmann
Copy link
Contributor

Sorry, John!
But no need to be grumpy :)

@brendo
Copy link
Member

brendo commented Dec 17, 2014

The master branch will allow parsing of {$root}. The integration will now allow Datasources parsing of URL parameters as shown in the original post of this thread :)

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

No branches or pull requests

4 participants