diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-11-01 14:40:25 +0000 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-11-08 13:31:04 +0000 |
commit | 337c8d436186d87742caefc95aeee7ba2a36b687 (patch) | |
tree | 28e45ec083dac7b7e625b87189328b5082d2bc18 /cps-service/src/test/groovy/org/onap | |
parent | 375281167c3792a70eee0bafa21364f184aebd86 (diff) |
Node API - GET Method performance issue
- Modified toDataNode call based on fetch descendants option.
- Used fragment extract to build fragment entity.
- Modified data set to have correct parent id for descendants.
Reviewers : Toine, Priyank and Joe
Issue-ID: CPS-1171
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I27a537fe72dd396722e6cfde7d8c454ed2579ec0
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-service/src/test/groovy/org/onap')
-rw-r--r-- | cps-service/src/test/groovy/org/onap/cps/notification/NotificationPublisherSpec.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-service/src/test/groovy/org/onap/cps/notification/NotificationPublisherSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/notification/NotificationPublisherSpec.groovy index f215c6dc09..6cd9ae1b20 100644 --- a/cps-service/src/test/groovy/org/onap/cps/notification/NotificationPublisherSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/notification/NotificationPublisherSpec.groovy @@ -1,7 +1,8 @@ /* * ============LICENSE_START======================================================= * Copyright (C) 2021 Bell Canada. All rights reserved. - * ================================================================================ + * Modifications Copyright (C) 2021-2022 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 @@ -20,7 +21,6 @@ package org.onap.cps.notification import org.apache.kafka.clients.producer.ProducerRecord -import org.apache.kafka.clients.producer.RecordMetadata import org.onap.cps.event.model.Content import org.onap.cps.event.model.CpsDataUpdatedEvent import org.spockframework.spring.SpringBean |