Zum Hauptinhalt springen

Apache IoTDB

Casdoor kann problemlos mit Apache IoTDB verbunden werden.

Apache IoTDB Web Workbench already includes Casdoor support. Configure the backend application.yml and enable the front-end switch.

Schritt 1: Casdoor bereitstellen

Deploy Casdoor. See Server installation. Ensure the server is running and you can sign in at the Casdoor login page.

Schritt 2: Casdoor konfigurieren

Create an organization and an application in Casdoor (see Application and Organization).

2.1 Eine Organisation erstellen

Organisation

2.2 Eine Anwendung erstellen

Anwendung

Schritt 3: Apache IoTDB Web Workbench Frontend-Schalter aktivieren

Öffnen Sie diesen Schalter, um den Code und den Status an das Backend zu senden.

Dieser Schalter befindet sich in der Datei iotdb-web-workbench/fronted/.env.

frontSwitch

Schritt 4: Backend-Code konfigurieren

Configure Casdoor in iotdb-web-workbench/backend/src/main/resources/application.properties.

casdoor.endpoint = http://localhost:8000
casdoor.clientId = <client id from previous step>
casdoor.clientSecret = <client secret from previous step>
casdoor.certificate=<client certificate from previous step>
casdoor.organizationName=IoTDB
casdoor.applicationName=app-IoTDB

Ergebnis

Ergebnis