Package Usage: go: github.com/mongodb/anser
Package anser provides a document transformation and processing tool to
support data migrations.
The anser.Application is the primary interface in which migrations are
defined and executed. Applications are constructed with a list of
MigrationGenerators, and relevant operations. Then the Setup method
configures the application, with an anser.Environment, which sets up
and collects dependency information. Finally, the Run method executes
the migrations in two phases: first by generating migration jobs, and
finally by running all migration jobs.
The ordering of migrations is derived from the dependency information
between generators and the jobs that they generate. When possible jobs
are executed in parallel, but the execution of migration operations is
a property of the queue object configured in the anser.Environment.
The anser package provides a custom amboy/dependency.Manager object,
which allows migrations to express dependencies to other
migrations. The State() method ensures that all migration IDs
specified as edges are satisfied before reporting as "ready" for work.
Anser provides the Environment interface, with a global instance
accessible via the exported GetEnvironment() function to provide
access to runtime configuration state: database connections;
amboy.Queue objects, and registries for task implementations.
The Environment is an interface: you can build a mock, or use one
provided for testing purposes by anser (coming soon).
Generators create migration operations and are the first step
in an anser Migration. They are supersets of amboy.Job interfaces.
The current limitation is that the generated jobs must be stored
within the implementation of the generator job, which means they must
either all fit in memory *or* be serializable independently (e.g. fit
in the 16mb document limit if using a MongoDB backed queue.)
7 versions
Latest release: almost 2 years ago
5 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/mongodb/anser
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/mongodb%2Fanser
Dependent Repos 17
minnakt/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 189 MB - Last synced: 15 days ago - Pushed: 15 days ago

mongodb/curator
Curator -- a build and package automation toolSize: 63.4 MB - Last synced: about 1 month ago - Pushed: 2 months ago

mongodb/jasper
Jasper is a Process Management FrameworkSize: 48.8 MB - Last synced: about 1 month ago - Pushed: 2 months ago

evergreen-ci/barque 📦
packaging service... ship it!Size: 36.5 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

johndaniels/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 153 MB - Last synced: about 2 years ago - Pushed: over 2 years ago

SupaJoon/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 188 MB - Last synced: 7 days ago - Pushed: 7 days ago


evergreen-ci/cedar
data sink serviceSize: 49.4 MB - Last synced: 2 months ago - Pushed: 2 months ago

evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 187 MB - Last synced: 7 days ago - Pushed: 7 days ago

sophstad/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 185 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

bsamek/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 164 MB - Last synced: almost 2 years ago - Pushed: almost 2 years ago

Kimchelly/jasper Fork of mongodb/jasper
Jasper is a Process Management FrameworkSize: 48.7 MB - Last synced: 2 months ago - Pushed: 2 months ago

julianedwards/sink Fork of evergreen-ci/cedar
data sink serviceSize: 49.5 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

julianedwards/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 189 MB - Last synced: 14 days ago - Pushed: 14 days ago

malikchaya2/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 189 MB - Last synced: 42 minutes ago - Pushed: about 2 hours ago

khelif96/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 189 MB - Last synced: 16 days ago - Pushed: 17 days ago

ablack12/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 188 MB - Last synced: 6 days ago - Pushed: 6 days ago

hadjri/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 191 MB - Last synced: 9 days ago - Pushed: 9 days ago

ybrill/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 184 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

Kimchelly/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 187 MB - Last synced: 7 days ago - Pushed: 7 days ago

bynn/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 189 MB - Last synced: 7 days ago - Pushed: 7 days ago

lloydchang/evergreen-ci-evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 165 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

gmishkin/evergreen Fork of evergreen-ci/evergreen
A Distributed Continuous Integration System from MongoDBSize: 181 MB - Last synced: 7 months ago - Pushed: 7 months ago
