Issue Details (XML | Word | Printable)

Key: RIO-66
Type: New Feature New Feature
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Jerome Bernard
Reporter: Jerome Bernard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

OpString DSL (Domain Specific Language)

Created: 01/Jul/08 09:51 PM   Updated: 20/Aug/08 11:30 AM
Component/s: Deployment
Affects Version/s: None
Fix Version/s: 4.0 M1

Time Tracking:
Not Specified

Issue Links:
Dependency
Imply
 


 Description  « Hide
It would be nice to be able to use a custom DSL instead of the current XML OpString format.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Reedy added a comment - 15/Jul/08 02:47 AM
Instead of camel case perhaps we should use hypens:

serviceExec becomes service-exec
postInstall becomes post-install

etc ...


Dennis Reedy added a comment - 15/Jul/08 02:48 AM
It might be a little confusing to have both download (under the software element) and data. Perhaps download should be changed to install. That way we wold have:

install
post-install
uninstall

As options under software


Jerome Bernard added a comment - 15/Jul/08 03:22 AM
Unfortunately, using hypens instead of camel can't be done because hyphens are seens as the operator minus() as in Java.
In fact the same problem applies to the name of the DSL OpString files. The name of the OpString is then a Class, hence can't use hyphens.

Jerome Bernard added a comment - 15/Jul/08 03:35 PM
Renamed "download" to "install" as suggested.

Dennis Reedy added a comment - 05/Aug/08 12:07 AM
The DSL needs to support the declarative watch capabilities for the SLA. An example of the XML is:

<SLA ID="backlog" Low="100" High="500">
<PolicyHandler type="scaling" max="10" lowerDampener="3000" upperDampener="3000"></PolicyHandler>
<Monitor name="collector" property="count" period="5000"></Monitor>
</SLA>

We are missing the "Monitor" piece currently


Dennis Reedy added a comment - 06/Aug/08 01:43 PM
The DSL needs to support the declaration of a configuration file. An example of the XML is:

<Configuration file="classpath:someconfig.config/>


Jerome Bernard added a comment - 10/Aug/08 06:04 PM
I fixed the missing monitor support.
I supposed you already did the configuration one, right?
So is there anything left to do?

Dennis Reedy added a comment - 10/Aug/08 06:10 PM
I did not address the declaration of a configuration file in the DSL

Dennis Reedy added a comment - 20/Aug/08 11:30 AM
Continued on with issue RIO-97 in M2