(App) Add support for app types

Registered by Morten Olav Hansen on 2015-05-12

We should support several kinds of apps by having a type parameter added to the manifest.

Candiates might be:

1. App: default if nothing is provided.

2. Resource: mainly used for resource bundles / common resources (for other apps / custom forms / html reports), should not be listed in app menu.

3. Dashboard widget.

4. Tracker dashboard widget.

--

- Add a enum AppType with APP, RESOURCE, TRACKER_DASHBOARD, DATA_DASHBOARD.

- Use query service to allow client to filter on app type.

Blueprint information

Status:
Complete
Approver:
Morten Olav Hansen
Priority:
High
Drafter:
Morten Olav Hansen
Direction:
Approved
Assignee:
Viet Nguyen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.23
Started by
Viet Nguyen on 2016-03-03
Completed by
Viet Nguyen on 2016-03-23

Related branches

Sprints

Whiteboard

Document for app endpoint
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s65.html

Document for creating an App with appType
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch02s02.html

The apps list can be filtered by app type and by name, by appending one or more filter parameters to the URL:
http://server.com/api/apps?filter=appType:eq:DASHBOARD_APP&filter=name:ilike:youtube
App names support the eq and ilike filter operators, while appType supports eq only.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.