Sha256: 2a5d401553a69fc76f60333d1dc40d3924ea237963c19f30b7daba539c131dfa
Contents?: true
Size: 1.86 KB
Versions: 2
Compression:
Stored size: 1.86 KB
Contents
module Sbuilder class Constants # supported domain types TYPE_DOMAIN = "domain" TYPE_VALUE_DOMAIN = "value-domain" TYPE_CARDINALITY_DOMAIN = "cardinality-domain" # supported extension loader types EXTENSION_LOADER_YAML = "default-yaml" # supported paramter set types INTERFACE_OPERATION = "operation" SWAGGER_DEFINITION="definition" PARAM_SET_STEPS = "steps" # supported interfa loader LOADER_SWAGGER = "swagger" # supported mapper types MAPPER_YAML = "resolver_yaml" # supported mapper_rules MAPPER_RULE_MATCH = "match" MAPPER_RULE_REF = "ref" # supported paremters PARAMETER = "param" PARAMETER_REF = "param-ref" # direcotory where to manual source files are SRC_DIR = "src" # Default template generation # Notice directory names end with slash indicating that they are directories (and not gem-names) TEMPLATE_GEM='tla-sbuilder' TEMPLATE_PATH='mustache/' SRC_PATH="#{SRC_DIR}/" # i.e. src_dir with ending '/', see option --templates # default log-file LOGFILE="sbuilder.log" # configurations CNF_DIR = "cnf" # main configuration file CNF_FILE="sbuilder.yaml" # directory to cache loaded files CACHE_DIR = "cache" # direcotory where to output rendered templates GEN_DIR = "gen" # direcotory where to output build results BUILD_DIR = "build" # namespace TYPE_NAMESPACE_DOM = "d_" TYPE_NAMESPACE_REF = "t_" # Location of resources RESOURCES_DIR = File.expand_path '../../../resources/', __FILE__ SWAGGER_SCHEMA = File.expand_path 'schema/swagger/2.0/schema.json', RESOURCES_DIR JSON_SCHEMA = File.expand_path 'schema/json_schema/draft-04.json', RESOURCES_DIR # Default options OPT_VERBOSITY = 1 # output leve end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tla-sbuilder-0.2.2 | lib/sbuilder/constants.rb |
tla-sbuilder-0.2.1 | lib/sbuilder/constants.rb |