From e027606da421ab4050438a5da1c5b2bd98957fdf Mon Sep 17 00:00:00 2001 From: asilenkov Date: Fri, 3 Jun 2016 14:04:39 +0300 Subject: [PATCH] Artifactory, Nexus, Elk applications added Change-Id: I71e49b943b17c44f1b4ef10162e7ae852ab4b5f6 --- .../package/Classes/DockerArtifactory.yaml | 61 ++++++ Docker/Artifactory/package/LICENSE | 175 ++++++++++++++++++ Docker/Artifactory/package/UI/ui.yaml | 51 +++++ Docker/Artifactory/package/logo.png | Bin 0 -> 3442 bytes Docker/Artifactory/package/manifest.yaml | 27 +++ Docker/Elk/package/Classes/DockerELK.yaml | 66 +++++++ Docker/Elk/package/LICENSE | 175 ++++++++++++++++++ Docker/Elk/package/UI/ui.yaml | 51 +++++ Docker/Elk/package/logo.png | Bin 0 -> 4478 bytes Docker/Elk/package/manifest.yaml | 25 +++ Docker/Nexus/package/Classes/DockerNexus.yaml | 60 ++++++ Docker/Nexus/package/LICENSE | 175 ++++++++++++++++++ Docker/Nexus/package/UI/ui.yaml | 51 +++++ Docker/Nexus/package/logo.png | Bin 0 -> 3530 bytes Docker/Nexus/package/manifest.yaml | 28 +++ 15 files changed, 945 insertions(+) create mode 100644 Docker/Artifactory/package/Classes/DockerArtifactory.yaml create mode 100644 Docker/Artifactory/package/LICENSE create mode 100644 Docker/Artifactory/package/UI/ui.yaml create mode 100644 Docker/Artifactory/package/logo.png create mode 100644 Docker/Artifactory/package/manifest.yaml create mode 100644 Docker/Elk/package/Classes/DockerELK.yaml create mode 100644 Docker/Elk/package/LICENSE create mode 100644 Docker/Elk/package/UI/ui.yaml create mode 100644 Docker/Elk/package/logo.png create mode 100644 Docker/Elk/package/manifest.yaml create mode 100644 Docker/Nexus/package/Classes/DockerNexus.yaml create mode 100644 Docker/Nexus/package/LICENSE create mode 100644 Docker/Nexus/package/UI/ui.yaml create mode 100644 Docker/Nexus/package/logo.png create mode 100644 Docker/Nexus/package/manifest.yaml diff --git a/Docker/Artifactory/package/Classes/DockerArtifactory.yaml b/Docker/Artifactory/package/Classes/DockerArtifactory.yaml new file mode 100644 index 0000000..1e2f978 --- /dev/null +++ b/Docker/Artifactory/package/Classes/DockerArtifactory.yaml @@ -0,0 +1,61 @@ +# Licensed 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. + +Namespaces: + =: com.example.docker + std: io.murano + interfaces: com.mirantis.docker + +Name: DockerArtifactory + +Extends: interfaces:DockerApplication + +Properties: + name: + Contract: $.string().notNull() + + publish: + Contract: $.bool().notNull() + Default: true + + +Methods: + initialize: + Body: + - $._environment: $.find(std:Environment).require() + - $._scope: switch($.publish, $ => public, not $ => internal) + + + getContainer: + Body: + Return: + name: $.name + image: "mirantis/artifactory" + ports: + - port: 8080 + scope: $._scope + + + onInstallationStart: + Body: + - $._environment.reporter.report($this, 'Installing Artifactory') + + + onInstallationFinish: + Body: + - If: $.publish + Then: + - $endpoints: $.applicationEndpoints.where($.scope = $this._scope). + select(format('http://{0}:{1}', $.address, $.port)) + - $._environment.reporter.report($this, 'Artifactory {0} is available at {1}'.format($.name, join(', ', $endpoints))) + Else: + - $._environment.reporter.report($this, 'Artifactory {0} has deployed but is not accessible from outside'.format($.name)) diff --git a/Docker/Artifactory/package/LICENSE b/Docker/Artifactory/package/LICENSE new file mode 100644 index 0000000..67db858 --- /dev/null +++ b/Docker/Artifactory/package/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/Docker/Artifactory/package/UI/ui.yaml b/Docker/Artifactory/package/UI/ui.yaml new file mode 100644 index 0000000..bf3d5e8 --- /dev/null +++ b/Docker/Artifactory/package/UI/ui.yaml @@ -0,0 +1,51 @@ +# Licensed 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. + +Version: 2 + +Application: + ?: + type: com.example.docker.DockerArtifactory + name: $.appConfiguration.name + host: $.appConfiguration.host + publish: $.appConfiguration.publish + + +Forms: + - appConfiguration: + fields: + - name: license + type: string + description: Apache License, Version 2.0 + hidden: true + required: false + - name: name + type: string + label: Application Name + initial: DockerArtifactory + description: >- + Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and + underline are allowed + - name: host + type: + - com.mirantis.docker.kubernetes.KubernetesPod + - com.mirantis.docker.DockerStandaloneHost + label: Container Host + description: >- + Select an instance of Docker contaniner hosting provider to run the app + - name: publish + type: boolean + label: Visible from outside + initial: true + required: false + description: >- + Check if you intend to access application from the Internet diff --git a/Docker/Artifactory/package/logo.png b/Docker/Artifactory/package/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..421c47d384f863eb9e7c73d97266b3886fc4e61e GIT binary patch literal 3442 zcmV-&4UO`NP)=10A3^9j|kP!$Fy3j3jj5IUS%xLbrul++Y#u$v`wXw(1`>U(^z3=N^fBn7h9gT>h z2!Bh0!rz!I0xtqD0;jj&cX&QlNV&rfZ`2h|_yIsptM!aYFEbGs`9%Zf1oqP8>5j=W z!`|+2A|N6F0Eh^3iF%2)tkS%$(!2pjKlSH9?#wwn6P|pl|JAeOM+uC`*OcUHi*<|< z0K8Gxgm37ow}%zD+WfmWTX$y2veSNrox!m`cR$}T)m&}fxF&y_%}_;R)U~@wF3~@8 z>Fn6iw}%gg6M@FEJ(-G}GzN~d(PRDlI;NVpE`6w>c$b3K+@L_=^zy8=d0LxBYCJLc zDose6s=hhS{_TG zgztj=lwO{-p|J5IXy=3>6&s5hb&Rpiekz>wrzP;!+1?5Nz}y!*AN>MtNx5mwn74m) zwm&U_CwxNyutZ-zf0H78nIQ6Z-%$Di3nK4{IA~mEkelakm8rDQB;$@c1W`ycU=bk2 zCol|OP!vUA6pmmiE(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HIDEX{N% z-a6`@C-8jt@SH5kP-+;`A4^#@%;Rf{Gvu@@6z_KUP7S(lh5C7ug#jHq)$07*qoM6N<$g0}X!)c^nh literal 0 HcmV?d00001 diff --git a/Docker/Artifactory/package/manifest.yaml b/Docker/Artifactory/package/manifest.yaml new file mode 100644 index 0000000..f930b91 --- /dev/null +++ b/Docker/Artifactory/package/manifest.yaml @@ -0,0 +1,27 @@ +# Licensed 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. + +Format: 1.0 +Type: Application +FullName: com.example.docker.DockerArtifactory +Name: Docker Artifactory +Description: | + The world's most advanced repository manager. Artifactory offers powerful enterprise feature and + fine-grained permission control behind a sleek and easy-to-use UI. +Author: 'Mirantis, Inc' +Tags: [docker, application, Artifactory] +Classes: + com.example.docker.DockerArtifactory: DockerArtifactory.yaml +Require: + com.mirantis.docker.DockerStandaloneHost: + com.mirantis.docker.kubernetes.KubernetesPod: + com.mirantis.docker.Interfaces: diff --git a/Docker/Elk/package/Classes/DockerELK.yaml b/Docker/Elk/package/Classes/DockerELK.yaml new file mode 100644 index 0000000..e7f469a --- /dev/null +++ b/Docker/Elk/package/Classes/DockerELK.yaml @@ -0,0 +1,66 @@ +# Licensed 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. + +Namespaces: + =: com.example.docker + std: io.murano + interfaces: com.mirantis.docker + +Name: DockerELK + +Extends: interfaces:DockerApplication + +Properties: + name: + Contract: $.string().notNull() + + publish: + Contract: $.bool().notNull() + Default: true + + +Methods: + initialize: + Body: + - $._environment: $.find(std:Environment).require() + - $._scope: switch($.publish, $ => public, not $ => internal) + + + getContainer: + Body: + Return: + name: $.name + image: "mirantis/elk" + ports: + - port: 5601 + scope: $._scope + - port: 9200 + scope: $._scope + - port: 5044 + scope: $._scope + - port: 5000 + scope: $._scope + + onInstallationStart: + Body: + - $._environment.reporter.report($this, 'Installing ELK') + + + onInstallationFinish: + Body: + - If: $.publish + Then: + - $endpoints: $.applicationEndpoints.where($.scope = $this._scope). + select(format('http://{0}:{1}', $.address, $.port)) + - $._environment.reporter.report($this, 'ELK {0} is available at {1}'.format($.name, join(', ', $endpoints))) + Else: + - $._environment.reporter.report($this, 'ELK {0} has deployed but is not accessible from outside'.format($.name)) diff --git a/Docker/Elk/package/LICENSE b/Docker/Elk/package/LICENSE new file mode 100644 index 0000000..67db858 --- /dev/null +++ b/Docker/Elk/package/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/Docker/Elk/package/UI/ui.yaml b/Docker/Elk/package/UI/ui.yaml new file mode 100644 index 0000000..44edc77 --- /dev/null +++ b/Docker/Elk/package/UI/ui.yaml @@ -0,0 +1,51 @@ +# Licensed 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. + +Version: 2 + +Application: + ?: + type: com.example.docker.DockerELK + name: $.appConfiguration.name + host: $.appConfiguration.host + publish: $.appConfiguration.publish + + +Forms: + - appConfiguration: + fields: + - name: license + type: string + description: Apache License, Version 2.0 + hidden: true + required: false + - name: name + type: string + label: Application Name + initial: DockerELK + description: >- + Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and + underline are allowed + - name: host + type: + - com.mirantis.docker.kubernetes.KubernetesPod + - com.mirantis.docker.DockerStandaloneHost + label: Container Host + description: >- + Select an instance of Docker contaniner hosting provider to run the app + - name: publish + type: boolean + label: Visible from outside + initial: true + required: false + description: >- + Check if you intend to access application from the Internet diff --git a/Docker/Elk/package/logo.png b/Docker/Elk/package/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c425d1358213c82ce6598cc180f19e63f259b791 GIT binary patch literal 4478 zcmV-^5rOWBP)gu00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru;0F{8A_IVGLj(W-5erE~ zK~#9!?VNdh6y+JmzcaH}cC*>s2}cr62^9zgYAOhbpmGW#)LJS*MMThoP!*M`ZGqB? zh}9~JB3OY^5xGR<3YQc_#Dd5nAqi&!A>`W49y9ayk4+{-ARIwd$dk{0X6Jq1=b72x zJlFfo`$iH%2(A$I9n&63l34We=Ugu&*Mzy-h*tC)+kwK80s}mNp1*H*-2f=nL<9Sc z?Qq^cAq0!3Zm!k9%K@)~3QG#E=*^1qzbh&4M**?zu0DVd-u3u7+eZw1itl@bet+n|drM#Ew|~6DXq&rY z2BW47t}<@Yd*gUv`e<}rM@xCUx`8Ketc2qDB*d$)+^-y9|0`FNVRV`OX5 zcT9URapu!T|JrTK#o^p6(f@OWZlKO%<7aMyH9)!~3eV-Sx!H zLKnIr=dLGiHv0RFPBY|Iv{xL35aN!Jt;X;l9P zdXG+H>9j3pUGw|*AxSaQ0@`*!WXt6AuC|9Db64y>KZosV99<_^|v&Sv4Vk5K)kxC_2x_RJ6X&Ar`> zd{B}kcJDsIu6=oo`t$rM5%an)CU^@E(>zJ%){dPqSwgXf#*_Zw?}CA)%n!htHD7S! zjrHl=K8f5Nf8&)WZn~n=v7aq~0zpZcN~qmT&zs{IH1Ixbp>;4>9C$oFoX((gF7?_t zo|{j6Toio={gpkLd9@~7L9@rVK^Nfjs{~Ym$E)ED=xDmY=hrDIb7FHv@Y?$s4C$GG zrVA8VV#bm~wHo;Cm!G1GVA;xQF%fDvQREH~=``cCn{e6{WKN@bj`2v}B!kaxx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_f#96)ETTFsahnG#>XSTcMra#(^t&*Rr9@djuT6UMZGH*qk( zgu%0em6^IOJA3nru5J*S_1^<$wH0~%_|)^KM57mMW&erd^Y*{AdKZt~+MK&nl1NR6 z;+;VqXcX;a+@dczR_I~ln4Y9Hj3KQ-3`-yF#*QNeO#JkJBt$rP>%R7+CPZ;}N)ipD zLeYhw*c)Jcj})Ho*_w}bWOMkmn*|SdL6#)uf0@Ni4T6ywu#Z)o7#|W$#vM2d4eYwZUbQ5{#<@{Q)7CyOrT?vI6m8Rj1aTJ z(IOAeFWteoJ6o}I=V2D_JVf*OaC8B8wMyi`$r5%SFQiqyNOFtI*nIHB<;{gJ#|Ku> z4Y4jF9TrY|{3J#?7}lW~u}&Mui_6$~w174Hj$aVCpF7nEz*?$(FI;2#Kk&;T>EEcK QrT_o{07*qoM6N<$f=(Q*SO5S3 literal 0 HcmV?d00001 diff --git a/Docker/Elk/package/manifest.yaml b/Docker/Elk/package/manifest.yaml new file mode 100644 index 0000000..84176d3 --- /dev/null +++ b/Docker/Elk/package/manifest.yaml @@ -0,0 +1,25 @@ +# Licensed 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. + +Format: 1.0 +Type: Application +FullName: com.example.docker.DockerELK +Name: Docker ELK +Description: Elasticsearch, Logstash, Kibana +Author: 'Mirantis, Inc' +Tags: [docker, application, ELK] +Classes: + com.example.docker.DockerELK: DockerELK.yaml +Require: + com.mirantis.docker.DockerStandaloneHost: + com.mirantis.docker.kubernetes.KubernetesPod: + com.mirantis.docker.Interfaces: diff --git a/Docker/Nexus/package/Classes/DockerNexus.yaml b/Docker/Nexus/package/Classes/DockerNexus.yaml new file mode 100644 index 0000000..0d320f2 --- /dev/null +++ b/Docker/Nexus/package/Classes/DockerNexus.yaml @@ -0,0 +1,60 @@ +# Licensed 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. + +Namespaces: + =: com.example.docker + std: io.murano + interfaces: com.mirantis.docker + +Name: DockerNexus + +Extends: interfaces:DockerApplication + +Properties: + name: + Contract: $.string().notNull() + + publish: + Contract: $.bool().notNull() + Default: true + + +Methods: + initialize: + Body: + - $._environment: $.find(std:Environment).require() + - $._scope: switch($.publish, $ => public, not $ => internal) + + + getContainer: + Body: + Return: + name: $.name + image: "mirantis/nexus" + ports: + - port: 8081 + scope: $._scope + + onInstallationStart: + Body: + - $._environment.reporter.report($this, 'Installing Nexus') + + + onInstallationFinish: + Body: + - If: $.publish + Then: + - $endpoints: $.applicationEndpoints.where($.scope = $this._scope). + select(format('http://{0}:{1}', $.address, $.port)) + - $._environment.reporter.report($this, 'Nexus {0} is available at {1}'.format($.name, join(', ', $endpoints))) + Else: + - $._environment.reporter.report($this, 'Nexus {0} has deployed but is not accessible from outside'.format($.name)) diff --git a/Docker/Nexus/package/LICENSE b/Docker/Nexus/package/LICENSE new file mode 100644 index 0000000..67db858 --- /dev/null +++ b/Docker/Nexus/package/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/Docker/Nexus/package/UI/ui.yaml b/Docker/Nexus/package/UI/ui.yaml new file mode 100644 index 0000000..57f4747 --- /dev/null +++ b/Docker/Nexus/package/UI/ui.yaml @@ -0,0 +1,51 @@ +# Licensed 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. + +Version: 2 + +Application: + ?: + type: com.example.docker.DockerNexus + name: $.appConfiguration.name + host: $.appConfiguration.host + publish: $.appConfiguration.publish + + +Forms: + - appConfiguration: + fields: + - name: license + type: string + description: Apache License, Version 2.0 + hidden: true + required: false + - name: name + type: string + label: Application Name + initial: DockerNexus + description: >- + Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and + underline are allowed + - name: host + type: + - com.mirantis.docker.kubernetes.KubernetesPod + - com.mirantis.docker.DockerStandaloneHost + label: Container Host + description: >- + Select an instance of Docker contaniner hosting provider to run the app + - name: publish + type: boolean + label: Visible from outside + initial: true + required: false + description: >- + Check if you intend to access application from the Internet diff --git a/Docker/Nexus/package/logo.png b/Docker/Nexus/package/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..0d055b1c2b7a0f2ff2a1e5e8620541605e45b2e3 GIT binary patch literal 3530 zcmV;*4K?zKP)gu00009a7bBm000XU z000XU0RWnu7ytkO2XskIMF-#p0to>U8mjk?000eXNkltk&t>RM^7B3Vmin)U3H?yuBr z*Pt}X@*3q86(a@)7?@$^oZlZPIS!!c?sj?3`#kf^JoCMs@8`Vl`+dLP^BzG_6a`f- zSVR?p3Qz^80#pI2q5}MdMDy#sEQQmtm4KiE?7IBgvHcEAxK&3L72w6_sG@4%e*&VS z0{ks|OErv90jdC1fGR*$RDdc#6`%@G6&0Wg@HZ!I=YjdJe$4Tj2A@K+A%Gb-r;`*L z!s;#iSi5zfUk6wAiDBxf0qC`o&;JJx9U}jshseszWLjPxqS*PpYHDiYse%G}_3Fix z+}v~4|J4D!IyDAobBj-*P9tFpHXsNBm&ArJD!r#)2eIAEXeIv*y`m`W+P$0IyLS^D z9L%KKZbJ|{-uMfGz>y=7P}x1A(~gH?4Ltf~VbIWEkv++qws>|nw{ zCKIVCDJ);UoM4NEF{4NSeoc7s2iyHj_jUCr@Gv3qzx6{}GSN<-%^a6CNIp!{I;_MS_BY{OZ~5c62%& zMx(LK4b{}taO~JI1VJDwDh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