@Override
    public void destroy() {
        super.destroy();
        infraApplicationRedeployer.close();
    }
Returns a copy of the given URI with the host and port from the given URI and the path set to the given path
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/NodesV2ApiHandler.java