Bug 39049 - Document App Center API for CSP access
Document App Center API for CSP access
Status: RESOLVED WONTFIX
Product: UCS extended documentation
Classification: Unclassified
Component: Installation
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Docu maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-30 13:56 CEST by Erik Damrose
Modified: 2024-04-17 13:16 CEST (History)
3 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): Roadmap discussion (moved)
Max CVSS v3 score:


Attachments
small script to get app information (519 bytes, text/x-python)
2015-07-31 15:58 CEST, Erik Damrose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2015-07-30 13:56:29 CEST
Service providers require certain app information. We already document ways to list available apps. In addition, the app center python code allows to access information from each app ini file, e.g.

#!/usr/bin/python2.7
from univention.management.console.modules.appcenter.app_center import Application
app = Application.find(APPID)
print app.name
print app.component_id
print app.raw_config.get('Sizing: 10', 'CPU')
Comment 1 Cord Martens univentionstaff 2015-07-31 11:30:37 CEST
It would be very helpful to generate an easy report about all .ini files to receive information about conflicts,, sizing ... and other parameters.
Comment 2 Erik Damrose univentionstaff 2015-07-31 15:58:52 CEST
Created attachment 7076 [details]
small script to get app information

Attached is a small python script which can be used to gather app information from a given app id. To be executed on a UCS 4 system.

get-app-info <appid>

If no appid is given, a list of possible values is printed
Comment 3 Stefan Gohmann univentionstaff 2015-08-12 15:55:21 CEST
I guess, we need an external web API.
Comment 4 Nico Gulden univentionstaff 2024-04-17 13:16:43 CEST
This bug hasn't seen any update for several years. I close it.

If you still see a need for it, you can reopen the bug. Please add an argumentation about why it's important to take care of it.