Bug 47623 - library to upload OneRoster files to Apple School Manager server
library to upload OneRoster files to Apple School Manager server
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Apple School Manager
UCS@school 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Jürn Brodersen
Daniel Tröder
:
Depends on:
Blocks: 47620 47624
  Show dependency treegraph
 
Reported: 2018-08-21 09:17 CEST by Daniel Tröder
Modified: 2018-11-19 17:44 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2018-08-21 09:17:59 CEST
The ASM app will have to upload ZIP packaged CSV files to the Apple School Manager server. Create a library to facilitate that.

+++ This bug was initially created as a clone of Bug #47620 +++

Create an app that allows uploading ZIP compressed CSV files to the Apple School Manager server to synchronize UCS@schoool users to Apple.

* create an app that can be installed on DC master and DC backup
* the apps configuration should be done with UCR variables
* use app settings as configuration wizard (to set the UCR variables)
* create scripts for cronjobs for daily uploads

This is a meta bug to track dependent bugs.
Comment 1 Daniel Tröder univentionstaff 2018-09-07 10:06:23 CEST
Please write a ucs-test that uploads a generated ZIP file to localhost and compares the original and the upload.
Comment 2 Daniel Tröder univentionstaff 2018-09-11 14:23:05 CEST
Add a command line option to save the uploaded ZIP file at a path+filename of the users choosing.
Comment 3 Jürn Brodersen univentionstaff 2018-09-13 11:37:02 CEST
Test has been added.

Zip files can be stored under /var/lib/asm (Activate through app settings). Do you think the path needs to be configured?
Comment 4 Daniel Tröder univentionstaff 2018-09-18 17:04:49 CEST
OK: UCRV-switch if the ZIP file should be kept, and where.

(In reply to Jürn Brodersen from comment #3)
> Test has been added.
Excellent.

> Zip files can be stored under /var/lib/asm (Activate through app settings).
> Do you think the path needs to be configured?
No - that's fine.

Good security choice, delivering Apples SSH-key with the package!
I scanned for other keys, but AFAIK the ECDSA is not recommended, so good choice with the RSA-key too.
Comment 5 Daniel Tröder univentionstaff 2018-11-19 17:44:53 CET
App v1.1 has been released: https://www.univention.com/products/univention-app-center/app-catalog/apple-school-manager/