Commit Graph

220 Commits

Author SHA1 Message Date
Jenkins
317af79e6b Merge "Fixes port acquiring logic in DockerStandaloneHost" 2015-04-16 09:36:29 +00:00
Ekaterina Chernova
d44ea97fd3 Add requirements to docker host and k8s cluster
Since now, all flavors that have less than 10 GB disk will
not be added to the possible selection.

Also, unnecessary backslashes were removed.

Change-Id: I0839a4252957acd2be9dddbd335674c22c3d57a5
2015-04-16 08:24:31 +00:00
Stan Lagun
52a4621626 Fixes port acquiring logic in DockerStandaloneHost
Previous code used integer keys in port map. But because
JSON doesn't support integer keys they were converted
to corresponding string representations and were not
found on subsequent deployments

Change-Id: I0477a043854a5ed78545d3b944397cdbf2352bd8
Closes-Bug: #1444681
2015-04-16 03:05:36 +03:00
Dmytro Dovbii
58baa629bc Use more clean and simple regexp validator in UI of k8s Cluster
Old validator was quite strange and difficult.
Validators in another apps also were fixed.

Change-Id: Id191b5e2f260e29113655d9fa034f3fa31d832e0
2015-04-15 19:12:12 +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
48ee559dc4 Merge "Skip built-in k8s services in HAProxy config" 2015-04-15 10:16:02 +00:00
Jenkins
5af29a0cc2 Merge "Fixes port binding in Docker" 2015-04-15 10:15:43 +00:00
Jenkins
18209fbac5 Merge "Move dependency's 'deploy' call into the method 'deploy' of app" 2015-04-15 10:15:22 +00:00
Jenkins
9d8d8092ef Merge "Add reporting about access to admin UI" 2015-04-15 10:14:56 +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
Stan Lagun
414c8cdf83 Fixes port binding in Docker
Host port and container port were mixed up in container
run command

Change-Id: I128b6bf575b06c10ac80e2352d08e794ff897dc7
Closes-Bug: #1443725
2015-04-15 04:12:26 +03:00
Stan Lagun
c4c92bf152 Skip built-in k8s services in HAProxy config
Builtin k8s services "kubernetes" and "kubernetes-ro" caused port conflicts with
installed applications if they use ports 80 and/or 43

Change-Id: Ibf7be47d0f63dffeae7553dc3ffe9f1903ccce8f
Closes-Bug: #1444213
2015-04-15 03:35:37 +03:00
Stan Lagun
a855e9a879 Adds support for several applications in single Pod
Kubernetes doesn't allow to add containers to a Pod that
is already deployed. With this change old pods will be deleted
and either new pod created which will include new container
or Replication Controller will be modified (before Pod delete
so that updated Pods be created instead)

Also now Pods are created only when replica number set to 0.
Otherwise Pods created by ReplicationController alone.

Change-Id: I8552793f39083de47ad07e7013dedb72e0550885
Closes-Bug: #1444208
2015-04-15 00:28:31 +00:00
Stan Lagun
e9a04c4db0 Fixes replication controller deletion
KubernetesCluster method to delete RC was using incorrect
property and there was a typo in execution plan making it
fail on validation

Also renames destroy* methods to delete* methods to match
Kubernetes terms

Change-Id: I2ff71679deeb5ad3692fcc1a5fcfed8fa0e8d94f
Closes-Bug: #1443857
2015-04-15 03:15:58 +03:00
Dmytro Dovbii
fc827e50b2 Fix the incorrect work of method _removeApplicationEndpoints()
Fixed typo in method implementation. `select` command was used
for data filtration instead of `where` 

Change-Id: I80b859333089865f8f054b3cf35746e65eeef192
Closes-Bug: #1443686
2015-04-14 14:26:36 +00:00
Dmytro Dovbii
7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00