aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorNicolasLaplaud <nicolas.laplaud@orange.com>2018-07-13 11:08:16 +0200
committerNicolasLaplaud <nicolas.laplaud@orange.com>2018-07-16 10:58:43 +0200
commit04ec0d3d8dbce788be1ec1fec405bd77c0d39bf4 (patch)
tree19f3e08e78353855886799e294637b7f2ea21607 /src/main
parentd46f9e5e04452a2cd66d1260e1f28ed6e9aea429 (diff)
HUB Resource
- adding SubscriberNotifier based on event types - storing subscriptions - merge Change-Id: I2290dd7afea10cd95bb7ec2b62fbb81031c4cef4 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/nbi/Application.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/onap/nbi/Application.java b/src/main/java/org/onap/nbi/Application.java
index 05588b4..e9fcc2d 100644
--- a/src/main/java/org/onap/nbi/Application.java
+++ b/src/main/java/org/onap/nbi/Application.java
@@ -15,8 +15,11 @@
*/
package org.onap.nbi;
+import org.onap.nbi.apis.hub.service.CriteriaBuilder;
+import org.onap.nbi.apis.hub.service.CriteriaBuilderServiceOrder;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication
@@ -27,4 +30,9 @@ public class Application {
SpringApplication.run(Application.class, args);
}
+ @Bean
+ CriteriaBuilder criteriaBuilder() {
+ return new CriteriaBuilderServiceOrder();
+ }
+
}