From 591f278130ac54d136fad0c0256d2f50bdfb5f47 Mon Sep 17 00:00:00 2001 From: seshukm Date: Tue, 21 Aug 2018 06:34:49 +0800 Subject: Fixing the typo of application/json Issue-ID: OPTFRA-310 Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421 Signed-off-by: seshukm --- osdf/optimizers/routeopt/simple_route_opt.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/osdf/optimizers/routeopt/simple_route_opt.py b/osdf/optimizers/routeopt/simple_route_opt.py index 762ccea..f7524d4 100644 --- a/osdf/optimizers/routeopt/simple_route_opt.py +++ b/osdf/optimizers/routeopt/simple_route_opt.py @@ -22,15 +22,15 @@ from requests.auth import HTTPBasicAuth class RouteOpt: - """ - This values will need to deleted.. - only added for the debug purpose - """ + """ + This values will need to deleted.. + only added for the debug purpose + """ aai_host = "https:\\192.168.17.26:8443" aai_headers = { "X-TransactionId": "9999", "X-FromAppId": "OOF", - "Content-Type": "applicatoin/json", + "Content-Type": "application/json", "Real-Time": "true" } @@ -52,16 +52,16 @@ class RouteOpt: logical_links = self.get_logical_links() - """ - TODO: Logic to be extended for the repose filling - """ + """ + TODO: Logic to be extended for the repose filling + """ - def get_logical_links(self): + def get_logical_links(self): """ - This method returns list of all cross ONAP links - from /aai/v14/network/logical-links?operation-status="Up" - :return: logical-links[] + This method returns list of all cross ONAP links + from /aai/v14/network/logical-links?operation-status="Up" + :return: logical-links[] """ logical_link_url = "/aai/v14/network/logical-links?operation-status=\"Up\"" aai_req_url = self.aai_host + logical_link_url -- cgit 1.2.3-korg