-
Notifications
You must be signed in to change notification settings - Fork 47
Archive Repositories
vasanth-asokan edited this page Jan 28, 2015
·
4 revisions
An ArchiveRepository is a collection of script archives. Basic archive CRUD actions can be performed on a repository, and the repository offers some conveniences for getting a compact summary of the repository for reporting purposes.
Nicobar comes out of the box with three archive repositories.
- PathArchiveRepository turns a directory hierarchy of PathScriptArchive entries into a repository.
- JarArchiveRepository turns a directory containing JarScriptArchive entries into a repository
-
CassandraArchiveRepository is an implementation of a repository where each Cassandra row is an archive, and the columns represent the archive metadata and content. This repository is provided by the
nicobar-cassandra
subproject and uses Astyanax to interact with Cassandra.
You can use an ArchiveRepositoryPoller to poll repositories for updates. On updates, the poller will load the new or modified script archive into a script module loader, and make it available dynamically to the runtime system.