Update runtime-api with refactored bp-gen
[dcaegen2/platform.git] / mod / runtimeapi / runtime-core / src / test / java / org / onap / dcae / runtime / core / BpGenTestBase.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * Copyright (C) 2020 Nokia. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ============LICENSE_END=========================================================
17  */
18
19 package org.onap.dcae.runtime.core;
20
21 import org.junit.runner.RunWith;
22 import org.onap.blueprintgenerator.BlueprintGeneratorConfiguration;
23 import org.onap.blueprintgenerator.service.BlueprintCreatorService;
24 import org.onap.blueprintgenerator.service.base.BlueprintService;
25 import org.onap.blueprintgenerator.service.base.FixesService;
26 import org.onap.blueprintgenerator.service.common.ComponentSpecService;
27 import org.springframework.beans.factory.annotation.Autowired;
28 import org.springframework.boot.context.properties.EnableConfigurationProperties;
29 import org.springframework.boot.test.context.SpringBootTest;
30 import org.springframework.test.context.junit4.SpringRunner;
31
32 @RunWith(SpringRunner.class)
33 @EnableConfigurationProperties
34 @SpringBootTest(classes = {BlueprintGeneratorConfiguration.class})
35 public class BpGenTestBase {
36     @Autowired
37     BlueprintService blueprintService;
38     @Autowired
39     ComponentSpecService componentSpecService;
40     @Autowired
41     BlueprintCreatorService blueprintCreatorService;
42     @Autowired
43     FixesService fixesService;
44 }