Add reporting about access to admin UI
Change-Id: If784fb7d27223a9f691db987097b0f63794604d4
This commit is contained in:
@@ -67,8 +67,14 @@ Methods:
|
||||
Body:
|
||||
- If: $.publish
|
||||
Then:
|
||||
- $adminEndpoints: $.applicationEndpoints.where($.scope = $this._scope and $.containerPort = 10081).
|
||||
select(format('http://{0}:{1}', $.address, $.port))
|
||||
- $endpoints: $.applicationEndpoints.where($.scope = $this._scope and $.containerPort = 80).
|
||||
select(format('http://{0}:{1}', $.address, $.port))
|
||||
- $._environment.reporter.report($this, 'PHPZendServer {0} is available at {1}'.format($.name, join(', ', $endpoints)))
|
||||
- $._environment.reporter.report($this, 'PHPZendServer {0} Admin UI is available at {1}'.format(
|
||||
$.name, join(', ', $adminEndpoints)))
|
||||
- $._environment.reporter.report($this, 'PHPZendServer {0} is available at {1}'.format(
|
||||
$.name, join(', ', $endpoints)))
|
||||
|
||||
Else:
|
||||
- $._environment.reporter.report($this, 'PHPZendServer {0} has deployed but is not accessible from outside'.format($.name))
|
||||
|
Reference in New Issue
Block a user