Class: DTK::DSL::ServiceAndComponentInfo::TransformTo::Info

Inherits:
Info
  • Object
show all
Defined in:
lib/dsl/service_and_component_info/transform_to/info.rb,
lib/dsl/service_and_component_info/transform_to/info/service.rb,
lib/dsl/service_and_component_info/transform_to/info/component.rb,
lib/dsl/service_and_component_info/transform_to/info/input_files.rb

Direct Known Subclasses

Component, Service

Defined Under Namespace

Classes: Component, InputFiles, Service

Constant Summary collapse

INFO_HASH =

This is for mapping to module directories (not service instance directories)

{
  :service_info => {
    :input_files => {
      :module => {
        :regexps => [Regexp.new("dtk\.module\.yaml$")]
      },
      :assemblies => {
        :regexps => [Regexp.new("assemblies/(.*)\.dtk\.assembly\.(yml|yaml)$"), ]
      },
      :legacy_assemblies => {
        :regexps => [Regexp.new("assemblies/([^/]+)/assembly\.(yml|yaml)$")]
      }
    }
  },
  :component_info => {
    :input_files => {
      :module => {
        :regexps => [Regexp.new("dtk\.module\.yaml$")]
      }
    }
  }
}

Instance Attribute Summary

Attributes inherited from Info

#indexed_input_files, #module_ref

Method Summary

Methods inherited from Info

#compute_outputs!, #initialize, #output_path_text_pairs

Constructor Details

This class inherits a constructor from DTK::DSL::ServiceAndComponentInfo::Info