myMsbClient.enableDebug(True)
    myMsbClient.enableTrace(False)
    myMsbClient.enableDataFormatValidation(True)
    myMsbClient.disableAutoReconnect(False)
    myMsbClient.setReconnectInterval(10000)
    myMsbClient.disableEventCache(False)
    myMsbClient.setEventCacheSize(1000)
    myMsbClient.disableHostnameVerification(True)

    myMsbClient.addMetaData(
        CustomMetaData(
            "SEN",
            "Sensor - device which, when excited by a physical phenomenon, produces an electric signal characterizing the physical phenomenon",
            TypeDescription(
                TypeDescriptor.CDD,
                "0112/2///61360_4#AAA103#001",
                "https://cdd.iec.ch/cdd/iec61360/iec61360.nsf/2a050a792eee78e1c12575560054b803/219d27329351ec25c1257dd300515f69",
            ),
        ))

    myMsbClient.addMetaData(
        CustomMetaData(
            "Fine Particle Sensor",
            "Sensor which measures fine particles",
            TypeDescription(TypeDescriptor.CUSTOM,
                            "0112/2///61360_4#AAA103#001-FEIN", ""),
        ))

    myMsbClient.addMetaData(
        CustomMetaData(
            "MUP",
    # parameter 6 (bool:optional): True if payload is an array of parameter 4
    event1 = Event("EVENT1", "Event1", "Event1_description", DataType.STRING,
                   1)

    # print(myMsbClient.objectToJson(event1))

    # event1.addMetaData("Temperatur",
    #                    MetaDataDefinition())

    myMsbClient.addMetaData(
        CustomMetaData(
            "Temperatursensor",
            "Temperatursensor",
            TypeDescription(
                TypeDescriptor.CDD,
                "0112/2///61987#ABT514#001",
                "https://cdd.iec.ch/cdd/iec61987/iec61987.nsf/ListsOfUnitsAllVersions/0112-2---61987%23ABT514",
            ),
        ))

    event1.addMetaData(
        CustomMetaData(
            "Temperatur",
            "Umgebungstemperatur",
            TypeDescription(
                TypeDescriptor.CDD,
                "0112/2///61987#ABT514#001",
                "https://cdd.iec.ch/cdd/iec61987/iec61987.nsf/ListsOfUnitsAllVersions/0112-2---61987%23ABT514",
            ),
            "/EVENT1",
        ))
    msb_url = "wss://192.168.0.67:8084"

    myMsbClient.enableDebug(True)
    myMsbClient.enableTrace(False)
    myMsbClient.enableDataFormatValidation(True)
    myMsbClient.disableAutoReconnect(False)
    myMsbClient.setReconnectInterval(10000)
    myMsbClient.disableEventCache(False)
    myMsbClient.setEventCacheSize(1000)
    myMsbClient.disableHostnameVerification(True)

    myMsbClient.addMetaData(
        CustomMetaData(
            "Verfication Service",
            "A service which verifies the authenticity of a specific property",
            TypeDescription(TypeDescriptor.CUSTOM, "verification_service",
                            ""), "/", "verification_service", None))

    myMsbClient.addMetaData(
        CustomMetaData(
            "CPU_SPEED Verification", "Verifies CPU_SPEED property",
            TypeDescription(TypeDescriptor.CUSTOM, "property_verification",
                            ""), "/verification", "CPU_SPEED", None))

    myMsbClient.addMetaData(
        CustomMetaData(
            "STORAGE_SPEED Verification", "Verifies STORAGE_SPEED property",
            TypeDescription(TypeDescriptor.CUSTOM, "property_verification",
                            ""), "/verification", "STORAGE_SPEED", None))

    def f_func1():
        print("FUNCTION1")
                # service_flows = col_flows.find_one({"serviceUuid": uuid}, projection={"_id": False})
                results = col_flows.find_one({"serviceUuid": uuid},
                                             {"_id": False})
                return jsonify(results)
                # else:
                #     service_flows = col_flows.insert_one(entity_flow, projection={"_id": False})
                #     return service_flows
            else:
                # print(resp)
                return {}

    myMsbClient.addMetaData(
        CustomMetaData(
            "authentication_service",
            "A service which authenticates CPPS",
            TypeDescription(TypeDescriptor.CUSTOM, "authentication_service",
                            ""),
        ))

    def requestSelfdescription(serviceUuid):
        myMsbClient.publish("SELFDESCRIPTION_REQUEST", "", 1, False, None,
                            serviceUuid)

    e_selfdescriptionRequest = Event(
        "SELFDESCRIPTION_REQUEST",
        "Request for selfdescription",
        "Request for selfdescription",
        DataType.STRING,
        1,
        False,
    )
    myMsbClient.addEvent(e_selfdescriptionRequest)