Fetch environment network configuration after deploy
Environment network configuration should be updated after deploy to get a public vip address Closes-Bug: #1544446 Change-Id: I89a4fa09c8f30403c4e15158205c176967b89240
This commit is contained in:
parent
0a3a744bd5
commit
bfe882b65d
|
@ -147,8 +147,13 @@ define([
|
|||
.assertElementExists('.go-to-healthcheck', 'Healthcheck link is visible after deploy')
|
||||
.findByLinkText('Horizon')
|
||||
.getAttribute('href')
|
||||
.then(function(value) {
|
||||
return assert.isTrue(_.startsWith(value, 'http'), 'Link to Horizon is formed');
|
||||
.then(function(href) {
|
||||
// check the link includes 'http(s)' and there is '.' in it's domain
|
||||
return assert.match(
|
||||
href,
|
||||
/^https?:\/\/[-\w]+\.[-\w.]+(:\d+)?\/?$/,
|
||||
'Link to Horizon is formed'
|
||||
);
|
||||
})
|
||||
.end()
|
||||
.then(function() {
|
||||
|
|
|
@ -212,6 +212,7 @@ var ClusterPage = React.createClass({
|
|||
this.props.cluster.fetch(),
|
||||
this.props.cluster.fetchRelated('nodes'),
|
||||
this.props.cluster.fetchRelated('tasks'),
|
||||
this.props.cluster.get('networkConfiguration').fetch(),
|
||||
this.props.cluster.get('pluginLinks').fetch()
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue