I am implementing an OSLC Automation provider and there is something I am not sure about when it comes to Automation Plans.
Imagine an Automation provider for a bunch of testing tools. It should allow clients to submit a program to be analyzed by one of the analysers, and then allow them to get the result.
Looking at the example provided in the OSLC Automation Primer (even though the example is a build tool), I am unsure what the program to analyze would map to. The example looks like there is an Automation Plan specific to one program to be built. Now the OSLC Automation specification only requires a GET capability for Automation Plans so it seems like Automation Plans are meant to be read-only for clients. How would the Automation Provider build other programs if the POST capability for Automation Plans isnt required?
I see two options for my analysis example:
- The provider has an Automation Plan for each analysis tool, and the Automation Plans only have a GET capability. The program to analyze is one of the input parameters specified in an Automation Request.
- The program to analyze is a part of the Automation Plan. The user creates an Automation Plan specifically for each program.
Is this an implementation choice or is one of the options preferred by the specification?
I’d be very grateful for some thoughts or suggestions!
Thanks & Best regards,