Bug 38742

Summary: App Appliances and UCS activation
Product: UCS Reporter: Alexander Kläser <klaeser>
Component: GeneralAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED WORKSFORME QA Contact: Stefan Gohmann <gohmann>
Severity: enhancement    
Priority: P5 CC: best, da, damrose, gohmann, gulden, klaeser, kramer, walkenhorst, wiesenthal
Version: UCS 4.0   
Target Milestone: UCS 4.0-2-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=38682
What kind of report is it?: --- 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:
Bug Depends on:    
Bug Blocks: 38547    

Description Alexander Kläser univentionstaff 2015-06-22 17:28:22 CEST
In order to implement the app appliance activation (cf., Bug 38547), we need our app-center service to support cross-origin resource sharing for notifying vendors about app installations:

http://en.wikipedia.org/wiki/Cross-origin_resource_sharing

The idea here is that the browser will directly send the POST request via JavaScript to the app center repository noted in the UCRV repository/app_center/server. As this is a cross domain request, the license server needs to return the following HTTP headers for this command in order to tell the browser that the request is fine:

Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST

The corresponding python code can be found in:

> management/univention-management-console-module-appcenter/umc/python/appcenter/app_center.py → _send_information()

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

It is required that we inform the ISV if someone installed the App of the ISV. This also applies to the App appliances.

After the installation / configuration of the App appliance, we should show a pop-up which points to the activation. After a few days (one or two) UMC should only allow to activate UCS.

Once the system is activated, a notification should be sent to the ISV through our normal notification system.
Comment 1 Dirk Wiesenthal univentionstaff 2015-06-23 12:24:49 CEST
Sorry, Bug #38547#c13 is wrong, GET works. I tested it with invalid values and thought it failed because of the GET. So, no need to adjust anything here.
Comment 2 Stefan Gohmann univentionstaff 2015-07-01 20:25:05 CEST
OK