keephq / keep

The open-source alert management and AIOps platform
https://platform.keephq.dev
Other
3.13k stars 215 forks source link

[🔌 Provider] ServiceNow ITSM #1261

Open Matvey-Kuk opened 1 month ago

Matvey-Kuk commented 1 month ago

Describe the provider you want to add Provider for https://www.servicenow.com/products/itsm.html

Describe your use case I would love this provider to query all incidents, including metadata (participants, timeline, some other info?), as an event into Keep.

Are you already using Keep? Yes/No

Additional context This provider needs to fetch all incidents from the 3rd party retrospectively. I know that SNOW API is pretty complicated, and the configuration is not easy, so much attention will be paid to the documentation.

Matvey-Kuk commented 1 month ago

/bounty 20

algora-pbc[bot] commented 1 month ago

💎 $20 bounty • Keep (YC W23)

Steps to solve:

  1. Start working: Comment /attempt #1261 with your implementation plan
  2. Submit work: Create a pull request including /claim #1261 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to keephq/keep!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @unworld11 Jun 24, 2024, 12:16:37 PM WIP
🔴 @Anshgrover23 Jun 27, 2024, 10:55:06 AM WIP
unworld11 commented 1 month ago

can you assign this to me? @Matvey-Kuk

unworld11 commented 1 month ago

/attempt #1261

unworld11 commented 4 weeks ago

i keep getting errors regarding google cloud not installed when i am trying to run unit tests, is there anything i should know that i am missing before running it locally

talboren commented 4 weeks ago

i keep getting errors regarding google cloud not installed when i am trying to run unit tests, is there anything i should know that i am missing before running it locally

@unworld11 are you trying to run the unit tests locally? have you ran poetry install or pip install . in Keep's directory?

unworld11 commented 4 weeks ago

i did it locally, it's mostly google cloud dependency issues , when i am running it, i will try once again and get back to you.

unworld11 commented 4 weeks ago
Screenshot 2024-06-26 at 11 38 58 PM
Anshgrover23 commented 4 weeks ago

/attempt #1261

algora-pbc[bot] commented 4 weeks ago

[!NOTE] The user @unworld11 is already attempting to complete issue #1261 and claim the bounty. We recommend checking in on @unworld11's progress, and potentially collaborating, before starting a new solution.

algora-pbc[bot] commented 4 weeks ago

@unworld11: Reminder that in 4 days the bounty will become up for grabs, so please submit a pull request before then 🙏

Anshgrover23 commented 4 weeks ago

@Matvey-Kuk @talboren i have solved the errors of google.cloud.sql and passed the feautre plls check my pr

unworld11 commented 4 weeks ago

@Anshgrover23 i am already working on this issue, the least you could do is to at least ask before you start working, what you did is not how open source works

Anshgrover23 commented 4 weeks ago

@unworld11 sorry bro but I thought you are unable to solve that issue if u have any problem regarding that we can collaboratively work on that and split the bounty.

Anshgrover23 commented 4 weeks ago

@unworld11 have u able to solved the issue bywtheway

unworld11 commented 4 weeks ago

no still stuck on the google cloud issue, i have done the servicenow implementation, the testing is where i was stuck, are you using pytest for unit testing?

Anshgrover23 commented 4 weeks ago

No I am using unittest for testing like this command python -m unittest discover

Anshgrover23 commented 4 weeks ago

I mine also 16 errors are showing but not this one I have solved this one by making pip install google-cloud-sql-connector

unworld11 commented 3 weeks ago

hey , can you review the errors i have @talboren

unworld11 commented 3 weeks ago

@shahargl

Matvey-Kuk commented 3 weeks ago

@unworld11 I can't reproduce the GC issue you're mentioning, also I see that the PR is closed so marking the issue as available for attempts.

algora-pbc[bot] commented 3 weeks ago

The bounty is up for grabs! Everyone is welcome to /attempt #1261 🙌