Skip to content

Commit 8a21897

Browse files
Revert "feat(Vulnerability): Added svm link for external id"
This reverts commit 0d90c74.
1 parent 0d90c74 commit 8a21897

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/Sw360ResourceServer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public class Sw360ResourceServer extends SpringBootServletInitializer {
103103
private static final String SERVER_PATH_URL;
104104
private static final String APPLICATION_NAME = "/resource";
105105
private static final Map<Object, Object> versionInfo;
106-
public static final String SVM_NOTIFICATION_URL;
107106

108107
static {
109108
Properties props = CommonUtils.loadProperties(Sw360ResourceServer.class, SW360_PROPERTIES_FILE_PATH);
@@ -122,7 +121,6 @@ public class Sw360ResourceServer extends SpringBootServletInitializer {
122121
CONFIG_WRITE_ACCESS_USERGROUP = UserGroup.valueOf(props.getProperty("rest.write.access.usergroup", DEFAULT_WRITE_ACCESS_USERGROUP));
123122
CONFIG_ADMIN_ACCESS_USERGROUP = UserGroup.valueOf(props.getProperty("rest.admin.access.usergroup", DEFAULT_ADMIN_ACCESS_USERGROUP));
124123
SERVER_PATH_URL = props.getProperty("backend.url", "http://localhost:8080");
125-
SVM_NOTIFICATION_URL = props.getProperty("svm.notification.url", "");
126124

127125
versionInfo = new HashMap<>();
128126
Properties properties = CommonUtils.loadProperties(Sw360ResourceServer.class, VERSION_INFO_PROPERTIES_FILE, false);

rest/resource-server/src/main/java/org/eclipse/sw360/rest/resourceserver/configuration/SW360ConfigurationsService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public Map<String, String> getSW360ConfigFromProperties() {
5454
configFromProperties.put("rest.apitoken.read.validity.days", String.valueOf(Sw360ResourceServer.API_TOKEN_MAX_VALIDITY_READ_IN_DAYS));
5555
configFromProperties.put("rest.apitoken.write.validity.days", String.valueOf(Sw360ResourceServer.API_TOKEN_MAX_VALIDITY_WRITE_IN_DAYS));
5656
configFromProperties.put("ui.rest.apitoken.write.generator.enable", String.valueOf(Sw360ResourceServer.API_WRITE_TOKEN_GENERATOR_ENABLED));
57-
configFromProperties.put("svm.notification.url", String.valueOf(Sw360ResourceServer.SVM_NOTIFICATION_URL));
5857
return configFromProperties;
5958
}
6059

0 commit comments

Comments
 (0)