Code Monkey home page Code Monkey logo

merlin's People

Contributors

wachulski avatar

Watchers

 avatar  avatar

Forkers

maw136

merlin's Issues

Read Excel source

Reads configuration from Excel source (e.g. xls file) and builds a model in memory.

Read YAML source

Parse YAML sources (e.g. files) and create the configuration model in memory.

Allow for value-free params

Now either default value or at least one environment value mapping must be specified (non-empty). This prohibits existence of non-filled parameters. Pls make it possible, ie. only param name should be required.

Add Environments

Add support of environments ie. each configuration parameter value can be specified for a given environment.

"default" is not translated into XML properly if it is not listed last in the YML

When listing values in config-params.yml, everything works fine if default comes last:

 __<administrateCustomerId>__:
    value:
    - __TemplateName__: __CustomerId__
    - A11: 210000
    - A14: 230000
    - AM7: 270000
    - AM8: 280000
    - BETA2: 14
    - Developer: 1
    - US8: 980000
    - Verification: 14
    - default: 240000

When default is not the last option, the specific values keep working, but the default value does not turn up in the web.config:

 __<administrateCustomerId>__:
    value:
    - __TemplateName__: __CustomerId__
    - A11: 210000
    - A14: 230000
    - AM7: 270000
    - AM8: 280000
    - BETA2: 14
    - Developer: 1
    - US8: 980000
    - default: 240000
    - Verification: 14

Wrong end result in web.config (this one is from AM3):

<!-- General customer settings -->
<add key="administrateCustomerId" value="" />  <!-- Which customer can add or edit customers -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.