public static String buildRealNode(final String contextPath, final String appName) {
        return UriUtils.removePrefix(StringUtils.isEmpty(contextPath) ? appName : contextPath);
    }
@Test
    public void testBuildRealNode() {
        final String url = "/contextPath/service";
        final String appName = "/app";
        assertEquals(url.substring(1), ContextPathUtils.buildRealNode(url, appName));
        assertEquals(appName.substring(1), ContextPathUtils.buildRealNode("", appName));
    }