Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Letzte Überarbeitung Beide Seiten der Revision | |||
admin:uhstat [2023/06/21 11:52] oesi angelegt |
admin:uhstat [2023/06/21 13:08] oesi |
||
---|---|---|---|
Zeile 13: | Zeile 13: | ||
Die Daten werden über die SOBIS Schnittstelle an BIS übermittelt und von dort an die Statistik Austria weitergeleitet. | Die Daten werden über die SOBIS Schnittstelle an BIS übermittelt und von dort an die Statistik Austria weitergeleitet. | ||
+ | Folgende Schritte sind für die Einrichtung der Schnittstelle nötig: | ||
+ | * ListenpunktInstallation der Extension FHC-Core-BIS | ||
+ | * Erstellen eines neuen Benutzers zb fhcomplete im BIS Portal | ||
+ | * Zuordnung der Berechtigungen zu dem neuen User | ||
+ | * Applikation "UHSTAT0 Meldung" und "UHSTAT1 Meldung" | ||
+ | * Rolle: Schreiben | ||
+ | * Config erstellen | ||
+ | <file php BISCient.php> | ||
+ | $config['active_connection'] = 'PRODUCTION'; // the used configuration set of the chosen connection | ||
+ | |||
+ | // Example of a configuration set. All parameters are required! | ||
+ | $config['bis_connections'] = array( | ||
+ | 'PRODUCTION' => array( | ||
+ | 'protocol' => 'https', | ||
+ | 'host' => 'bis.ac.at', | ||
+ | 'path' => 'SOBIS', | ||
+ | 'username' => '005\fhcomplete', | ||
+ | 'password' => 'passwort' | ||
+ | ), | ||
+ | 'TESTING' => array( | ||
+ | 'protocol' => 'https', | ||
+ | 'host' => 'test.bis.ac.at', | ||
+ | 'path' => 'SOBIS', | ||
+ | 'username' => '005\fhcomplete', | ||
+ | 'password' => 'xxxx' | ||
+ | ) | ||
+ | ); | ||
+ | </file> | ||
+ | |||
+ | <file php BISSync.php> | ||
+ | |||
+ | $config['fhc_bis_studiensemester_meldezeitraum'] = array( | ||
+ | 'SS2023' => array( | ||
+ | 'von' => '2023-01-01', // sync students of summer semester from this date | ||
+ | 'bis' => '2023-11-15' // to this date | ||
+ | ), | ||
+ | 'WS2023' => array( | ||
+ | 'von' => '2023-07-01', // sync students of winter semester from this date | ||
+ | 'bis' => '2024-04-15' // to this date | ||
+ | ) | ||
+ | ); | ||
+ | </file> | ||
+ | |||
+ | * Scheduler starten: | ||
+ | <code>php index.ci.php extensions/FHC-Core-BIS/jobs/JQMScheduler/sendUHSTAT0</code> | ||
+ | |||
+ | * Job starten: | ||
+ | <code>php index.ci.php extensions/FHC-Core-BIS/jobs/BISManagement/sendUHSTAT0</code> | ||
+ | |||
+ | * Logs prüfen unter /index.ci.php/system/LogsViewer | ||
====== UHSTAT 1 ====== | ====== UHSTAT 1 ====== |