Module: BulkOps
- Defined in:
- lib/bulk_ops.rb,
lib/bulk_ops/engine.rb,
lib/bulk_ops/version.rb,
lib/bulk_ops/operation.rb,
lib/bulk_ops/verification.rb,
app/jobs/bulk_ops/application_job.rb,
app/models/bulk_ops/application_record.rb,
app/mailers/bulk_ops/application_mailer.rb,
app/controllers/bulk_ops/operations_controller.rb,
app/controllers/bulk_ops/application_controller.rb
Defined Under Namespace
Modules: InterpretFilesBehavior, InterpretOptionsBehavior, InterpretRelationshipsBehavior, InterpretScalarBehavior, SearchBuilderBehavior, Verification Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, ApplyOperationJob, CreateSpreadsheetJob, CreateWorkJob, DeleteFileSetJob, Engine, Error, GithubAccess, GithubAuthorizationController, GithubCredential, InstallGenerator, Operation, OperationsController, Parser, QueueWorkIngestsJob, ResolveChildrenJob, UpdateWorkJob, VerificationJob, WorkJob, WorkProxy
Constant Summary collapse
- OPTION_FIELDS =
['visibility','work type']
- RELATIONSHIP_FIELDS =
['parent','child','collection','order']
- REFERENCE_IDENTIFIER_FIELDS =
['Reference Identifier','ref_id','Reference ID','Relationship ID','Relationship Identifier','Reference Identifier Type','Reference ID Type','Ref ID Type','relationship_identifier_type','relationship_id_type']
- FILE_FIELDS =
['file','files','filename','filenames']
- FILE_ACTIONS =
['add','upload','remove','delete']
- SEPARATOR =
';'
- DEFAULT_ADMIN_SET_TITLE =
"Bulk Ingest Set"
- INGEST_MEDIA_PATH =
"/dams_ingest"
- TEMPLATE_DIR =
"lib/bulk_ops/templates"
- RELATIONSHIP_COLUMNS =
["parent","child","next"]
- SPECIAL_COLUMNS =
["parent", "child", "order", "next", "work_type", "collection", "collection_title", "collection_id", "visibility", "relationship_identifier_type", "id", "filename", "file"]
- IGNORED_COLUMNS =
["ignore","offline_notes"]
- OPTION_REQUIREMENTS =
{type: {required: true, values:[:ingest,:update]}, file_method: {required: :true, values: [:replace_some,:add_remove,:replace_all]}, notifications: {required: true}}
- SPREADSHEET_FILENAME =
'metadata.csv'
- OPTIONS_FILENAME =
'configuration.yml'
- ROW_OFFSET =
2
- VERSION =
"0.2.0"