I got something that I would like your opinion about, it would be a “nice to have” for me in Alumio but maybe there are already other ways to achieve this.
Incoming transformers have the traits to be scheduled and to be ran on the press of a button. We cannot do this for entity transformers except with tests. For incoming we always need to define a subscriber, but I want to create an incoming without a subscriber where I can define 3 input fields without it watching for a certain point.
I want to set the following fields:
So the subscriber would start with a data transformer before anything else. Currently I couldn’t find an option to do this.
With these fields I could make an entity transformer that makes use of the defined params to fetch me the files I want, from the URL and endpoint I want. The entity transformer would thus be universal and I only have to duplicate the incoming and change the three values to make it work for other urls/endpoints/files. Ofcourse this would make al lot of custom subscribers available since we could sort of make our own (which could maybe be later added to the already fast growing list).
Curious to know that you guys think about this concept and if there are maybe already ways to do this.
First though, Roland’s suggestion made me hopeful as an alternative solution, but unfortunately it does not work in this case since I we cannot create our own storage objects by hand. These always have to be filled in by a transformer of some sort first before you could edit/insert them. (Which could be a nice feature improvement as well)
I don’t get where the start in your scenario is, besides using a storage subscriber to get some data first. Maybe that’s what you are looking for?
That’s the point I am trying to get across, there is no base subscribe data other than predefined variables.
My start scenario is that I want to re-use universal transformers without having to setup an HTTP subscriber or storage subscriber. I want the incoming to set some variables which then get picked up by an universal HTTP transformer which handles my repeating task but with a different endpoint each time. So that I do not need to worry about setting up things that are already defined once and can be re-used.
The problem with entity transformers is that you cannot schedule them or run them by them selves. But I have no data to subscribe to for my incoming because I want to just set some variables which my entity transformer then picks up and uses to get the data I need.
Hopefully this will help explaining what I meant. Also I am on a small holiday right now, back in a week before I can respond again.