Skip to content

icgc-argo/dac-api

Repository files navigation

dac-api

Development of the Data Access Control API

Development Mode

Name Config Path Description Trigger Default
NODE_ENV isDevelopment Enables '/applications/:id' DELETE endpoint. Enables debug.log file in Logger options set NODE_ENV to "development" false

Feature Flags

Name Config Path Description Trigger Default
FEATURE_RENEWAL_ENABLED featureFlags.renewalEnabled enables Renewal and Expiry features, incl. /applications/{id}/renew POST endpoint for creating a renewal application, and batch jobs triggered by /jobs/batch-transitions endpoint: "FIRST EXPIRY NOTIFICATIONS", "SECOND EXPIRY NOTIFICATIONS", "EXPIRING APPLICATIONS" and "CLOSING UNSUBMITTED RENEWALS" set env value to "true" false
FEATURE_ADMIN_PAUSE_ENABLED featureFlags.adminPauseEnabled enables manual PAUSE transition of applications, using the Admin scope with the /applications/{id} PATCH or /applications/:id/admin-pause endpoints. Normally pausing is done only by the System role as a batch job. Intended for testing purposes only, do not enable in production set env value to "true" false