commit | f14578b9c5d9a98cceb5342d69b0326289b1690c | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Sat Jul 27 08:20:17 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Mon Jul 29 15:30:06 2019 -0400 |
tree | 74af4f4e2de4e4b64b01d31b914ace84431dc8df | |
parent | 4513f428543dbd09f855fdd392d90d628f5d403e [diff] |
Add addTopic(List<TopicParams>) New services are typically configured using TopicParameters. These are converted into Properties before being passed to TopicEndpoint.addTopic(), which then converts them into BusTopicParams before configuring a given topic. Added TopicEndpoint.addTopic(List<TopicParams>), which makes it possible to configure the topics without going into the intermediate Properties. Furthermore, because TopicParams is a subclass of BusTopicParams, no conversion is needed for that either, so the TopicParams can be passed directly into the configuration classes. Incorporated changes from review. Change-Id: Id87e2c6812e36ae1a3ac680e6b35208667971782 Issue-ID: POLICY-1953 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: