aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-10-07 07:56:47 +0200
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2019-10-07 07:56:47 +0200
commitb81ba265a65bf7950bf256ff2473b02332a54d55 (patch)
treec10159c1d2d7de638131a3e2d29d8ef851e05fc5 /tests
parent72b4bc7eb109847c023ffed5d26b0a832730dea5 (diff)
Revert path for service instance
Issue-ID: INT-1181 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ieb86cb928ca056ca982e8e7640bdca5ab1f6a470
Diffstat (limited to 'tests')
-rw-r--r--tests/dcaegen2/prh-testcases/resources/simulator/AAI.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py b/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
index eeb08265..d94ec1a1 100644
--- a/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
+++ b/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
@@ -124,9 +124,9 @@ class AAIHandler(BaseHTTPRequestHandler):
else:
httpServerLib.set_response_404_not_found(self)
logger.info('AAIHandler GET /aai/v12/network/logical-links/logical-link/' + logical_link_name + ' -> 404 Not found, actual link: ' + created_logical_link)
- elif re.search('aai/v12/network/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/bbs_service', self.path):
+ elif re.search('aai/v12/network/pnfs/pnf/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/bbs_service', self.path):
httpServerLib.set_response_200_ok(self, payload = json.dumps(service_instance).encode('utf-8'))
- logger.debug('AAIHandler GET aai/v12/network/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/bbs_service -> 200 OK')
+ logger.debug('AAIHandler GET aai/v12/network/pnfs/pnf/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/bbs_service -> 200 OK')
else:
httpServerLib.set_response_404_not_found(self)
logger.info('AAIHandler GET ' + self.path + ' -> 404 Not found')