Commit Graph

33 Commits

Author SHA1 Message Date
Peter Razumovsky 82056d980f Fix name pattern for DockerApp
Currently name pattern for DockerApp allows to use underlines, dots and
doesn't limit name length (at least that's described in field description).
This occurs validation error with some regexp. Kubernetes docs [1] indicates,
that container name should be DNS_LABEL, which described in [2]. Also,
kubernetes code [3] contains regexp and length limit for DNS_LABEL
pattern.

[1] http://kubernetes.io/docs/user-guide/pods/multi-container/#containers

[2] http://kubernetes.io/docs/user-guide/labels/#syntax-and-character-set

[3] 8fd414537b/pkg/util/validation/validation.go (L88-L89)

Change-Id: Icb2ed2b00afe15bd547c01895beedd5ff02b0b0d
Closes-bug: #1622899
2016-10-07 14:08:22 +03:00
Sergey Kraynev 98c8d04cf3 Revert "Specify required version for example docker apps"
This reverts commit 258670842d.

Change-Id: I85dc6237e84d148483baf08a1508e05f9d27f65b
2016-09-27 14:59:04 +00:00
Dmytro Dovbii 258670842d Specify required version for example docker apps
Change-Id: I035a658f599685ba1f392e12d5aa6c812882afc2
2016-09-26 15:35:53 +00:00
Dmytro Dovbii 493ce1927f Fix wrong usage of join()
Change-Id: Iebb70cea8483b6f0a577ab6b8d8015c39fba6345
Closes-Bug: #1623006
2016-09-14 17:40:50 +03:00
alexz 719a47fa86 Yaml syntax cleanup
* remove 'error' like:
- no new line character at the end of file
- trailing spaces

Change-Id: I981f5353a5bd5bfb1546946b240a85905272887e
2016-07-27 14:06:24 +00:00
Dmytro Dovbii c746897a2a Fix the FQN on DockerJenkins app
Change-Id: I4a9a6239fb796f25085c3f88a04a50eb1b464501
2016-07-20 14:02:59 +03:00
Tetiana Lashchova 54bdd3f7dc Update namespace for DockerStandaloneHost
Replace com.example with com.mirantis

Change-Id: I03716573186fc0f6a973b25c95116aeea864a077
2016-07-14 13:22:07 +03:00
Jenkins df5b08864b Merge "Fix usage of id() and super() methods in Docker apps" 2016-06-21 12:33:20 +00:00
Tetiana Lashchova 1d0fc0a3e0 Fix usage of id() and super() methods in Docker apps
Change-Id: Ieb34aee28b796adfceebca0c825d05de02cf37ac
Closes-Bug: #1593682
2016-06-21 13:27:35 +03:00
Tetiana Lashchova 492ec6e097 Update namespaces for docker applications
io.murano.apps -> com.mirantis for k8s applications,
io.murano.apps -> com.example for example applications.

bp fix-fqn-usage

Change-Id: I7061b48ebcc5c33b96a14cfabb982d709f8b709d
2016-06-17 12:37:23 +03:00
Dmytro Dovbii b46d49af09 Fix yaql related issues in Docker apps
Partially-Implements: bp refactor-apps-scripts

Change-Id: Iaf75ec38b133d45778bb1c0f3328e939a9a54bda
2016-05-11 16:27:06 +00:00
Dmytro Dovbii aa524e0acc Initial refactoring of murano apllications
* Increases format of packages
* Adds missed licence headers
* Other minor refactoring

Change-Id: I580bea2eb2f7e4616cd12245367ada8d43c5c4ff
Targets: bp refactor-apps-scripts
2016-04-07 12:55:24 +03:00
Dmytro Dovbii 39875b0e75 Fix Docker GuestBook
Function find() in DockerApplication `initialize` method
returned `null` due to the fact that instance of DockerRedisSlave
class was created with `new()` and this object didn't have owner.
This fix corrects the creation of object

Change-Id: Ib4209cd95edb0209f82dc05e55fe777a212ec9e5
Closes-Bug: #1560441
2016-03-22 15:41:32 +02:00
Henar Muñoz Frutos 615f6acd40 Modifying Orion docker package to use MongoDB docker
The Orion context broker needs a MongoDB database to
persist its data. In terms of docker, two dockers (one for orion and
another for mongodb) should be deployed. It is important to
configure correctly orion docker with mongodb docker IP.

Change-Id: Iba09ceb6ad4145913dfcbff5ecff840a498f3d4a
2015-12-02 07:52:41 +01:00
Stan Lagun a4f4876340 Requirements were incorrect for many apps
Many applications had incorrect Require section
with either missing dependencies or with dependency
having wrong name

Change-Id: Id8505fe8de397a3870c92a85c87f437e107e0bab
Closes-Bug: #1491536
2015-09-02 21:21:58 +03:00
Alexander Bochkarev 68460692f1 Add Docker Elasticsearch
Elasticsearch is a search server based on Lucene. It provides a
distributed, multitenant-capable full-text search engine with a
RESTful web interface and schema-free JSON documents.

Docker Elasticsearch - https://github.com/tutumcloud/elasticsearch

Change-Id: I9d3ff1ef48036a04383e48a948bc1930a1bdff0f
2015-07-28 15:09:46 +04:00
Henar Muñoz Frutos 7b708fac94 FIWARE Orion docker package
Change-Id: Ie1d62a7ec1db92f486eece2c22c917ee8e853fee
2015-07-21 11:16:48 +02:00
Alexander Bochkarev 158f93ad73 Add Docker JBoss
JBoss applications server is a J2EE platform for developing
and deploying enterprise Java applications, Web applications
and services, and portals.

Docker JBoss - https://github.com/tutumcloud/jboss

Change-Id: I981763c95b3f998e750640462a473607d9ee6b32
2015-06-25 18:34:59 +04:00
Dmytro Dovbii 0fc2e52dc4 Add Require section to maniest file for all apps
Change-Id: I88d690eab977d54e8272fd66a4b785ee5022a2c6
Closes-Bug: #1446563
2015-05-26 09:41:30 +03:00
Dmytro Dovbii e882ebbffc Fix GuestBook app
* Fixed name of variable in DockerApplication
class
* Changed creating instance of RedisSlave class

Change-Id: I2e57e0719d6c17b9f4dea3516c508b0a23242cab
Closes-Bug: #1446245
2015-05-14 11:01:20 +03:00
vryzhenkin fbc1ee11f8 Fixed incorrect parameter options of 'publish' field in UI
Fixed incorrect option 'required: true' for UI in Docker
Grafana and Docker MongoDb

Change-Id: Iaf805b5f5bfd5e8eb936d1aaafc88f68eab496b6
Closes-Bug: #1449706
(cherry picked from commit b1ac21fbde177815aae0f450ef1b73fa62845e93)
2015-04-28 19:18:33 +00:00
Dmytro Dovbii 53d928c24f Delete PHP Zend Server app from murano-apps repository
Since Docker implementation of Zend Server is a preview, developers
include a time limited license with it.
Murano-apps repository includes apps which can work immediately
out of box and supporting of license essentially restricts this
ability. So, this app must be deleted.

Change-Id: I70ee12d7d4fa3ec307324b9019bc57ab54903a44
Closes-Bug: #1445087
2015-04-27 14:32:30 +03:00
Jenkins d60d7e4649 Merge "Add Docker App" 2015-04-22 08:46:10 +00:00
Dmytro Dovbii 120ea65419 Add Docker App
This app provide ability to deploy docker container from
image specified by user

Change-Id: I26fb63c286adf63e48919052d590745ecaec84a5
Closes-Bug: #1446153
2015-04-22 03:56:44 +03:00
Ekaterina Chernova 53c9a9ad26 Add license information
* LICENSE file placed to every package
* License information is shown during application creation
* License added to every file

Change-Id: I682f3d9a09d0c0b575206d79223c1822c4b94f27
Closes-Bug: #1446121
2015-04-20 19:15:15 +03:00
Jenkins fe2cf73514 Merge "Add missed call of method deploy()" 2015-04-15 10:19:48 +00:00
Jenkins 91d72f4c1a Merge "Improve application endpoint reporting for GlassFish" 2015-04-15 10:16:18 +00:00
Jenkins 18209fbac5 Merge "Move dependency's 'deploy' call into the method 'deploy' of app" 2015-04-15 10:15:22 +00:00
Dmytro Dovbii 57ab56477e Add missed call of method deploy()
Call of method 'deploy' for influxdb was missed.
So, it caused to error.

Change-Id: Iee4b19e2c688a363ed8d4d6791856f413fa3e1a1
Closes-Bug: #1442223
2015-04-15 09:46:53 +00:00
Dmytro Dovbii 0db37b5f1d Add reporting about access to admin UI
Change-Id: If784fb7d27223a9f691db987097b0f63794604d4
2015-04-15 12:13:59 +03:00
Dmytro Dovbii 63afe9f441 Move dependency's 'deploy' call into the method 'deploy' of app
It is wrong to call deploy from getContainer.
Calls were moved into method deploy of class for
all applications which have dependencies in properties.

Change-Id: I6643bf20d3e014c6d19d44896a041f523d52cb42
2015-04-15 10:39:58 +03:00
Stan Lagun 42d8423a67 Improve application endpoint reporting for GlassFish
2 URLs separated with slash without spaces looked very
bad and unreadable

Change-Id: I7a12d477aedbb6254b9d07b362b4a6810bbac150
2015-04-15 04:19:56 +03:00
Dmytro Dovbii 7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00