diff options
author | Tony Hansen <tony@att.com> | 2018-02-23 21:42:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-23 21:42:31 +0000 |
commit | b1fd860018c6c944416ad5ec3ed97377d0c13735 (patch) | |
tree | adff631bf134563fdf9a0620f920f576b06fe72e | |
parent | ec244fb888c49beb3a8d24d3fc1b660ff144c4b3 (diff) | |
parent | 8b98cdb87ad811c8fb5f0611471140f810728850 (diff) |
Merge "fixed dcaegen2-363"
-rw-r--r-- | docker/dockerplugin/tasks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/dockerplugin/tasks.py b/docker/dockerplugin/tasks.py index ff2f2af..899f4ed 100644 --- a/docker/dockerplugin/tasks.py +++ b/docker/dockerplugin/tasks.py @@ -451,6 +451,8 @@ def _update_delivery_url(**kwargs): for dr_sub in dr_subs: scheme = dr_sub["scheme"] if "scheme" in dr_sub else DEFAULT_SCHEME + if "route" not in dr_sub: + raise NonRecoverableError("'route' key missing from data router subscriber") path = dr_sub["route"] dr_sub["delivery_url"] = "{scheme}://{host}/{path}".format( scheme=scheme, host=subscriber_host, path=path) |