You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by sa...@apache.org on 2016/10/13 11:51:10 UTC
[1/2] ode-console git commit: updated issue tracking
Repository: ode-console
Updated Branches:
refs/heads/master f6df4bf61 -> 281a7ece4
updated issue tracking
Project: http://git-wip-us.apache.org/repos/asf/ode-console/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode-console/commit/e60afe55
Tree: http://git-wip-us.apache.org/repos/asf/ode-console/tree/e60afe55
Diff: http://git-wip-us.apache.org/repos/asf/ode-console/diff/e60afe55
Branch: refs/heads/master
Commit: e60afe55d17898af6c04c0b091b5c5a0b9c9a8ea
Parents: f6df4bf
Author: sathwik <sa...@apache.org>
Authored: Tue Oct 11 13:26:26 2016 +0530
Committer: sathwik <sa...@apache.org>
Committed: Tue Oct 11 13:26:26 2016 +0530
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ode-console/blob/e60afe55/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6024dcc..e49d7b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@ under the License.
<issueManagement>
<system>jira</system>
- <url>https://issues.apache.org/jira/browse/ODE</url>
+ <url>https://issues.apache.org/jira/browse/OWC</url>
</issueManagement>
<licenses>
[2/2] ode-console git commit: process inbound/outbound endpoints
Posted by sa...@apache.org.
process inbound/outbound endpoints
Project: http://git-wip-us.apache.org/repos/asf/ode-console/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode-console/commit/281a7ece
Tree: http://git-wip-us.apache.org/repos/asf/ode-console/tree/281a7ece
Diff: http://git-wip-us.apache.org/repos/asf/ode-console/diff/281a7ece
Branch: refs/heads/master
Commit: 281a7ece43b47a219ddbe45f733d884f073c341d
Parents: e60afe5
Author: sathwik <sa...@apache.org>
Authored: Thu Oct 13 17:20:26 2016 +0530
Committer: sathwik <sa...@apache.org>
Committed: Thu Oct 13 17:20:26 2016 +0530
----------------------------------------------------------------------
src/app/process/process.html | 32 ++++++++++++++++++++++++--------
src/app/process/process.service.js | 13 ++++++++++---
2 files changed, 34 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ode-console/blob/281a7ece/src/app/process/process.html
----------------------------------------------------------------------
diff --git a/src/app/process/process.html b/src/app/process/process.html
index b596bba..0c1905f 100644
--- a/src/app/process/process.html
+++ b/src/app/process/process.html
@@ -36,15 +36,31 @@
</table>
</div>
- <div class="panel panel-default" ng-if="process.endpoints.length">
- <div class="panel-heading">
- <h3 class="panel-title">Endpoints</h3>
+ <div class="panel panel-default" ng-if="process.endpoints.myRole.length || process.endpoints.partnerRole.length">
+ <div class="panel-heading"><h3 class="panel-title">Endpoints</h3></div>
+ <div class="panel-body">
+ <div class="panel" ng-if="process.endpoints.myRole.length">
+ <div class="panel-heading"><h3 class="panel-title">Process Inbound Endpoints</h3></div>
+ <div class="panel-body">
+ <ul class="list-group">
+ <li class="list-group-item" ng-repeat="myRoleEndpoint in process.endpoints.myRole">
+ <div ui-ace="{mode: 'xml'}" readonly ng-model="myRoleEndpoint"></div>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <div class="panel" ng-if="process.endpoints.partnerRole.length">
+ <div class="panel-heading"><h3 class="panel-title">Process Outbound Endpoints</h3></div>
+ <div class="panel-body">
+ <ul class="list-group">
+ <li class="list-group-item" ng-repeat="partRoleEnpoint in process.endpoints.partnerRole">
+ <div ui-ace="{mode: 'xml'}" readonly ng-model="partRoleEnpoint"></div>
+ </li>
+ </ul>
+ </div>
+ </div>
</div>
- <ul class="list-group">
- <li class="list-group-item" ng-repeat="endpoint in process.endpoints">
- <div ui-ace="{mode: 'xml'}" readonly ng-model="endpoint"></div>
- </li>
- </ul>
</div>
<div class="panel panel-default" ng-cloak>
http://git-wip-us.apache.org/repos/asf/ode-console/blob/281a7ece/src/app/process/process.service.js
----------------------------------------------------------------------
diff --git a/src/app/process/process.service.js b/src/app/process/process.service.js
index 5c633f6..2e2bd0e 100644
--- a/src/app/process/process.service.js
+++ b/src/app/process/process.service.js
@@ -69,9 +69,16 @@ angular.module('odeConsole')
result.nameFull = SoapService.qnameToString(SoapService.createQNameObj(processNameEl.text(), processNameEl[0]));
// endpoints
- result.endpoints = [];
- processElement.xpath('ns:endpoints/ns:endpoint-ref', nsResolver).each(function() {
- result.endpoints.push(vkbeautify.xml($(this).first().html().trim(), 2));
+ result.endpoints = {
+ myRole: [],
+ partnerRole: []
+ };
+
+ processElement.xpath('ns:endpoints/ns:endpoint-ref[@my-role]', nsResolver).each(function() {
+ result.endpoints.myRole.push(vkbeautify.xml($(this).first().html().trim(), 2));
+ });
+ processElement.xpath('ns:endpoints/ns:endpoint-ref[@partner-role]', nsResolver).each(function() {
+ result.endpoints.partnerRole.push(vkbeautify.xml($(this).first().html().trim(), 2));
});
// documents