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
9 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
19 package org.onap.dcae.runtime.core;
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;
32 @RunWith(SpringRunner.class)
33 @EnableConfigurationProperties
34 @SpringBootTest(classes = {BlueprintGeneratorConfiguration.class})
35 public class BpGenTestBase {
37 BlueprintService blueprintService;
39 ComponentSpecService componentSpecService;
41 BlueprintCreatorService blueprintCreatorService;
43 FixesService fixesService;