diff options
author | Luke Gleeson <luke.gleeson@est.tech> | 2023-01-31 11:41:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-01-31 11:41:54 +0000 |
commit | 447c872eb3c9bd57631127651bc9744c5c1a8643 (patch) | |
tree | 9c2e17873cb6f77001ad5c25b301e00632e45c1c /integration-test/src/test/groovy | |
parent | afc6055b34af379ab3dd5895d0ecd1ff63a7c9dd (diff) | |
parent | 0fa2fabeec18763bab060d85f5123bceff8ee34c (diff) |
Merge "Introduce Instrumentation"
Diffstat (limited to 'integration-test/src/test/groovy')
-rw-r--r-- | integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy index 33283f1f82..0e04d62dd8 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/TestConfig.groovy @@ -36,6 +36,8 @@ import org.onap.cps.spi.repository.SchemaSetRepository import org.onap.cps.spi.repository.YangResourceRepository import org.onap.cps.spi.utils.SessionManager import org.onap.cps.utils.JsonObjectMapper +import org.onap.cps.utils.TimedYangParser +import org.onap.cps.yang.TimedYangTextSchemaSourceSetBuilder import org.springframework.beans.factory.annotation.Autowired import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration @@ -78,10 +80,6 @@ class TestConfig extends Specification{ @Autowired @Lazy - NotificationService stubbedNotificationService - - @Autowired - @Lazy SessionManager stubbedSessionManager @Bean @@ -113,4 +111,15 @@ class TestConfig extends Specification{ SessionManager sessionManager() { return Stub(SessionManager) } -}
\ No newline at end of file + + @Bean + TimedYangParser timedYangParser() { + return new TimedYangParser() + } + + @Bean + TimedYangTextSchemaSourceSetBuilder textSchemaSourceSetBuilder() { + return new TimedYangTextSchemaSourceSetBuilder() + } + +} |