Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): allow multiple Apps #1582

Closed
wants to merge 11 commits into from
Closed

feat(core): allow multiple Apps #1582

wants to merge 11 commits into from

Commits on Jan 20, 2019

  1. feat(core): allow multiple Apps

    Change the meaning of `App` to represent the application the user
    is defining (as opposed to the internals of the CDK program). The
    names of Apps (if given) will be incorporated into the Stack name,
    so that it becomes possible to instantiate your Stacks multiple
    times just like other constructs (without having to make the
    `id` parameter unique). A new stack property `stackName` exists
    to force the stack to a different name.
    
    If a single `App` is instantiated without parameters, the observable
    behavior of your CDK app won't change. If you insantiate more than
    one `App`, all of them must receive ids.
    
    To represent the CDK internals, a new class called `Program` exists,
    which the user doesn't need to interact with.
    
    `app.run()` is no longer necessary, and is deprecated. It still
    exists to avoid breaking existing programs, but will be removed
    in a future release.
    Rico Huijbers committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    5c9b067 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Restored contract of synthesizeStacks()

    Rico Huijbers committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    022ed01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22f818a View commit details
    Browse the repository at this point in the history
  3. Fix stack inspector

    Rico Huijbers committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    f765650 View commit details
    Browse the repository at this point in the history
  4. Update applet expectations

    Rico Huijbers committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    6cc27c5 View commit details
    Browse the repository at this point in the history
  5. Only set test mode for unit tests

    Rico Huijbers committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    d06e02b View commit details
    Browse the repository at this point in the history
  6. Mention we should do this better once using Jest

    Rico Huijbers committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    0778bd7 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. Make VPC tag names consistent

    Rico Huijbers committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    6c7888b View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Fix metadata changes

    Rico Huijbers committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    ac93c06 View commit details
    Browse the repository at this point in the history
  2. Use other environment variable, fix some tests

    Rico Huijbers committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    f4201f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. Use a symbol for isApp

    rix0rrr committed Feb 4, 2019
    Configuration menu
    Copy the full SHA
    9943293 View commit details
    Browse the repository at this point in the history