Vai al contenuto principale
Torna alla panoramica

Informazioni dettagliate

Nome del software

jeap-opensearch-searchitem-api

Pagina di destinazione

Descrizione breve

Spring MVC REST API and model for exposing indexed search items from OpenSearch in jEAP applications

Documentazione

jeap-opensearch-searchitem-api provides the SearchItemContainer model and a ready-to-use Spring MVC REST controller (SearchItemsController) for exposing indexed search items via a GET /index-api/searchitems endpoint. The endpoint accepts index_type, origin_id, and an optional origin_version query parameter, enforces role-based access control (role searchitem:read), and returns the SearchItem JSON body together with index-major-version and index-minor-version response headers. Applications implement the SearchItemsProvider interface to supply items from their OpenSearch indices. The multi-module layout separates the lightweight model (SearchItemContainer) from the Spring MVC controller so that providers can depend on the model without pulling in the full web layer.

Versione del software

1.4.0

Licenza

Apache-2.0

Versione Publiccode.yml

0.5.0