<groupId>org.onap.aai.gizmo</groupId>
<artifactId>gizmo</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.5.1-SNAPSHOT</version>
<name>aai-gizmo</name>
<properties>
<docker.location>${basedir}/target</docker.location>
<version.org.onap.aai.aai-schema-ingest>1.4.1</version.org.onap.aai.aai-schema-ingest>
- <version.org.onap.aai.aai-schema>1.5.0</version.org.onap.aai.aai-schema>
- <version.org.onap.aai.aai-utils>1.5.1</version.org.onap.aai.aai-utils>
- <version.org.onap.aai.aai-auth>1.5.1</version.org.onap.aai.aai-auth>
+ <version.org.onap.aai.aai-schema>1.5.1</version.org.onap.aai.aai-schema>
+ <version.org.onap.aai.aai-utils>1.5.3</version.org.onap.aai.aai-utils>
+ <version.org.onap.aai.aai-auth>1.5.3</version.org.onap.aai.aai-auth>
<event.client.version>1.5.0</event.client.version>
<!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
- <version>1.5.19.RELEASE</version>
+ <version>1.5.21.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
* ============LICENSE_END=========================================================
*/
package org.onap.crud.event.response;
-
import static org.assertj.core.api.Assertions.assertThat;
-import org.junit.BeforeClass;
+import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@RunWith(MockitoJUnitRunner.Silent.class)
public class GraphEventResponseHandlerTest extends OXMModelLoaderSetup {
+ private static boolean setUpIsNotDone = true;
@Rule
public ExpectedException expectedException = ExpectedException.none();
- @BeforeClass
- public static void setUpBeforeClass() throws Exception {
- System.setProperty("CONFIG_HOME", "src/test/resources");
- System.setProperty("AJSC_HOME", ".");
- System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local");
-
- OxmModelLoader.loadModels();
- EdgeRulesLoader.loadModels();
+ @Before
+ public void setUpOnce() throws Exception {
+ if (setUpIsNotDone) {
+ System.setProperty("CONFIG_HOME", "src/test/resources");
+ System.setProperty("AJSC_HOME", ".");
+ System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local");
+
+ OxmModelLoader.loadModels();
+ EdgeRulesLoader.loadModels();
+ setUpIsNotDone = false;
+ }
}
@Test