From cd8ce5c647563b65635b42f0b95c876b6ac20990 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Wed, 20 Mar 2019 20:01:04 -0500 Subject: [PATCH] URL Cleanup This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://www.axonframework.org/ (301) with 1 occurrences migrated to: https://axoniq.io ([https](https://www.axonframework.org/) result SSLHandshakeException). * [ ] http://37.77.34.7:7365/ (ConnectTimeoutException) with 1 occurrences migrated to: https://37.77.34.7:7365/ ([https](https://37.77.34.7:7365/) result ConnectTimeoutException). * [ ] http://devedition-downloader.cloudfoundry.com/download/maven.springframework.org/snapshot/1.9.3-CI-SNAPSHOT (UnknownHostException) with 1 occurrences migrated to: https://devedition-downloader.cloudfoundry.com/download/maven.springframework.org/snapshot/1.9.3-CI-SNAPSHOT ([https](https://devedition-downloader.cloudfoundry.com/download/maven.springframework.org/snapshot/1.9.3-CI-SNAPSHOT) result UnknownHostException). * [ ] http://goodbye/world (UnknownHostException) with 1 occurrences migrated to: https://goodbye/world ([https](https://goodbye/world) result UnknownHostException). * [ ] http://hello/world (UnknownHostException) with 1 occurrences migrated to: https://hello/world ([https](https://hello/world) result UnknownHostException). * [ ] http://here/testSuccessfulRemoteInvocation (UnknownHostException) with 1 occurrences migrated to: https://here/testSuccessfulRemoteInvocation ([https](https://here/testSuccessfulRemoteInvocation) result UnknownHostException). * [ ] http://lu.ci.an.demo/ (UnknownHostException) with 1 occurrences migrated to: https://lu.ci.an.demo/ ([https](https://lu.ci.an.demo/) result UnknownHostException). * [ ] http://somewhere:7365/ (UnknownHostException) with 1 occurrences migrated to: https://somewhere:7365/ ([https](https://somewhere:7365/) result UnknownHostException). * [ ] http://somewhere:7365/testExecutionCollected (UnknownHostException) with 2 occurrences migrated to: https://somewhere:7365/testExecutionCollected ([https](https://somewhere:7365/testExecutionCollected) result UnknownHostException). * [ ] http://there/testFailedRemoteInvocation (UnknownHostException) with 1 occurrences migrated to: https://there/testFailedRemoteInvocation ([https](https://there/testFailedRemoteInvocation) result UnknownHostException). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/mvc.html (301) with 2 occurrences migrated to: https://docs.spring.io/spring/docs/3.1.x/spring-framework-reference/html/mvc.html ([https](https://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/mvc.html) result 200). * [ ] http://hc.apache.org/httpclient-3.x/ with 1 occurrences migrated to: https://hc.apache.org/httpclient-3.x/ ([https](https://hc.apache.org/httpclient-3.x/) result 200). * [ ] http://maven.springframework.org/release/com/springsource/insight/plugins/ with 2 occurrences migrated to: https://maven.springframework.org/release/com/springsource/insight/plugins/ ([https](https://maven.springframework.org/release/com/springsource/insight/plugins/) result 200). * [ ] http://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null with 2 occurrences migrated to: https://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null ([https](https://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null) result 200). * [ ] http://www.razorsql.com/docs/help_db2.html with 1 occurrences migrated to: https://www.razorsql.com/docs/help_db2.html ([https](https://www.razorsql.com/docs/help_db2.html) result 200). * [ ] http://www.razorsql.com/docs/help_sybase.html with 1 occurrences migrated to: https://www.razorsql.com/docs/help_sybase.html ([https](https://www.razorsql.com/docs/help_sybase.html) result 200). * [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200). * [ ] http://www.springframework.org/schema/insight-idk/insight-idk-1.0.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/insight-idk/insight-idk-1.0.xsd ([https](https://www.springframework.org/schema/insight-idk/insight-idk-1.0.xsd) result 200). * [ ] http://www.youtube.com/watch?v=YR3CYnryflw with 1 occurrences migrated to: https://www.youtube.com/watch?v=YR3CYnryflw ([https](https://www.youtube.com/watch?v=YR3CYnryflw) result 200). * [ ] http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration with 1 occurrences migrated to: https://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration ([https](https://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration) result 301). * [ ] http://pubs.vmware.com/vfabric51/index.jsp?topic=/com.vmware.vfabric.tc-server.2.7/devedition/tutorial-plugin.html with 1 occurrences migrated to: https://pubs.vmware.com/vfabric51/index.jsp?topic=/com.vmware.vfabric.tc-server.2.7/devedition/tutorial-plugin.html ([https](https://pubs.vmware.com/vfabric51/index.jsp?topic=/com.vmware.vfabric.tc-server.2.7/devedition/tutorial-plugin.html) result 301). * [ ] http://www.mongodb.org with 1 occurrences migrated to: https://www.mongodb.org ([https](https://www.mongodb.org) result 301). * [ ] http://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html with 2 occurrences migrated to: https://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html ([https](https://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html) result 301). * [ ] http://www.springsource.org/insight with 5 occurrences migrated to: https://www.springsource.org/insight ([https](https://www.springsource.org/insight) result 302). # Ignored These URLs were intentionally ignored. * http://127.0.0.1/placeholder with 2 occurrences * http://java.sun.com/jstl/core with 2 occurrences * http://java.sun.com/portlet with 3 occurrences * http://localhost with 5 occurrences * http://test-host:3777/testBasicOperatiom with 4 occurrences * http://www.springframework.org/schema/beans with 2 occurrences * http://www.springframework.org/schema/insight-idk with 2 occurrences * http://www.w3.org/2001/XMLSchema with 1 occurrences * http://www.w3.org/2001/XMLSchema-instance with 1 occurrences --- README.textile | 10 +++++----- .../plugin/axon/AxonPluginRuntimeDescriptor.java | 2 +- collection-plugins/gemfire-light/README.textile | 2 +- collection-plugins/gemfire/README.textile | 2 +- .../plugin/jdbc/parser/parsers/DB2SqlParser.java | 2 +- .../plugin/jdbc/parser/parsers/MySqlParser.java | 2 +- .../plugin/jdbc/parser/parsers/SybaseSqlParser.java | 2 +- .../insight/plugin/jws/JwsServiceDefinitions.java | 2 +- collection-plugins/mongodb/README.textile | 2 +- ...HttpURLConnectionOperationCollectionAspectTest.java | 4 ++-- .../resources/META-INF/insight-plugin-spring-cloud | 4 ++-- .../controller/ControllerOperationCollector.java | 4 ++-- ...InvokerRequestExecutorExternalResourceAnalyzer.java | 2 +- ...ClientHttpRequestCollectionOperationAspectTest.java | 6 +++--- ...erRequestExecutorOperationCollectionAspectTest.java | 4 ++-- .../rest/RestOperationCollectionTestSupport.java | 2 +- 16 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.textile b/README.textile index e23b0bd9e..61a6bb368 100644 --- a/README.textile +++ b/README.textile @@ -9,16 +9,16 @@ Insight is a VMware® Web application that gives you real-time visibility into a * Insight DevEdition answers the question: "What just happened?" * Insight Operations answers the question: "How does my code perform in production?" -See more at "http://www.springsource.org/insight":http://www.springsource.org/insight +See more at "https://www.springsource.org/insight":https://www.springsource.org/insight h2. Download Insight Developer Edition -Download Insight Developer Edition from "here":http://devedition-downloader.cloudfoundry.com/download/maven.springframework.org/snapshot/1.9.3-CI-SNAPSHOT +Download Insight Developer Edition from "here":https://devedition-downloader.cloudfoundry.com/download/maven.springframework.org/snapshot/1.9.3-CI-SNAPSHOT h2. Installing and Using Plugins Plugins for different versions of Insight can be downloaded from: - "http://maven.springframework.org/release/com/springsource/insight/plugins/":http://maven.springframework.org/release/com/springsource/insight/plugins/ + "https://maven.springframework.org/release/com/springsource/insight/plugins/":https://maven.springframework.org/release/com/springsource/insight/plugins/ Plugins must be copied into the "insight/collection-plugins" directory of an Insight Developer Edition and Insight Dashboard/Agent. @@ -30,8 +30,8 @@ h2. Creating a Plugin h2. Resources -* Checkout our webinar on developing plugins at: http://www.youtube.com/watch?v=YR3CYnryflw -* Tutorial: http://pubs.vmware.com/vfabric51/index.jsp?topic=/com.vmware.vfabric.tc-server.2.7/devedition/tutorial-plugin.html +* Checkout our webinar on developing plugins at: https://www.youtube.com/watch?v=YR3CYnryflw +* Tutorial: https://pubs.vmware.com/vfabric51/index.jsp?topic=/com.vmware.vfabric.tc-server.2.7/devedition/tutorial-plugin.html h2. Requirements for a Plugin diff --git a/collection-plugins/axon/src/main/java/org/axonframework/insight/plugin/axon/AxonPluginRuntimeDescriptor.java b/collection-plugins/axon/src/main/java/org/axonframework/insight/plugin/axon/AxonPluginRuntimeDescriptor.java index bb0fd6a80..cb60144c7 100644 --- a/collection-plugins/axon/src/main/java/org/axonframework/insight/plugin/axon/AxonPluginRuntimeDescriptor.java +++ b/collection-plugins/axon/src/main/java/org/axonframework/insight/plugin/axon/AxonPluginRuntimeDescriptor.java @@ -54,7 +54,7 @@ public String getPublisher() { @Override public String getHref() { - return "http://www.axonframework.org/"; + return "https://axoniq.io"; } } diff --git a/collection-plugins/gemfire-light/README.textile b/collection-plugins/gemfire-light/README.textile index ec97e2558..c213204a0 100644 --- a/collection-plugins/gemfire-light/README.textile +++ b/collection-plugins/gemfire-light/README.textile @@ -1,6 +1,6 @@ h1. GemFire plugin (light) for Spring Insight -Spring Insight runs in the SpringSource tc Server. See http://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use GemFire (http://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html) through the GemFire Java driver, which typically works outside the normal ORM flow. +Spring Insight runs in the SpringSource tc Server. See https://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use GemFire (https://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html) through the GemFire Java driver, which typically works outside the normal ORM flow. The light plugin monitors Query API only. diff --git a/collection-plugins/gemfire/README.textile b/collection-plugins/gemfire/README.textile index 5fd561533..a1e56beac 100644 --- a/collection-plugins/gemfire/README.textile +++ b/collection-plugins/gemfire/README.textile @@ -1,6 +1,6 @@ h1. GemFire plugin for Spring Insight -Spring Insight runs in the SpringSource tc Server. See http://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use GemFire (http://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html) through the GemFire Java driver, which typically works outside the normal ORM flow. +Spring Insight runs in the SpringSource tc Server. See https://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use GemFire (https://www.vmware.com/products/application-platform/vfabric-gemfire/overview.html) through the GemFire Java driver, which typically works outside the normal ORM flow. h2. Compatibility diff --git a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/DB2SqlParser.java b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/DB2SqlParser.java index bf164b607..ce8df96ba 100644 --- a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/DB2SqlParser.java +++ b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/DB2SqlParser.java @@ -19,7 +19,7 @@ import com.springsource.insight.plugin.jdbc.parser.SimpleSqlUrlParser; /** - * @see DB2 JDBC Driver and URL information + * @see DB2 JDBC Driver and URL information */ public class DB2SqlParser extends SimpleSqlUrlParser { public static final int DEFAULT_CONNECTION_PORT = 6789; diff --git a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/MySqlParser.java b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/MySqlParser.java index a0e67047a..9f41d91e1 100644 --- a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/MySqlParser.java +++ b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/MySqlParser.java @@ -19,7 +19,7 @@ /** * taken from - * http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration + * https://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration * -properties.html *

* jdbc:mysql://[host][,failoverhost...][:port]/[database] » diff --git a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/SybaseSqlParser.java b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/SybaseSqlParser.java index 4f21af3bd..8d2390bf0 100644 --- a/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/SybaseSqlParser.java +++ b/collection-plugins/jdbc/src/main/java/com/springsource/insight/plugin/jdbc/parser/parsers/SybaseSqlParser.java @@ -26,7 +26,7 @@ import com.springsource.insight.util.StringUtil; /** - * @see Sybase JDBC Driver and URL Information + * @see Sybase JDBC Driver and URL Information */ public class SybaseSqlParser extends AbstractSqlParser { public static final String VENDOR = "sybase", SUB_TYPE = "Tds"; diff --git a/collection-plugins/jws/src/test/java/com/springsource/insight/plugin/jws/JwsServiceDefinitions.java b/collection-plugins/jws/src/test/java/com/springsource/insight/plugin/jws/JwsServiceDefinitions.java index a7e9b9357..74ca56401 100644 --- a/collection-plugins/jws/src/test/java/com/springsource/insight/plugin/jws/JwsServiceDefinitions.java +++ b/collection-plugins/jws/src/test/java/com/springsource/insight/plugin/jws/JwsServiceDefinitions.java @@ -29,7 +29,7 @@ private JwsServiceDefinitions() { public static final String SERVICE_NAME = "JwsServiceTest", ENDPOINT = SERVICE_NAME + "Endpoint", PORT_NAME = SERVICE_NAME + "PortName", - TARGET_NAMESPACE = "http://lu.ci.an.demo/" + SERVICE_NAME, + TARGET_NAMESPACE = "https://lu.ci.an.demo/" + SERVICE_NAME, WSDL_LOCATION = "WEB-INF/wsdl/" + SERVICE_NAME + ".wsdl"; // constants used by the WebMethod/WebParam annotation(s) diff --git a/collection-plugins/mongodb/README.textile b/collection-plugins/mongodb/README.textile index dd40bc74b..6c630d7cf 100644 --- a/collection-plugins/mongodb/README.textile +++ b/collection-plugins/mongodb/README.textile @@ -1,6 +1,6 @@ h1. MongoDB plugin for Spring Insight -Spring Insight runs in the SpringSource tc Server. See http://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use MongoDB (http://www.mongodb.org) through the MongoDB Java driver, which typically works outside the normal ORM flow. +Spring Insight runs in the SpringSource tc Server. See https://www.springsource.org/insight for details. This plugin adds instrumentation to for web applications that use MongoDB (https://www.mongodb.org) through the MongoDB Java driver, which typically works outside the normal ORM flow. h2. What does it do? diff --git a/collection-plugins/socket/src/test/java/com/springsource/insight/plugin/socket/HttpURLConnectionOperationCollectionAspectTest.java b/collection-plugins/socket/src/test/java/com/springsource/insight/plugin/socket/HttpURLConnectionOperationCollectionAspectTest.java index 8a7911336..27362e848 100644 --- a/collection-plugins/socket/src/test/java/com/springsource/insight/plugin/socket/HttpURLConnectionOperationCollectionAspectTest.java +++ b/collection-plugins/socket/src/test/java/com/springsource/insight/plugin/socket/HttpURLConnectionOperationCollectionAspectTest.java @@ -117,7 +117,7 @@ public void testDefaultObscuredHeaders() throws IOException { continue; // this is a response header and we do not intercept them } - // see http://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null + // see https://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null List values = propsMap.get(hdrName); if (ListUtil.size(values) <= 0) { continue; @@ -150,7 +150,7 @@ public void testObscuredHeaders() throws IOException { assertObscureTestResults(marker, hdrName, "X-Dummy-Value", false); for (String defName : HttpObfuscator.DEFAULT_OBFUSCATED_HEADERS_LIST) { - // see http://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null + // see https://stackoverflow.com/questions/2864062/getrequestpropertyauthorization-always-returns-null List values = propsMap.get(defName); if (ListUtil.size(values) <= 0) { continue; diff --git a/collection-plugins/spring-cloud/src/main/resources/META-INF/insight-plugin-spring-cloud b/collection-plugins/spring-cloud/src/main/resources/META-INF/insight-plugin-spring-cloud index 56777860d..48cc83cd5 100644 --- a/collection-plugins/spring-cloud/src/main/resources/META-INF/insight-plugin-spring-cloud +++ b/collection-plugins/spring-cloud/src/main/resources/META-INF/insight-plugin-spring-cloud @@ -2,8 +2,8 @@ + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/insight-idk https://www.springframework.org/schema/insight-idk/insight-idk-1.0.xsd"> diff --git a/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/controller/ControllerOperationCollector.java b/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/controller/ControllerOperationCollector.java index ce45763e2..fdb86ba6a 100644 --- a/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/controller/ControllerOperationCollector.java +++ b/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/controller/ControllerOperationCollector.java @@ -37,8 +37,8 @@ * Renders any {@link Map}, {@link Model}, {@link View}, {@link ModelMap} * and/or {@link ModelAndView} attributes * - * @see Supported method argument types - * @see Supported method return types + * @see Supported method argument types + * @see Supported method return types */ public class ControllerOperationCollector extends DefaultOperationCollector { private static final InterceptConfiguration configuration = InterceptConfiguration.getInstance(); diff --git a/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorExternalResourceAnalyzer.java b/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorExternalResourceAnalyzer.java index fa4f99149..e6a84fa0a 100644 --- a/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorExternalResourceAnalyzer.java +++ b/collection-plugins/spring-web/src/main/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorExternalResourceAnalyzer.java @@ -46,7 +46,7 @@ public class HttpInvokerRequestExecutorExternalResourceAnalyzer extends Abstract * Special attribute used to indicate whether the HTTP invocation was * executed using core Java classes (e.g. {@link java.net.HttpURLConnection} * only or via a framework (e.g., Apache client). We + * HREF="https://hc.apache.org/httpclient-3.x/">Apache client). We * generate an external resource only for the core classes invocation * and rely on the other plugins for the alternative frameworks. This is * done in order to avoid ambiguity if both the HTTP invoker aspect and the diff --git a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/http/ClientHttpRequestCollectionOperationAspectTest.java b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/http/ClientHttpRequestCollectionOperationAspectTest.java index 7545dd2ff..92b5f92c9 100644 --- a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/http/ClientHttpRequestCollectionOperationAspectTest.java +++ b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/http/ClientHttpRequestCollectionOperationAspectTest.java @@ -87,7 +87,7 @@ public void restore() { public void testSuccessfulExecutionCollected() throws Exception { ClientHttpRequest request = new TestClientHttpRequest(HttpMethod.GET, - new URI("http://somewhere:7365/testExecutionCollected"), + new URI("https://somewhere:7365/testExecutionCollected"), createIdentityHttpHeaders(Arrays.asList("Req-Header1", "Req-Header2")), createMockClientHttpResponse(HttpStatus.OK, createIdentityHttpHeaders(Arrays.asList("Rsp-Header1", "Rsp-Header2")))); ClientHttpResponse response = request.execute(); @@ -103,7 +103,7 @@ public void testSuccessfulExecutionCollected() throws Exception { public void testFailedExecutionCollected() throws Exception { ClientHttpRequest request = new TestClientHttpRequest(HttpMethod.GET, - new URI("http://somewhere:7365/testExecutionCollected"), + new URI("https://somewhere:7365/testExecutionCollected"), createIdentityHttpHeaders(Arrays.asList("Req-Header1", "req-value1", "Req-Header2", "req-value2")), createMockClientHttpResponse(HttpStatus.GATEWAY_TIMEOUT, createIdentityHttpHeaders(Arrays.asList("Rsp-Header1", "Rsp-Header2")))); ClientHttpResponse response = request.execute(); @@ -144,7 +144,7 @@ private void runObfuscationTest(String testName, Collection hdrs, boolea HttpHeaders rspHdrs = createIdentityHttpHeaders(Collections.singletonList("WWW-Authenticate")); ClientHttpRequest request = new TestClientHttpRequest(HttpMethod.GET, - new URI("http://somewhere:7365/" + testName), + new URI("https://somewhere:7365/" + testName), reqHdrs, createMockClientHttpResponse(HttpStatus.OK, rspHdrs)); ClientHttpResponse response = request.execute(); diff --git a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorOperationCollectionAspectTest.java b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorOperationCollectionAspectTest.java index 451f550cc..4cf03fe63 100644 --- a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorOperationCollectionAspectTest.java +++ b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/remoting/HttpInvokerRequestExecutorOperationCollectionAspectTest.java @@ -51,7 +51,7 @@ public void testSuccessfulRemoteInvocation() throws Exception { invocation.setAttributes(Collections.singletonMap("testSuccessfulRemoteInvocation", (Serializable) Long.valueOf(System.currentTimeMillis()))); HttpInvokerClientConfiguration config = - createMockConfiguration(invocation.getMethodName(), "http://hello/world", "http://here/testSuccessfulRemoteInvocation"); + createMockConfiguration(invocation.getMethodName(), "https://hello/world", "https://here/testSuccessfulRemoteInvocation"); RemoteInvocationResult result = invoker.executeRequest(config, invocation); Operation op = assertRemotingOperation(config, invocation, result); ExternalResourceDescriptor desc = assertExternalResource(op); @@ -65,7 +65,7 @@ public void testFailedRemoteInvocation() throws Exception { invocation.setAttributes(Collections.singletonMap("testFailedRemoteInvocation", (Serializable) Long.valueOf(System.currentTimeMillis()))); HttpInvokerClientConfiguration config = - createMockConfiguration(invocation.getMethodName(), "http://goodbye/world", "http://there/testFailedRemoteInvocation"); + createMockConfiguration(invocation.getMethodName(), "https://goodbye/world", "https://there/testFailedRemoteInvocation"); RemoteInvocationResult result = invoker.executeRequest(config, invocation); Operation op = assertRemotingOperation(config, invocation, result); ExternalResourceDescriptor desc = assertExternalResource(op); diff --git a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/rest/RestOperationCollectionTestSupport.java b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/rest/RestOperationCollectionTestSupport.java index 447416b70..bd05d2cd3 100644 --- a/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/rest/RestOperationCollectionTestSupport.java +++ b/collection-plugins/spring-web/src/test/java/com/springsource/insight/plugin/springweb/rest/RestOperationCollectionTestSupport.java @@ -61,7 +61,7 @@ public void setUp() { } protected String createTestURI(String testName) { - return "http://37.77.34.7:7365/" + getClass().getSimpleName() + "/" + testName; + return "https://37.77.34.7:7365/" + getClass().getSimpleName() + "/" + testName; } protected Operation assertRestOperationResult(Object ignored) {