Coder Social home page Coder Social logo

fisojo's People

Contributors

dependabot[bot] avatar eduardogr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jaguerra

fisojo's Issues

Create a script to get the feauth token

Getting the fisheye auth token is very manual. We are launching ugly curls like this

$ curl -X POST -H 'Content-type: application/x-www-form-urlencoded' 'https://<fe-server>/rest-service-fecru/auth/login?userName=<username>&password=<passowrd>' {"token":"username:12345:blablablablablablabla"}
I would be nice an script to do the dirty job

Add logger

Replace the "println" by a logger with levels (e.g. log4j)
Now the output is too verbose.

By default it should run ERROR level.
We could specify a "--debug" line parameter to set DEBUG level.

Create k8s configmap to be able to deploy this on k8s

Right now fisojo uses its config.props file to obtain config values when we "deploy" it in a local machine. This config is now a local file.

So, to let fisojo being able to be deployed in a container-orchestration system we need to place that config in some place, and k8s configmap could be one option.

Create a config based on env variables

Implementating ConfigHandler interface, create a new way to read the config based on environment variables, which it will be useful for running Fisojo into a container.

Persist last CR published

Now it is set manually in the config file under the "fisheye.lastCrNumber" prop. It's a pain in the ass because in each execution this number should be set to avoid repeat CR publications.

We could create a file, eg. ".lastCr" where we could store this number and updated in each publication, so if we restart fisojo the number persist.

Note: In the future, when fisojo handles several FE projects, it should handle several "lastCr", one per project, so we can create a folder called ".lastCr" for keeping a file per project.

Some slack notifications are missed

If you are creating a new Fisheye CR (let's call it "CR-100") and other person creates and publishes another CR just before (let's call it "CR-101"), the second one, 101, is published and annotated as "last CR seen". When CR-100 is published, 100 < 101, so it is not notified.

Add Dockerfile

In order to let this app exists in a container-orchestration system we need to add a container definition and we are going to use docker for this

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.