项目作者: lsst-sqre

项目描述 :
LTD indexer
高级语言: Python
项目地址: git://github.com/lsst-sqre/uservice-ltdindexer.git
创建时间: 2017-03-21T20:00:51Z
项目社区:https://github.com/lsst-sqre/uservice-ltdindexer

开源协议:Other

下载


Build Status

sqre-uservice-ltdindexer

LSST DM SQuaRE api.lsst.codes-compliant microservice wrapper to provide an
LSST The Docs index page.

Usage

sqre-uservice-ltdindexer will run standalone on port
5000 or under uwsgi. It responds to the following routes:

Routes

  • /: returns OK (used by Google Container Engine Ingress healthcheck)

  • /ltdindexer, /ltdindexer/json: returns JSON structure with two
    fields: ul, which contains a UTF-8-encoded HTML ul entity
    with the list of documents on LTD, and index, which contains a
    UTF-8 encoded HTML document wrapping the document list.

  • /ltdindexer/page: returns the index page (not as JSON).