ASPSP Repository is built upon Apache Lucene search software. It is populated from aspsp-adapter-config.csv file. At the startup Lucene will check if the source CSV was updated and re-populate itself if changes detected.
XS2A Adapter has two interfaces for managing ASPSP Registry: AspspRepository and AspspReadOnlyRepository.
AspspRepository allows manipulating Registry with CRUD operations. The user is able to use LuceneAspspRepository service, which implements the interface, for creating, retrieving, changing or removing records from the Lucene storage.
NOTE: AspspRepository interface is managing records within Lucene repository only. Source CSV file remains unmodified.
AspspReadOnlyRepository, as it can be inferred form the name, allows only various reading operations.
XS2A Adapter Rest layer facilitates only AspspReadOnlyRepository, which means there is no API to add, update or delete existing records from the box, even though there is an appropriate service. Adapter users are not expected to manipulate Lucene storage. All changes should be performed outside the Adapter with a source CSV file and ASPSP Registry should be updated only via CSV.