diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-01 16:56:53 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-01 16:56:53 +0000 |
commit | 667d3a02bc5867d349b548ac5eee5212026a2551 (patch) | |
tree | b8d197336a3c835f11fc93c12ba7df0e5da5ec0c /sandbox/kgoodson/jagg/src/main/resources | |
parent | 666eea81f0ac8ea88c04da729bf98a4542453344 (diff) |
adding work items to existing milestone working - new milstone missing some logic, i/f needs tidying, backup of old plan not yet good enough
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@905337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
3 files changed, 110 insertions, 99 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml index 0af97d7a9d..afe66a5c32 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml +++ b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml @@ -1,68 +1,67 @@ -<?xml version="1.0" encoding="UTF-8"?> -<jagg:plan xmlns:jagg="http://www.example.com/tracking" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.com/tracking JiraSideband.xsd "> - <issueBase>https://issues.apache.org/jira/browse/</issueBase> - - <milestone ID="V8 M5I14a"> - <dueDate>2001-01-01</dueDate> - <deliveredby>deliveredby</deliveredby> - <note>note</note> - - <workItem> - <title>support reference on other impl type than impl.widget</title> - <responsible>LR</responsible> - <dueDate>2001-01-01</dueDate> - <jira>TUSCANY-2850</jira> - <status>in progress</status> - <repository_vid>repository_vid</repository_vid> - <note>note</note> - </workItem> - <workItem> - <title>Enhance artefact processing performance by returning URI and location URL in one call</title> - <responsible>LR</responsible> - <dueDate>2001-01-01</dueDate> - <jira>TUSCANY-3395</jira> - <status>in progress</status> - <repository_vid>repository_vid</repository_vid> - <note>note</note> - </workItem> - <workItem> - <title>Add support for identifying the SCA Spec Version for contribution metadata</title> - <responsible>LR</responsible> - <dueDate>2001-01-01</dueDate> - <jira>TUSCANY-3397</jira> - <status>in progress</status> - <repository_vid>repository_vid</repository_vid> - <note>note</note> - </workItem> -</milestone> - <milestone ID="V8_M5I14b"> - <workItem> - <title>Itest copy from 1.x to 2.x</title> - <responsible>Ram</responsible> - <jira>TUSCANY-3433</jira> - </workItem> - <workItem> - <title>Non-simple property injection</title> - <responsible>Raymond</responsible> - <jira>TUSCANY-3409</jira> - </workItem> - <workItem> - <title>local/remote determination</title> - <responsible>Raymond</responsible> - <jira>TUSCANY-3441</jira> - </workItem> - <workItem> - <title>SPI version tracking</title> - <responsible>SL</responsible> - <jira>TUSCANY-3443</jira> - </workItem> - <workItem> - <title>Mechanism to retrieve revision number</title> - <responsible>AE</responsible> - </workItem> - <workItem> - <title>client API no honouring domain URI</title> - <responsible>AE</responsible> - </workItem></milestone> - -</jagg:plan> +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<ns2:plan xmlns:ns2="http://www.example.com/tracking"> + <issueBase>https://issues.apache.org/jira/browse/</issueBase> + <milestone ID="V8 M5I14a"> + <workItem> + <jira>TUSCANY-2850</jira> + <jiraData ID="TUSCANY-2850"> + <title> Support binding.json-rpc for implementation.java's reference</title> + <status>Open</status> + <assignedTo>Unassigned</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-3395</jira> + <jiraData ID="TUSCANY-3395"> + <title> Tidying up Contribution Scanner API</title> + <status>Resolved</status> + <assignedTo>Luciano Resende</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-3397</jira> + <jiraData ID="TUSCANY-3397"> + <title> Add support for identifying the SCA Spec Version for contribution metadata</title> + <status>Resolved</status> + <assignedTo>Luciano Resende</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-1111</jira> + <jiraData ID="TUSCANY-1111"> + <title> Interchangeability of Java and WSDL</title> + <status>Closed</status> + <assignedTo>Unassigned</assignedTo> + </jiraData> + </workItem> + </milestone> + <milestone ID="V8_M5I14b"> + <workItem> + <jira>TUSCANY-3433</jira> + <jiraData ID="TUSCANY-3433"> + <title> Import more of the basic itests from 1.x to 2.x </title> + <status>Open</status> + <assignedTo>Ramkumar Ramalingam</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-3409</jira> + <jiraData ID="TUSCANY-3409"> + <title> Non-Simple Property Injected with XML Fails with NullPointerException</title> + <status>Resolved</status> + <assignedTo>Raymond Feng</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-3441</jira> + <jiraData ID="TUSCANY-3441"> + <title> Improve mechanism for determining locality of endpoints to endpoint references</title> + <status>Open</status> + <assignedTo>Unassigned</assignedTo> + </jiraData> + </workItem> + <workItem> + <jira>TUSCANY-2222</jira> + </workItem> + </milestone> +</ns2:plan> diff --git a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd index e868645dce..ad3f7f8daf 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd +++ b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd @@ -21,16 +21,16 @@ xmlns:jagg="http://www.example.com/tracking"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="plan" type="jagg:Plan"></xsd:element> - - <xsd:complexType name="Plan"> - <xsd:sequence> - <xsd:element name="issueBase" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element> - - - <xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element> - </xsd:sequence> - </xsd:complexType>
+ <xsd:element name="plan"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="issueBase" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element> + + + <xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element> + </xsd:sequence> + </xsd:complexType>
+ </xsd:element>
<xsd:complexType name="WorkItem">
diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html index ddb018ed74..a914dbe14e 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html +++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html @@ -42,18 +42,13 @@ mschoice+='<option>'+ms[i].ID+'</option>'; var mswi = ms[i].workItem.list; mscontent +="<tr>"+ - - "<th>Work Item</th>"+ - "<th>Owner</th>"+ "<th>Jira</th>"+ "<th>Jira title</th>"+ "<th>Jira Assigned To</th>"+ "<th>Status</th>"+ - - "</tr>"; + "</tr>"; for (var j=0; j<mswi.length; j++) { - mscontent +="<tr>"+"<td>"+mswi[j].title+"</td>"+ - "<td>"+mswi[j].responsible+"</td>"; + mscontent +="<tr>"; if(mswi[j].jira) { mscontent += "<td><A HREF=\""+plan.issueBase+mswi[j].jira+"\">"+mswi[j].jira+"</A></td>"+ @@ -69,20 +64,25 @@ } } - mschoice += '<option>New Milestone..</option></select>'; + mscontent += "</table><P>"; + mschoice += '</select>'; + + document.getElementById('milestones').innerHTML='<h2>' + mscontent; - mscontent += "</table>"; + - mscontent += '<form name="newWorkItemForm">'+ - '<div id="addWorkItem">'+ - '<h4>New Work Item</h4>'+ + var newmscontent = + '<form name="newWorkItemForm">'+ + '<div id="addWorkItem">'+ 'JIRA: <input type="text" name="JIRA" value="TUSCANY-"><br/>'+ - 'MileStone: '+mschoice+ - '<input type="button" onClick="addWorkItem()" value="Add Work Item">'+ - '</div>'+ - '</form>'; - - document.getElementById('milestones').innerHTML='<h2>' + mscontent; + mschoice+ + '<br/>New Milestone'+ + '<input name="newmsname" type=text/></td></tr>'+ + '<input type="button" onClick="addWorkItem()" value="Add Work Item">'+ + '</div>'+ + '</form>'; + + document.getElementById('addPlanData').innerHTML=newmscontent; return; } @@ -94,6 +94,15 @@ } function addWorkItem() { + + planView.post(document.newWorkItemForm.newmsname.value, + document.newWorkItemForm.mschoice.value, + document.newWorkItemForm.JIRA.value) + .addCallback(plan_postNewItem_response); + } + + function plan_postNewItem_response() + { } @@ -104,7 +113,10 @@ <body onload="init()"> <h1>Plan</h1> - - <div id="milestones"></div> -</body> + + <table> + <tr><td><div id="milestones"></div></td></tr> + <tr><td><div id="addPlanData"></div></td></tr> + </table> + </body> </html>
\ No newline at end of file |