Module: Etna

Defined in:
lib/etna/server.rb,
lib/etna/cwl.rb,
lib/etna/auth.rb,
lib/etna/csvs.rb,
lib/etna/hmac.rb,
lib/etna/user.rb,
lib/etna/route.rb,
lib/etna/censor.rb,
lib/etna/client.rb,
lib/etna/errors.rb,
lib/etna/logger.rb,
lib/etna/remote.rb,
lib/etna/command.rb,
lib/etna/metrics.rb,
lib/etna/redirect.rb,
lib/etna/injection.rb,
lib/etna/test_auth.rb,
lib/etna/controller.rb,
lib/etna/filesystem.rb,
lib/etna/formatting.rb,
lib/etna/parse_body.rb,
lib/etna/janus_utils.rb,
lib/etna/permissions.rb,
lib/etna/cross_origin.rb,
lib/etna/sign_service.rb,
lib/etna/synchronize_db.rb,
lib/etna/describe_routes.rb,
lib/etna/instrumentation.rb,
lib/etna/symbolize_params.rb,
lib/etna/clients/base_client.rb,
lib/etna/clients/janus/client.rb,
lib/etna/clients/janus/models.rb,
lib/etna/clients/magma/client.rb,
lib/etna/clients/magma/models.rb,
lib/etna/clients/metis/client.rb,
lib/etna/clients/metis/models.rb,
lib/etna/environment_variables.rb,
lib/etna/json_serializable_struct.rb,
lib/etna/clients/polyphemus/client.rb,
lib/etna/clients/polyphemus/models.rb,
lib/etna/generate_autocompletion_script.rb,
lib/etna/multipart_serializable_nested_hash.rb,
lib/etna/clients/magma/formatting/models_csv.rb,
lib/etna/clients/magma/workflows/crud_workflow.rb,
lib/etna/clients/magma/formatting/models_odm_xml.rb,
lib/etna/clients/magma/formatting/models_odm_xml.rb,
lib/etna/clients/magma/workflows/json_converters.rb,
lib/etna/clients/magma/workflows/json_validators.rb,
lib/etna/clients/metis/workflows/walk_metis_workflow.rb,
lib/etna/clients/magma/workflows/file_linking_workflow.rb,
lib/etna/clients/metis/workflows/metis_upload_workflow.rb,
lib/etna/clients/janus/workflows/generate_token_workflow.rb,
lib/etna/clients/magma/workflows/create_project_workflow.rb,
lib/etna/clients/metis/workflows/metis_download_workflow.rb,
lib/etna/clients/magma/workflows/walk_model_tree_workflow.rb,
lib/etna/clients/metis/workflows/sync_metis_data_workflow.rb,
lib/etna/clients/metis/workflows/walk_metis_diff_workflow.rb,
lib/etna/clients/metis/workflows/ingest_metis_data_workflow.rb,
lib/etna/clients/magma/workflows/add_project_models_workflow.rb,
lib/etna/clients/magma/workflows/file_attributes_blank_workflow.rb,
lib/etna/clients/magma/workflows/model_synchronization_workflow.rb,
lib/etna/clients/magma/workflows/record_synchronization_workflow.rb,
lib/etna/clients/polyphemus/workflows/set_configuration_workflow.rb,
lib/etna/clients/magma/workflows/ensure_containing_record_workflow.rb,
lib/etna/clients/magma/workflows/update_attributes_from_csv_workflow.rb,
lib/etna/clients/magma/workflows/attribute_actions_from_json_workflow.rb,
lib/etna/clients/magma/workflows/materialize_magma_record_files_workflow.rb

Overview

application.rb instantiates this for the project scoping. This generates a file, project-name.completion, which is sourced in build.sh to provide autocompletion in that environment.

Defined Under Namespace

Modules: Application, Clients, CommandExecutor, CommandOrExecutor, EnvironmentVariables, Instrumentation, JsonSerializableStruct, MultipartSerializableNestedHash, Spec Classes: Auth, BadRequest, Censor, Client, Command, Controller, CrossOrigin, CsvExporter, CsvImporter, Cwl, DescribeRoutes, Error, Filesystem, Forbidden, Formatting, GenerateCompletionScript, Hmac, Injection, JanusUtils, Logger, MetricsExporter, NotFound, ParseBody, Permission, Permissions, Redirect, RemoteSSH, Role, Route, Server, ServerError, SignService, SymbolizeParams, SynchronizeDb, TestAuth, TestHmac, Unauthorized, User

Class Method Summary collapse

Class Method Details

.Redirect(req) ⇒ Object



2
3
4
# File 'lib/etna/redirect.rb', line 2

def self.Redirect(req)
  Redirect.new(req)
end