markusthoemmes commented on a change in pull request #4004: Enable running
basic system tests without requiring whisk.properties
URL:
https://github.com/apache/incubator-openwhisk/pull/4004#discussion_r218357696
##########
File path: tests/src/test/scala/system/rest/RestUtil.scala
##########
@@ -54,9 +55,15 @@ trait RestUtil {
* @return the URL and port for the whisk service using the main router or
the edge router ip address
*/
def getServiceURL(): String = {
- val apiPort = WhiskProperties.getEdgeHostApiPort()
- val protocol = if (apiPort == 443) "https" else "http"
- protocol + "://" + WhiskProperties.getEdgeHost() + ":" + apiPort
+ val host = WhiskProperties.getEdgeHost
+ val uri = Uri(host)
+ //Ensure that prt is explicitly include in the returned URL
Review comment:
Typo: Ensure that *port* is explicitly *included* in the returned URL
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services