Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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). See Framework Services for more information on capabilities that the framework exposes on the server-side for views.

Info

Checkout the Weather View as an example of a view that exposes servlet and REST endpoints.

https://github.com/apache/ambari/tree/trunk/ambari-views/examples/weather-view

...