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

CAMP generate put multiple implementations of the same feature in single stacks #75

Closed
fchauvel opened this issue Sep 25, 2019 · 0 comments

Comments

@fchauvel
Copy link
Member

Characteristics

  • Issue Type: bug
  • Reproducibility: always
  • Severity: Major
  • Tool/Service/Component: CAMP generate (v0.6.1)
    • Linux 4.9.0-8-amd64 (debian 9.8)
    • Python 3.5.3.final.0
    • Z3 4.7.1
    • Docker version 18.09.4, build d14af54
    • docker-compose version 1.23.0, build c8524dc1
  • Execution Environment: [platform, OS, etc]
  • Reporter: @fchauvel

Description

Given the following camp.yml, I expect that CAMP does not generate stacks that includes mutliple implementation of the same "feature". In this example, it the the HTTP proxy features. While both the NGinx & Apache component offer that feature, it does not make sense to get both in the same software stacks.

components:

  django:
    provides_services: [ MyService ]
    requires_features: [ Python, HttpProxy ]

  apache:
    provides_features: [ HttpProxy ]
    requires_features: [ Linux ]

  nginx:
    provides_features: [ HttpProxy ]
    requires_features: [ Linux ]

  python:
    provides_features: [ Python ]
    requires_features: [ Linux ]

  ubuntu:
    provides_features: [ Linux ]

The configurations that CAMP generates are the following:
configurations

Steps to reproduce

$ camp generate -d . --all

Other files and URLs

Relationships

Help on issue template

Preview to follow the link or open file .github/ISSUE_DOC.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant