Bug 38742 - App Appliances and UCS activation
App Appliances and UCS activation
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: General
UCS 4.0
Other Linux
: P5 enhancement (vote)
: UCS 4.0-2-errata
Assigned To: Dirk Wiesenthal
Stefan Gohmann
:
Depends on:
Blocks: 38547
  Show dependency treegraph
 
Reported: 2015-06-22 17:28 CEST by Alexander Kläser
Modified: 2015-07-29 12:57 CEST (History)
9 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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