From: seshukm Date: Mon, 20 Aug 2018 22:34:49 +0000 (+0800) Subject: Fixing the typo of application/json X-Git-Tag: 1.2.1~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=591f278130ac54d136fad0c0256d2f50bdfb5f47;p=optf%2Fosdf.git Fixing the typo of application/json Issue-ID: OPTFRA-310 Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421 Signed-off-by: seshukm --- 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