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

Migrated [JenkinsPlugin] to new service architecture #3317

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

PyvesB
Copy link
Member

@PyvesB PyvesB commented Apr 15, 2019

See #2863.

@PyvesB PyvesB added the service-badge Accepted and actionable changes, features, and bugs label Apr 15, 2019
@shields-ci
Copy link

shields-ci commented Apr 15, 2019

Messages
📖 ✨ Thanks for your contribution to Shields, @PyvesB!

Generated by 🚫 dangerJS against 5341eed

@PyvesB PyvesB changed the title Migrated [JenkinsPluginVersion] to new service architecture Migrated [JenkinsPlugin] to new service architecture Apr 15, 2019
@calebcartwright
Copy link
Member

Wow you turned that around fast!

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything LGTM. The only question I have is around regularUpdate since the file containing it currently resides within the legacy directory hierarchy. If that helper will continue to be leveraged in the new service architecture, should that file (eventually) be moved to a different directory?

@paulmelnikow
Copy link
Member

The only question I have is around regularUpdate since the file containing it currently resides within the legacy directory hierarchy. If that helper will continue to be leveraged in the new service architecture, should that file (eventually) be moved to a different directory?

I think regular-update needs a total rewrite using async/await. Caching code is notoriously difficult to test and so I'd rather base the cache part on node-cache.

If this is the last legacy service to use it, the time to rewrite may be upon us!

#3101 (comment)

@PyvesB
Copy link
Member Author

PyvesB commented Apr 16, 2019

Yes, I believe this is the last legacy service that is using regularUpdate.

@calebcartwright
Copy link
Member

I think regular-update needs a total rewrite using async/await. Caching code is notoriously difficult to test and so I'd rather base the cache part on node-cache

Do we want to do that here as part of refactoring this service? Or should we go ahead and merge this and then in a follow on tackle rewriting regular-update (and updating this service accordingly)?

@paulmelnikow
Copy link
Member

Think that can definitely be a follow-on.

@shields-deployment
Copy link

This pull request was merged to master branch. This change is now waiting for deployment, which will usually happen within a few days. Stay tuned by joining our #ops channel on Discord!

After deployment, changes are copied to gh-pages branch:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants