Moved a link a in tests placeholder strings from http to https #20783

This commit is contained in:
Luca Frosini 2021-02-22 09:46:00 +01:00
parent d98303c28d
commit 8822d1a40b
4 changed files with 7 additions and 7 deletions

View File

@ -123,12 +123,12 @@ public class ERManagementTest extends ContextTest {
public void testCreatePropertyTypeNotInSchema() throws Exception { public void testCreatePropertyTypeNotInSchema() throws Exception {
AccessPointFacet accessPointFacet = new AccessPointFacetImpl(); AccessPointFacet accessPointFacet = new AccessPointFacetImpl();
accessPointFacet.setEndpoint(new URI("http://localhost")); accessPointFacet.setEndpoint(new URI("https://localhost"));
accessPointFacet.setEntryName("port1"); accessPointFacet.setEntryName("port1");
ValueSchema authorization = new ValueSchemaImpl(); ValueSchema authorization = new ValueSchemaImpl();
authorization.setValue("pwd"); authorization.setValue("pwd");
URI uri = new URI("http://www.gcube-system.org"); URI uri = new URI("https://www.gcube-system.org");
authorization.setSchema(uri); authorization.setSchema(uri);
accessPointFacet.setAuthorization(authorization); accessPointFacet.setAuthorization(authorization);
@ -211,7 +211,7 @@ public class ERManagementTest extends ContextTest {
eService.addFacet(isIdentifiedBy); eService.addFacet(isIdentifiedBy);
AccessPointFacet accessPointFacet = new AccessPointFacetImpl(); AccessPointFacet accessPointFacet = new AccessPointFacetImpl();
accessPointFacet.setEndpoint(new URI("http://localhost")); accessPointFacet.setEndpoint(new URI("https://localhost"));
accessPointFacet.setEntryName("port1"); accessPointFacet.setEntryName("port1");
eService.addFacet(accessPointFacet); eService.addFacet(accessPointFacet);
@ -902,7 +902,7 @@ public class ERManagementTest extends ContextTest {
/* /*
AccessPointFacet accessPointFacet = new AccessPointFacetImpl(); AccessPointFacet accessPointFacet = new AccessPointFacetImpl();
accessPointFacet.setEndpoint(new URI("http://localhost")); accessPointFacet.setEndpoint(new URI("https://localhost"));
accessPointFacet.setEntryName("port1"); accessPointFacet.setEntryName("port1");
eService.addFacet(accessPointFacet); eService.addFacet(accessPointFacet);

View File

@ -225,7 +225,7 @@ public class BasicTest extends MultiContextTest {
eService.addFacet(isIdentifiedBy); eService.addFacet(isIdentifiedBy);
AccessPointFacet accessPointFacet = new AccessPointFacetImpl(); AccessPointFacet accessPointFacet = new AccessPointFacetImpl();
accessPointFacet.setEndpoint(new URI("http://localhost")); accessPointFacet.setEndpoint(new URI("https://localhost"));
accessPointFacet.setEntryName("port1"); accessPointFacet.setEntryName("port1");
eService.addFacet(accessPointFacet); eService.addFacet(accessPointFacet);

View File

@ -81,7 +81,7 @@ public class EnhancedTest extends MultiContextTest {
eService.addFacet(isIdentifiedBy); eService.addFacet(isIdentifiedBy);
AccessPointFacet accessPointFacet = new AccessPointFacetImpl(); AccessPointFacet accessPointFacet = new AccessPointFacetImpl();
accessPointFacet.setEndpoint(new URI("http://localhost")); accessPointFacet.setEndpoint(new URI("https://localhost"));
accessPointFacet.setEntryName("port1"); accessPointFacet.setEntryName("port1");
eService.addFacet(accessPointFacet); eService.addFacet(accessPointFacet);