aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/clamp/clds/AbstractIT.java
blob: 873c852adc6ab070e2e3d38e9110d0720a001bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.onap.clamp.clds;

import org.junit.BeforeClass;
import org.onap.clamp.clds.client.PolicyClient;
import org.onap.clamp.clds.model.refprop.RefProp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;

/**
 * Created by j on 6/16/17.
 */
@ActiveProfiles("clamp-default")
public abstract class AbstractIT {

    @Autowired
    protected RefProp refProp;
    @Autowired
    protected PolicyClient policyClient;

    @BeforeClass
    public static void oneTimeSetUp() {
        System.setProperty("AJSC_CONF_HOME", System.getProperty("user.dir") + "/src/it/resources/");
        System.setProperty("CLDS_DCAE_URL", "http://localhost:13786/cl-dcae-services");
    }
}