Refactor resource model definition
-
Alex-SF
Can we just begin by cutting down the existing project.dtd to just node and setting tags?
-
Deleted User
Is it possible to drop the DTD all together, or at least not make it a requirement of existing in the document when it's read by RunDeck? It can be optional. If it's present then use it?
-
Greg Schueler
we can do both
-
Alex-SF
I'm all for dumping the DTD decl for the resources.xml doc. Not sure if that will have an annoying consequence elsewhere in the code base.
-
Greg Schueler
we can use dtd declaration for our own generated xml, but not require it on
input -
Deleted User
- Milestone order changed from 15 to 0
I like that option...
If there is an error and we suspect that it's format related, we can urge them validate their documents using the DTD.
-
Alex-SF
- Milestone cleared.
- Milestone order changed from 11 to 0
-
Alex-SF
- Milestone set to Rundeck 1.2
- Milestone order changed from 18 to 0
-
Alex-SF
- Title changed from Refactor resources.xml model to Refactor resource model definition
-
Alex-SF
- Milestone cleared.
- Milestone order changed from 1 to 0
-
Alex-SF
- Milestone set to Rundeck 1.3
- Milestone order changed from 29 to 0
User defined metadata could be defined in an "attributes" sub element. Eg
<node name="mynode"> <attributes attr1="val1" ... attrN="valN" /> </node>A more verbose method could be
<node name="mynode"> <attribute name="attr1" value="val1" /> </node> -
Deleted User
Yaml version?
-
Greg Schueler
My yaml thought is just to allow arbitrary entries in the data map:
mynode: name: mynode hostname: blah arbitrary: value -
Greg Schueler
- Assigned user set to Greg Schueler
-
Greg Schueler
- State changed from new to open
-
Greg Schueler
other options for the xml format. i will implement all of these to provide some variety in input syntax:
<node name="mynode"> <attribute name="attr1">value</attribute> </node>and
<node name="mynode" attr1="value"> </node> -
Deleted User
(from [5c5508dc5a0d6bae94c5b2b0dd780ac854028592]) Refactor node/resources to add attributes [#114 Refactor resource model definition] https://github.com/dtolabs/rundeck/commit/5c5508dc5a0d6bae94c5b2b0d...
-
Deleted User
(from [163e4d06710f6bd15dc236cb1f250786dec1f6dd]) Update documentation for resources v1.3 [#114 Refactor resource model definition] https://github.com/dtolabs/rundeck/commit/163e4d06710f6bd15dc236cb1...
-
Greg Schueler
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.