...
Term | Description |
---|---|
View Name | The name of the view. The view name identifies the view to Ambari. |
View Version | The version of the view. A unique view name can have multiple versions deployed in Ambari. |
View Package | This is the JAR package that contains the view definition and all view resources (server-side classes + dependencies resources and client-side assets) for a given version. See View Package for more information on the contents and structure of the package. |
View Definition | This defines the view name, version, resources and required/optional configuration parameters for a view. The view definition file is included in the view package. See View Definition for more information on the view definition file syntax and features. |
View Instance | An unique instance of a view, that is based on a view definition and specific version that is configured. See Versions and Instances for more information. |
View API | The REST API for viewing the list of deployed views and creating view instances. See View API for more information. |
Framework Services | The server-side of the view framework exposes certain services for use with your views. This includes persistence of view instance data and view eventing. See Framework Services for more information. |
Components of a View
A view can consist of client-side assets (i.e. the UI that is exposed in Ambari Web) and server-side resources (i.e. the classes that expose REST end points). When the view loads into Ambari Web, the view UI can use the view server-side resources as necessary to deliver the view functionality.
Client-side Assets
The view does not limit or restrict what client-side technologies a view uses. You can package client-side dependencies (such as JavaScript and CSS frameworks) with your view.
Server-side Resources
A view can expose resources as REST end points to be used in conjunction with the client-side to deliver the functionality of your view application. Thees resources are written in Java and can be anything from a servlet to a regular REST service to an Ambari ResourceProvider (i.e. a special type of REST service that handles some REST capabilities such as partial response and pagination – if you adhere to the Ambari ResourceProvider interface).
Anchor | ||||
---|---|---|---|---|
|
...