Class: Sbuilder::Constants
- Inherits:
-
Object
- Object
- Sbuilder::Constants
- Defined in:
- lib/sbuilder/constants.rb
Constant Summary collapse
- TYPE_DOMAIN =
supported domain types
"domain"- TYPE_VALUE_DOMAIN =
"value-domain"- TYPE_CARDINALITY_DOMAIN =
"cardinality-domain"- EXTENSION_LOADER_YAML =
supported extension loader types
"default-yaml"- INTERFACE_OPERATION =
supported paramter set types
"operation"- SWAGGER_DEFINITION =
"definition"- PARAM_SET_STEPS =
"steps"- LOADER_SWAGGER =
supported interfa loader
"swagger"- MAPPER_YAML =
supported mapper types
"resolver_yaml"- MAPPER_RULE_MATCH =
supported mapper_rules
"match"- MAPPER_RULE_REF =
"ref"- PARAMETER =
supported paremters
"param"- PARAMETER_REF =
"param-ref"- SRC_DIR =
direcotory where to manual source files are
"src"- TEMPLATE_GEM =
Default template generation Notice directory names end with slash indicating that they are directories (and not gem-names)
'tla-sbuilder'- TEMPLATE_PATH =
'mustache/'- SRC_PATH =
i.e. src_dir with ending ‘/’, see option –templates
"#{SRC_DIR}/"- LOGFILE =
default log-file
"sbuilder.log"- CNF_DIR =
configurations
"cnf"- CNF_FILE =
main configuration file
"sbuilder.yaml"- CACHE_DIR =
directory to cache loaded files
"cache"- GEN_DIR =
direcotory where to output rendered templates
"gen"- BUILD_DIR =
direcotory where to output build results
"build"- TYPE_NAMESPACE_DOM =
namespace
"d_"- TYPE_NAMESPACE_REF =
"t_"- RESOURCES_DIR =
Location of resources
File. '../../../resources/', __FILE__
- SWAGGER_SCHEMA =
File. 'schema/swagger/2.0/schema.json', RESOURCES_DIR
- JSON_SCHEMA =
File. 'schema/json_schema/draft-04.json', RESOURCES_DIR
- OPT_VERBOSITY =
Default options
1