Comments (5)
I will have a look next week.
from catwatch.
@linki @jbellmann I did a minimal test and my conclusion would be that @Profile({"!test", "!k8s})
means that the component will be registered if not both profiles are active. That matches my understanding of the docu as well:
If a given profile is prefixed with the NOT operator (
!
), the annotated component will be registered if the profile is not active; for example, given@Profile({"p1", "!p2"})
, registration will occur if profile 'p1' is active or if profile 'p2' is not active.
from catwatch.
@jbellmann could you already have a look at this? Could someone else support you there?
from catwatch.
@duergner I'm curious about the or
in the docs above. Does setting @Profile({"!test", "!k8s})
translate to?
given @Profile({"!test", "!k8s"}), registration will occur if profile 'test' is not active or if profile 'k8s' is not active.
Because this would mean it's activated whenever we don't run with the test
profile, regardless of whether we're using the k8s
profile or not.
from catwatch.
That's my interpretation which also matches my observations from doing some testing with a minimal Spring Boot application.
from catwatch.
Related Issues (20)
- Unify handling of datetime in JSON serializers / deserializers HOT 2
- Update MAINTAINERS HOT 1
- Optimize repository scanning (GitHub API calls) HOT 5
- Testsuite must be able to deal with not available PostgreSQL again
- Consider applying a penalty for projects with less than 2 maintainers HOT 5
- A different approach for the Catwatch formula HOT 13
- Inconsistent project-naming issue HOT 3
- Special symbols break parsing of .catwatch.yaml
- Project box visuals HOT 1
- Contributors always have null organization HOT 1
- ZMON org repos still showing up in rankings HOT 4
- Idea for new metrics: Show # of contributions from external and # of contributions to external repos HOT 3
- Catwatch api doesn't return images HOT 1
- baboon-proxy showing up twice HOT 4
- Does catwatch support multiple concurrent fetcher tasks? HOT 8
- Does 'zalando-techmonkeys' exists on github.com?
- Add github/zalandoresearch to the scan list HOT 2
- Deactivate endpoints in admin controller
- Wrong team id in .zappr.yaml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catwatch.