Adaptations due to PR comments
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
This commit is contained in:
@@ -10,6 +10,9 @@ package org.eclipse.hawkbit.repository;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @param <T> the parameter of the class
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Identifiable<T extends Serializable> {
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ public abstract class AbstractRestIntegrationTest extends AbstractIntegrationTes
|
||||
protected DefaultMockMvcBuilder createMvcWebAppContext(final WebApplicationContext context) {
|
||||
final DefaultMockMvcBuilder createMvcWebAppContext = MockMvcBuilders.webAppContextSetup(context);
|
||||
|
||||
// CharacterEncodingFilter is needed for the encoding properties to be imported properly
|
||||
createMvcWebAppContext.addFilter(characterEncodingFilter);
|
||||
createMvcWebAppContext.addFilter(
|
||||
new ExcludePathAwareShallowETagFilter("/rest/v1/softwaremodules/{smId}/artifacts/{artId}/download",
|
||||
|
||||
@@ -41,7 +41,6 @@ import io.qameta.allure.Story;
|
||||
"hawkbit.server.security.cors.allowedOrigins=" + CorsTest.ALLOWED_ORIGIN_FIRST + "," + CorsTest.ALLOWED_ORIGIN_SECOND})
|
||||
@TestExecutionListeners(listeners = { MySqlTestDatabase.class, MsSqlTestDatabase.class },
|
||||
mergeMode = MergeMode.MERGE_WITH_DEFAULTS)
|
||||
@DirtiesContext
|
||||
@Feature("Integration Test - Security")
|
||||
@Story("CORS")
|
||||
public class CorsTest {
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -150,8 +150,6 @@
|
||||
<vaadin.spring.version>3.2.1</vaadin.spring.version>
|
||||
<vaadin.spring.addon.version>2.0.0.RELEASE</vaadin.spring.addon.version>
|
||||
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
|
||||
<vaadin.addon.vaadin-lazyquerycontainer.version>7.6.1.3</vaadin.addon.vaadin-lazyquerycontainer.version>
|
||||
<vaadin.addon.flexibleoptiongroup.version>2.2.0</vaadin.addon.flexibleoptiongroup.version>
|
||||
<vaadin.addon.dbar-addon.version>3.0.1</vaadin.addon.dbar-addon.version>
|
||||
<vaadin.gwt-api.version>1.3.0</vaadin.gwt-api.version>
|
||||
<vaadin.gwt-user.version>2.8.2</vaadin.gwt-user.version>
|
||||
|
||||
Reference in New Issue
Block a user