= IETF bibxml-project
== Full list of deliverables
An XML citation datastore with a mix of manually added persistent citations, generated persistent citations and citations that are generated on demand and then temporarily cached before being purged, organised into datasets as detailed below.
An interface to the datastore suitable as the data source for an rsync server so that datasets of persistent citations can be served by rsync.
Generation of XML citations from each of the sources detailed below and adding the generated citations to the datastore.
A public API for retrieval of one or more XML citations from the datastore, including those generated on demand.
A public API for searching and browsing over the datasets of persistent citations.
A private API for triggering a new generation or regeneration.
An interactive web page through which anyone can access any XML citations in the datastore, including those generated on demand.
For datasets of persistent citations, the interactive web page should provide searching and browsing over those datasets as well as download of the full dataset (zipped and gzipped tarballs).
A centralised single log of all access, including the import of rsync logs, to provide visibility into use of the service.
A Dockerfile that will be used in a full CI/CD environment.
== API definitions
An OpenAPI specification and accompanying guidance will be developed for the BibXML Service with the aim that independent implementation and external API usage is barrier-free.
This covers both the public and private API portions of the service.
== Components
=== Architecture
.Infrastructure architecture image::architecture.png[]
=== BibXML web service
For the public:
. Interactive website that allows browsing XML citations in the datastore,
including those fetched from authoritative sources.
+
NOTE: These include bibxml-rfcs
, bibxml-misc
, bibxml-ids
, bibxml-w3c
,
bibxml-3gpp
, bibxml-ieee
, bibxml-rfcsubseries
and bibxml-iana
.
+
NOTE: bibxml-doi
data will not be browsable because they are cached and will
represent a very minor portion of the full dataset, and therefore are of limited
utility.
. Public API that allows for retrieval of one or more XML citations from the
datastore. This covers all the bibxml data sources. In the case of bibxml-doi
,
a cached entry will be made available for up to 24-hours.
. Public API that allows for searching over the datasets for IETF and external persistent citations via a search engine;
. provide easy extensions to the output such that future formats including BibTeX and CSL can be rendered.
For administration:
. private API that allows triggering of update routines that retrieves data from remote bibxml data sources: this triggers the BibXML Indexer or the data importers.
. private API for performing updates to the citation datastore, for
the updates to the IETF persistent citations (bibxml-rfcs
, bibxml-ids
,
and bibxml-rfcsubseries
): this triggers the BibXML Indexer.
Authentication:
. the authentication mechanism will integrate with Datatracker-generated or administratively provisioned API tokens;
=== BibXML indexer
This component is used to import BibXML / Relaton data from GitHub repositories into the PostgreSQL server.
=== Bibliographic information retrieval
Software components will be provided for the import of external citations, including new implementations for these datasets:
bibxml-w3c
bibxml-3gpp
bibxml-ieee
bibxml-iana
bibxml-rfcs
bibxml-rfcsubseries
bibxml-ids
bibxml-doi
== Deliverable: Infrastructure support
A Kubernetes setup will be used to run various Docker containers. This setup makes it easier to mirror the production and local development environments, given that Docker Desktop now supports a single node Kubernetes cluster.
This setup forgoes the need for a database server to minimize maintenance effort and ongoing costs.
The following components are needed:
. Software .. BibXML web service .. BibXML indexer
. Infrastructure .. GitHub repositories .. PostgreSQL server
.. A logging location is provided as a shared volume
. Infrastructure configuration
.. Configuration for general infrastructure deployment
.. Helm configuration used to parameterize environment-specific values between production and development
.. Definitions for Kubernetes cron jobs that will execute based
on time-triggered citation updates (e.g. bibxml-w3c
)
All created components will be delivered in an open source manner as required.