Commit a605bd00 authored by Guillermo Sanz López's avatar Guillermo Sanz López
Browse files

mock invoker id

parent a50c4cf9
Loading
Loading
Loading
Loading
+28 −28
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ class Operations:
            for security_context in security_contexts:
                json_security_contexts.append(security_context)

        json_data = [
            json_data1 = [
                {
                    "api_invoker_id": "INVdae63404f66b428f123c6f0a81fe7b",
                    "notification_destination": "https://mynotificationdest.com",
@@ -103,12 +103,12 @@ class Operations:
                }
            ]

        return jsonify(json_data), 200
            return jsonify(json_data1), 200
            #return jsonify(message="Security context retrieved succesfully",
            #               object=json_security_contexts), 200

        #except Exception as e:
        #    return "Error when retreiving invoker list: ", e
        except Exception as e:
            return "Error when retreiving invoker list: ", e

    def get_providers(self):