Hi,
I would like to know if it is possible to change automatically or within one step all references in data feed from one server(data source) to another.
We are following standard DTAP environment structure and for now when I wanted to copy (exeport/import) mashup with all its data feeds and to use in another environment I had to change references in each data feed manually - for example from DEV server to SIT server.
Is there a way to automate (create something like promotion rules) it or do it in one step?
Thank you
Stephan Freudl on
Hi Lubomir,
also there is no native staging support included in MashZone you could easily set up something to achieve almost the same.
MashZone is capable to compose URLs dynamically. Therefore you could read the server's name according to your current environment from a file. Once you migrate from, e.g. Test to Production, you update the text file to reflect the new server's name. Based on this you don't need to modify your data feed after import. The screen shot below depicts it:
Here you can see how a file is read from a location which is determined dynamically. Reading from right to left: Read a simple text file which contains just one cell with the server name "http://127.0.0.1:6080/". The operator feed to value converts it into a single value. Next an URL is composed at run time via the create URL operator. Finally, the data source reads the actual data from a location which can be changed without modifying the feed.
Other data sources, e.g. Excel or XML, work similar.
Regards
Stephan