Fix: TIPCommon - Added SOAR API for Job Save Or Update Job Data#574
Fix: TIPCommon - Added SOAR API for Job Save Or Update Job Data#574
Conversation
Summary of ChangesHello @adarshtwy, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request introduces the save_or_update_job method to the SOAR API, supporting both legacy and 1P platforms. While the overall structure is sound, there are some issues in the 1P implementation regarding endpoint parsing logic and minor formatting/documentation details that should be addressed to ensure correctness and adherence to the style guide.
packages/tipcommon/TIPCommon/src/TIPCommon/rest/soar_platform_clients/one_platform_soar_api.py
Outdated
Show resolved
Hide resolved
packages/tipcommon/TIPCommon/src/TIPCommon/rest/soar_platform_clients/one_platform_soar_api.py
Outdated
Show resolved
Hide resolved
packages/tipcommon/TIPCommon/src/TIPCommon/rest/soar_platform_clients/one_platform_soar_api.py
Outdated
Show resolved
Hide resolved
packages/tipcommon/TIPCommon/src/TIPCommon/rest/soar_platform_clients/one_platform_soar_api.py
Show resolved
Hide resolved
packages/tipcommon/TIPCommon/src/TIPCommon/rest/soar_platform_clients/one_platform_soar_api.py
Outdated
Show resolved
Hide resolved
| [project] | ||
| name = "TIPCommon" | ||
| version = "2.3.1" | ||
| version = "2.3.2" |
There was a problem hiding this comment.
run command uv Sync after version upgrade, also needs to update integration_testing version and whl file.
There was a problem hiding this comment.
uv sync - done - updated the lock file
update integration_testing version - Need clarification on what steps needs to be done here.
tipcommon whl file updated after fixing the review comments.
Added SOAR API for Job Save Or Update Job Data
We wanted to have a method in TIPCommon rest API calls which would handle the save or update Job Data for a particular job. As part of the change we have implemented both legacy and 1P Endpoint calls.