X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=near-rt-ric-simulator%2Fnearric-service%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fnearric%2Fsimulator%2Fconfig%2FApplicationConfig.java;fp=near-rt-ric-simulator%2Fnearric-service%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fnearric%2Fsimulator%2Fconfig%2FApplicationConfig.java;h=3c634cc4db4b5655fe3cc81427d475fc6945a80a;hb=49a8fd46e851049849cc1535ecce01ced9c8a4bd;hp=0000000000000000000000000000000000000000;hpb=75120888e086df9841c67fbec92f1ec3be744a65;p=nonrtric.git diff --git a/near-rt-ric-simulator/nearric-service/src/main/java/org/onap/nearric/simulator/config/ApplicationConfig.java b/near-rt-ric-simulator/nearric-service/src/main/java/org/onap/nearric/simulator/config/ApplicationConfig.java new file mode 100644 index 00000000..3c634cc4 --- /dev/null +++ b/near-rt-ric-simulator/nearric-service/src/main/java/org/onap/nearric/simulator/config/ApplicationConfig.java @@ -0,0 +1,43 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2019 Nordix Foundation. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.nearric.simulator.config; + +import java.util.HashMap; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * This class provides all the configuration for the Spring boot application + * + * @author lathishbabu.ganesan@est.tech + * + */ +@Configuration +public class ApplicationConfig { + + private final HashMap policyTypeCache = new HashMap<>(); + + @Bean + public HashMap getPolicyTypeCache() { + return policyTypeCache; + } + +}