question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[EPIC] Zally Integration With GitHub Enterprise

See original GitHub issue

Acceptance criteria

As an API Developer I want to get feedback on my API changes when I open Pull Request on GHE So that I have an additional quality gate for the PR process

Tickets

Target architecture

       On open PR                     Send validation request
                                       and store the result
GHE  <-------------> GHE Integration <-----------------------> ZALLY Server
          REST       (this project)            REST

Workflow

  1. Developer opens a PR on the GitHub Enterprise (GHE)
  2. GHE via a Web-hook triggers GHE Integration Layer (IL)
  3. IL reads configuration of the repository
  4. IL find Swagger file and send request to ZALLY
  5. IL stores the validation result and notifies GHE back with the status and result link
  6. By following the result link, Developer can always retrieve the validation result from IL

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
vadegcommented, Nov 14, 2018

Thank you @maxim-tschumak and @roxspring! Just couple of comments.

Are you OK with throwing the unused code away and giving GitLab integration a try as a part of the Zally server?

I am totally fine with throwing away unused code, of course 😃 I am not OK with having GL/GH integration directly in Zally instead of having a separate component, but I agree with you both - let’s try with GitLab first (at least @roxspring will use it) then will see do we need to separate it or not.

And having an extra service with a persistence is an effort we can avoid now, from code-maintaining and operations perspective.

Probably I do not have a full picture with GH/GL integration, but what for do we need a persistence there? I thought it might work as a proxy between Zally and GL/GH without persistence at all because the only thing needed is a permalink to API review which will be managed by Zally.

Supporting Zally in both persistent and non-persistent configurations sounds nice in theory but, to me, not worth much time and energy.

We had this option already in place. For example, if someone wants to use Zally as a service which does only validation without keeping reports and permalinks Zally can be deployed with in-memory database. In can be deployed even with an embedded database which will store everything on disk for use cases where user do not want to setup a separate database. Nothing to invest here, actually 😃

1reaction
maxim-tschumakcommented, Nov 9, 2018

In my opinion we can drop the GitHub (Enterprise) integration aka “bark”. We don’t see much benefit for us (for now). I propose to adjust @roxspring 's plan to the following:

  1. Implement permalinks directly in Zally #593
  2. Implement GitLab integration directly in Zally, heavily inspired by existing GitHub integration code (and with the idea in mind of how we can reuse parts of the code to implement GitHub integration)
  3. Create an issue for GitHub integration (with a short description of how to implement)

In this case, @roxspring, you would be able to go faster with the implementation of the desired feature and we can get rid of the unused code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GHE Integration] Lint APIs Using Zally Server #481 - GitHub
As a user of Zally GHE Integration solution · I want the GHE Integration to call Zally server to lint the APIs which...
Read more >
[GHE Integration] Web UI · Issue #484 · zalando/zally - GitHub
As a user of Zally GHE Integration Solution I want to have a web user interface So ... [EPIC] Zally Integration With GitHub...
Read more >
[GHE Integration] Read swagger file from GH Integration #480
[GHE Integration] Read swagger file from GH Integration #480 ... [EPIC] Zally Integration With GitHub Enterprise #475.
Read more >
[GHE Integration] Design API for GH Integration Layer #477
Acceptance criteria API is designed Swagger file is passing Zally check. ... [EPIC] Zally Integration With GitHub Enterprise #475.
Read more >
[GHE Integration] Local Database #483 - zalando/zally - GitHub
As a Zally GHE Integration Solution user I want to have persistent API Review ... [EPIC] Zally Integration With GitHub Enterprise #475.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found