Comments (3)
The filter(s) for ApplicationPolicy
are here
- https://github.com/pacphi/cf-butler/blob/master/src/main/java/io/pivotal/cfapp/repository/R2dbcAppDetailRepository.java#L55
- https://github.com/pacphi/cf-butler/blob/master/src/main/java/io/pivotal/cfapp/repository/R2dbcAppDetailRepository.java#L80
and likewise for ServiceInstancePolicy
These filters rely on the capture of event data associated with an AI or SI which happens on collection.
I don't know if you caught it, but in the filters for AppPolicy
we use last_event_time
rather than last_pushed
. This was a choice based on potential that the app instance could have crashed and been re-started. I wonder if it makes sense in the policy definition to allow for you to specify whether you want to use last_event_time
or last_pushed
, defaulting to the former for consistency/compatibility's sake?
Have a go updating the filter logic yourself, and let me know what you find out.
from cf-butler.
Thank you very much for this very detailed explanation . Now i understand why my application is not stopped based on the last_event_time
rather than the last_pushed
which is in the description of the file i took as a basis .
In our thought , last_pushed
was most representing the LCM of the application , and so we could deduce that an application is living or not .
But now that this is well understood how it works , it depends on us what we will choose .
Thanks again
from cf-butler.
Closing
from cf-butler.
Related Issues (20)
- Add GraalVM support HOT 10
- **BUG** For large foundations running into problem on execution of AppDetailTask HOT 5
- Can't push app on newer buildpack HOT 5
- Deploying to PCF with RDS mysql HOT 2
- Add Git Authentication Support HOT 6
- Cannot read CF_TOKEN_PROVIDER property at startup HOT 1
- Update documentation to reflect Tanzu rebranding HOT 1
- Gradlew Build Fails on bootBuildImage step HOT 2
- Add cf-for-k8s support HOT 4
- Service instance count for snapshot/summary gives different result when running at different times. HOT 2
- R2DBC Typo/Error in ButlerCfEnvProcessor Config and Unable to Connect w/ PCF MYSQL DB HOT 1
- Expand use beyond organization level HOT 5
- Cannot access Opsmanager with user/pwd when external identity provider via SAML or LDAP integration HOT 6
- Endpoint /products/stemcell/associations isn't working HOT 9
- ResourceNotificationPolicy implementation needs a rethink
- Ops manager endpoints running into cert issues HOT 4
- In the Snapshot Detail AI report , the buildpack version doesn't reflect the real buildpack version used by the application HOT 24
- r2db error HOT 1
- Use of mutation testing in cf-butler - Help needed
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 cf-butler.