Giter Site home page Giter Site logo

pacphi / cf-app-inventory-report Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 2.0 187 KB

Generates custom application inventory detail and summary reports from a target foundation. An email will be sent to recipient(s) with those reports attached.

License: Apache License 2.0

Java 99.00% Shell 1.00%
spring-boot spring-cloud-task reactivemongo report email rxjava2-jdbc hsqldb openjdk11

cf-app-inventory-report's People

Contributors

pacphi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cf-app-inventory-report's Issues

Org usage addition

As a platform operator I would like to have a view of the space managers to org in a report so I can understand the top users of the platform by organization (when mashed up with org chart).

Org, space, Space managers REST URL triggers

Other roll ups on this can identify the top org/space users

Synchronous report

As a platform operator would like to down reports on demand via a HTTP URL request to help get up to date information without having to trigger the job via the cli.

cf push has typo in its name for get-app-details-task

As per README

cf push get-app-details-task --no-route --health-check-type none -p ./build/libs/cf-app-inventory-report-0.0.1-SNAPSHOT.jar -m 1G --no-start

The above should be

cf push get-app-details-task --no-route --health-check-type none -p ./build/libs/cf-app-inventory-report-0.1-SNAPSHOT.jar -m 1G --no-start

Enrich detail report to include whether or not app was deployed w/ a Docker image

The buildpack attribute from an AppDetail sometimes reports unknown. For these cases likely a cf push APP-NAME --docker-image REPO/IMAGE:TAG was used. These details are not returned from a GetApplicationDetailsRequest. Rather we will need to enhance the call chain to make an additional call with GetApplicationManifestRequest. If the app employed Docker we should return the docker image employed.

Add SendGrid support

Make AppNotifier.java and abstract base class and move existing Java Mail implementation to a subclass. Then implement SendGrid Java API (sample). Then maybe we add a property that allows developer to choose which implementation to run with. Be sure to update README documentation too.

Fix NPE for AppDetail#lastPushed

Some app instances are reported with null for lastPushed. We'll need to update AppTask to generate a dummy LocalDateTime. Reports with these records signify "zombie" app records in CF that just need to be cleaned up. E.g., with cf delete <app_name>.

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.