);
environment.lifecycle().manage(blobManager);
environment.healthChecks().register("MongoDB", new MongoHealthCheck(mongoDBInstance));
environment.jersey().register(new ApiResource(blobManager, configuration.getGoogleAnalyticsConfig()));
environment.jersey().register(new JsonBlobEditorResource(blobManager, configuration.getGoogleAnalyticsConfig()));
environment.jersey().getResourceConfig().getContainerResponseFilters().add(new GitTipHeaderFilter());
environment.jersey().getResourceConfig().getContainerRequestFilters().add(new RequestIdFilter("X-Request-ID"));
// Support CORS