From 6d685c8e138af8d18bc71181ec630ccb9a17bdd9 Mon Sep 17 00:00:00 2001 From: nash Date: Wed, 6 Apr 2011 22:03:35 +0000 Subject: Tag for 1.6.2-RC1 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1089647 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/DomainManager.composite | 318 ++++++++++++++++ .../src/main/resources/cloud-gadget.html | 409 +++++++++++++++++++++ .../domain-manager/src/main/resources/cloud.html | 68 ++++ .../src/main/resources/composite-gadget.html | 278 ++++++++++++++ .../src/main/resources/composite.html | 66 ++++ .../src/main/resources/files-gadget.html | 124 +++++++ .../domain-manager/src/main/resources/files.html | 64 ++++ .../src/main/resources/home-gadget.html | 36 ++ .../domain-manager/src/main/resources/home.html | 62 ++++ .../src/main/resources/icons/artifact.png | Bin 0 -> 228 bytes .../src/main/resources/icons/component.png | Bin 0 -> 226 bytes .../src/main/resources/icons/composite.png | Bin 0 -> 202 bytes .../src/main/resources/icons/feed-icon.png | Bin 0 -> 818 bytes .../domain-manager/src/main/resources/manager.css | 104 ++++++ .../src/main/resources/search-gadget.html | 100 +++++ .../domain-manager/src/main/resources/search.html | 127 +++++++ .../src/main/resources/toolbar-gadget.html | 59 +++ .../domain-manager/src/main/resources/utils.js | 248 +++++++++++++ .../src/main/resources/workspace-gadget.html | 232 ++++++++++++ .../src/main/resources/workspace.html | 65 ++++ 20 files changed, 2360 insertions(+) create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/DomainManager.composite create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/artifact.png create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/component.png create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/composite.png create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/feed-icon.png create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/manager.css create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/toolbar-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/utils.js create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace-gadget.html create mode 100644 sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace.html (limited to 'sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources') diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/DomainManager.composite b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/DomainManager.composite new file mode 100644 index 0000000000..5e55c20fbc --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/DomainManager.composite @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + workspace.xml + cloud + + + + + + + + + + + + + + + + + + files + + + + + + + + + files + + + + + + + + + + domain.composite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cloud.composite + cloud + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + domainSearchIndex + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud-gadget.html new file mode 100644 index 0000000000..36488c1a01 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud-gadget.html @@ -0,0 +1,409 @@ + + + +SCA Domain - Cloud + + + + + + + + +
+ +
+
+
+ >Add +  Delete +    + Start +  Stop +
+ + + +
+ + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud.html new file mode 100644 index 0000000000..d661d5d38b --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/cloud.html @@ -0,0 +1,68 @@ + + + +SCA Domain - Cloud + + + + + + + +
+
+ + + SCA Domain

+ Cloud  +
+
+ Here is the list of SCA nodes configured in your SCA domain cloud. +

+ +
+ + + + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite-gadget.html new file mode 100644 index 0000000000..3af9c3f725 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite-gadget.html @@ -0,0 +1,278 @@ + + + +SCA Domain - Domain Composite + + + + + + + + +
+ +
+
+
+ >Add +  Delete +
+ + + +
+ + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite.html new file mode 100644 index 0000000000..b0631e1d66 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/composite.html @@ -0,0 +1,66 @@ + + + +SCA Domain - Domain Composite + + + + + + + +
+
+ + + SCA Domain

+ Domain Composite  +
+
+ Here is the list of SCA composites currently included as top-level composites in your SCA domain. +

+ +
+ + + + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files-gadget.html new file mode 100644 index 0000000000..7ddc923223 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files-gadget.html @@ -0,0 +1,124 @@ + + + +SCA Domain - Contribution File Server + + + + + + + + +
+ +
+
+
+ >Upload +  Delete +
+ + + +
+ + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files.html new file mode 100644 index 0000000000..37d89e7665 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/files.html @@ -0,0 +1,64 @@ + + + +SCA Domain - Contribution File Server + + + + + + + +
+
+ + + SCA Domain

+ File Server  +
+
+ This is a simple ATOM-based file server useful to share files if you don't have an FTP, SVN or Maven repository. +

+ +
+ + + + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home-gadget.html new file mode 100644 index 0000000000..e54626af0e --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home-gadget.html @@ -0,0 +1,36 @@ + + + +SCA Domain - Home + + + + + + + + +
+ + +
+ + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home.html new file mode 100644 index 0000000000..141a48a690 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/home.html @@ -0,0 +1,62 @@ + + + +SCA Domain - Home + + + + + + + +
+
+ + + SCA Domain + +





+ +
+ + + + + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/artifact.png b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/artifact.png new file mode 100644 index 0000000000..dddbebd2bd Binary files /dev/null and b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/artifact.png differ diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/component.png b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/component.png new file mode 100644 index 0000000000..7315475b3e Binary files /dev/null and b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/component.png differ diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/composite.png b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/composite.png new file mode 100644 index 0000000000..3fa9d02549 Binary files /dev/null and b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/composite.png differ diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/feed-icon.png b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/feed-icon.png new file mode 100644 index 0000000000..a59728b2ad Binary files /dev/null and b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/icons/feed-icon.png differ diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/manager.css b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/manager.css new file mode 100644 index 0000000000..e080ff1d87 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/manager.css @@ -0,0 +1,104 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { + white-space: nowrap; margin: 2px; +} + +table { + border: 1px; border-collapse: separate +} + +th { + font-weight: bold; white-space: nowrap; background-color: #e5ecf9; color: #598edd; + text-align: left; padding-left: 2px; padding-right: 20px; padding-top: 2px; padding-bottom: 2px; vertical-align: text-top; + border-top: 1px; border-bottom: 1px; border-left: 0px; border-right: 0px; + border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4 +} + +td { + padding-left: 2px; padding-top: 2px; padding-right: 20px; white-space: nowrap; vertical-align: text-top +} + +iframe { + visibility: hidden; +} + +input { + vertical-align: middle +} + +a:link { + color: blue +} + +a:visited { + color: blue +} + +.tdw { + padding-left: 2px; padding-top: 2px; padding-right: 20px; white-space: normal; vertical-align: text-top +} + +.hd1 { + font-size:150%; font-weight: bold +} + +.tbar { + margin: 0px; + padding-top: 0px; padding-left: 0px; padding-right: 0px; padding-bottom: 3px; + border-bottom: 1px solid #a2bae7 +} + +.ltbar { + padding-left: 0px; padding-top: 0px; padding-right: 20px; white-space: nowrap; vertical-align: top +} + +.rtbar { + padding-left: 0px; padding-right: 0px; padding-top: 0px; white-space: nowrap; vertical-align: top; + text-align: right +} + +.suggest { + background-color: #e5ecf9; color: #598edd; + border-top: 1px; border-bottom: 1px; border-left: 1px; border-right: 1px; + border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; + border-left-color: #d1d3d4; border-right-color: #d1d3d4; + position: absolute; + overflow: auto; overflow-x: hidden; + cursor: default; + padding: 0px; margin: 0px; +} + +suggestTable { + border: 0px; border-collapse: separate; + padding-left: 5px; padding-right: 5px; padding-top: 2px; padding-bottom: 2px; + margin: 0px; +} + +.suggestItem { + padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; white-space: nowrap; vertical-align: text-top; + background-color: #e5ecf9; color: #598edd; +} + +.suggestHilighted { + padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; white-space: nowrap; vertical-align: text-top; + background-color: #598edd; color: #e5ecf9; +} + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search-gadget.html new file mode 100644 index 0000000000..24a7013cf7 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search-gadget.html @@ -0,0 +1,100 @@ + + + + + +SCA Domain - Domain Composite + + + + + + + + + + + +
+ + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search.html new file mode 100644 index 0000000000..376e44726f --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/search.html @@ -0,0 +1,127 @@ + + + +SCA Domain - Search + + + + + + + + + + + +
+
+ + + Results
+
+ +

+

+

+ +
+ + + + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/toolbar-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/toolbar-gadget.html new file mode 100644 index 0000000000..d145fde1c4 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/toolbar-gadget.html @@ -0,0 +1,59 @@ + + + +SCA Domain - Toolbar + + + + + + + +
+ + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/utils.js b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/utils.js new file mode 100644 index 0000000000..d41435b084 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/utils.js @@ -0,0 +1,248 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * Autocomplete / suggest support for input fields + * + * To use it declare a 'suggest' function as follows: + * function suggestItems() { + * return new Array('abc', 'def', 'ghi'); + * } + * + * then hook it to an input field as follows: + * suggest(document.yourForm.yourInputField, suggestItems); + */ +function selectSuggestion(node, value) { + for (;;) { + node = node.parentNode; + if (node.tagName.toLowerCase() == 'div') { + break; + } + } + node.selectSuggestion(value); +} + +function hilightSuggestion(node, over) { + if (over) { + node.className = 'suggestHilighted'; + } else { + node.className = 'suggestItem'; + } +} + +function suggest(input, suggestFunction) { + + input.suggest = suggestFunction; + + input.selectSuggestion = function(value) { + this.hideSuggestDiv(); + this.value = value; + } + + input.hideSuggestDiv = function() { + if (this.suggestDiv != null) { + this.suggestDiv.style.visibility = 'hidden'; + } + } + + input.showSuggestDiv = function() { + if (this.suggestDiv == null) { + this.suggestDiv = document.createElement('div'); + this.suggestDiv.input = this; + this.suggestDiv.className = 'suggest'; + input.parentNode.insertBefore(this.suggestDiv, input); + this.suggestDiv.style.visibility = 'hidden'; + this.suggestDiv.style.zIndex = '99'; + + this.suggestDiv.selectSuggestion = function(value) { + this.input.selectSuggestion(value); + } + } + + var values = this.suggest(); + var items = ""; + for (var i = 0; i < values.length; i++) { + if (values[i].indexOf(this.value) == -1) { + continue; + } + if (items.length == 0) { + items += ''; + } + items += ''; + } + if (items.length != 0) { + items += '
' + values[i] + '
'; + } + this.suggestDiv.innerHTML = items; + + if (items.length != 0) { + var node = input; + var left = 0; + var top = 0; + for (;;) { + left += node.offsetLeft; + top += node.offsetTop; + node = node.offsetParent; + if (node.tagName.toLowerCase() == 'body') { + break; + } + } + this.suggestDiv.style.left = left; + this.suggestDiv.style.top = top + input.offsetHeight; + this.suggestDiv.style.visibility = 'visible'; + } else { + this.suggestDiv.style.visibility = 'hidden'; + } + } + + input.onkeydown = function(event) { + this.showSuggestDiv(); + }; + + input.onkeyup = function(event) { + this.showSuggestDiv(); + }; + + input.onmousedown = function(event) { + this.showSuggestDiv(); + }; + + input.onblur = function(event) { + setTimeout(function() { input.hideSuggestDiv(); }, 50); + }; +} + +/** + * A Toolbar class + */ +function Tool(name, href) { + this.name = name; + this.href = href; +} + +Tool.prototype.print = function() { + var loc = '' + location; + if (loc.match(this.href) == null) { + return '' + this.name + ''; + } else { + return '' + this.name + ''; + } +} + +/** + * Initialize the toolbar + */ +function toolbar(home, tools) { + var toolbar = '' + + '' + + '' + + '
'; + + for (var i = 0; i < tools.length; i++) { + toolbar = toolbar + '' + } + + toolbar = toolbar + '' + + toolbar = toolbar + '
' +tools[i].print() + ' 
' + + '
' + home.print() + '
'; + + return toolbar; +} + +/** + * Return an non-sparse array from an array or an object. + */ +function array(obj) { + if (obj.length == undefined) { + var a = new Array(); + a[0] = obj; + return a; + } + else { + var a = new Array(); + var n = 0; + for (var i in obj) { + a[n++] = obj[i]; + } + return a; + } +} + +/** + * Dump a Javascript object to the console + */ +function dump(o) { + for (f in o) { + try { + console.log(f + '=' + o[f]); + } catch (e) {} + } +} + +/** + * Return the content document of the given window. + */ +function content(win) { + if (win.document != 'undefined' && win.document != null) { + return win.document; + } else if (win.contentDocument != 'undefined' && win.contentDocument != null) { + return win.contentDocument; + } else { + return null; + } +} + +/** + * Returns a child element with the given id. + */ +function elementByID(node, id) { + for (var i in node.childNodes) { + var child = node.childNodes[i]; + if (child.id == id) { + return child; + } else { + child = elementByID(child, id); + if (child != null) { + return child; + } + } + } + return null; +} + +/** + * Install a gadget. + */ +function gadget(win, doc) { + var ongadget = null; + try { + if (win.parent.ongadget != null && win.parent.ongadget != 'undefined') { + ongadget = win.parent.ongadget; + } + } catch (e) { + } + if (ongadget != null) { + return ongadget(win, doc); + } else { + return doc; + } +} diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace-gadget.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace-gadget.html new file mode 100644 index 0000000000..3b8a32c940 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace-gadget.html @@ -0,0 +1,232 @@ + + + +SCA Domain - Contributions + + + + + + + + +
+ +
+
+
+ >Add +  Delete +
+ + + +
+ + + + diff --git a/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace.html b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace.html new file mode 100644 index 0000000000..36c02ab1e6 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/modules/domain-manager/src/main/resources/workspace.html @@ -0,0 +1,65 @@ + + + +SCA Domain - Contributions + + + + + + + +
+
+ + + SCA Domain

+ Contributions 
+
+ Here is the list of SCA contributions currently available in your SCA domain. +

+ +
+ + + + + + + -- cgit v1.2.3