Skip to content

Conversation

@sauravsapkota
Copy link
Contributor

@sauravsapkota sauravsapkota commented Jul 24, 2024

Addresses

Changes

Convert REST API for Analysis CRUD to GraphQL mutation

This PR doesn't introduce any:

  • temporary files, auto-generated files or secret keys
  • n+1 queries
  • flake8 issues
  • print
  • typos
  • unwanted comments

This PR contains valid:

  • tests
  • permission checks (tests here too)
  • translations

@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch from bbcda71 to 12ce2e0 Compare July 24, 2024 09:55
@sauravsapkota sauravsapkota changed the title WIP: Convert REST API for Analysis creation to GraphQL mutation WIP: Convert REST API for Analysis CRUD to GraphQL mutation Jul 24, 2024
@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch 2 times, most recently from 752e009 to b3ea86f Compare July 25, 2024 06:34
@sauravsapkota sauravsapkota changed the title WIP: Convert REST API for Analysis CRUD to GraphQL mutation Convert REST API for Analysis CRUD to GraphQL mutation Jul 25, 2024
@sauravsapkota sauravsapkota requested a review from sudan45 July 25, 2024 12:04
@sauravsapkota sauravsapkota marked this pull request as ready for review July 25, 2024 12:04
@sauravsapkota sauravsapkota changed the title Convert REST API for Analysis CRUD to GraphQL mutation Analysis Module: Implement Analysis Mutation to setup a new analysis Jul 26, 2024
Copy link
Collaborator

@susilnem susilnem left a comment

Choose a reason for hiding this comment

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

Let's verify.

@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch from db630f4 to d68451c Compare July 29, 2024 11:46
@sauravsapkota sauravsapkota changed the title Analysis Module: Implement Analysis Mutation to setup a new analysis WIP: Analysis Module: Implement Analysis Mutation to setup a new analysis Jul 30, 2024
@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch from d68451c to b505c2c Compare July 30, 2024 06:46
@sauravsapkota sauravsapkota changed the title WIP: Analysis Module: Implement Analysis Mutation to setup a new analysis Analysis Module: Implement Analysis Mutation to setup a new analysis Jul 30, 2024
@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch from b505c2c to 2f66047 Compare July 30, 2024 11:53
@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch from 2f66047 to 682f97e Compare July 31, 2024 08:03
@sauravsapkota sauravsapkota requested a review from thenav56 July 31, 2024 08:20
Copy link
Collaborator

@thenav56 thenav56 left a comment

Choose a reason for hiding this comment

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

Almost done

Copy link
Collaborator

@susilnem susilnem left a comment

Choose a reason for hiding this comment

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

Minor changes

@sauravsapkota sauravsapkota force-pushed the feature/add-mutation-for-analysis branch 2 times, most recently from 05d71a4 to cf8a770 Compare August 16, 2024 11:22
@thenav56 thenav56 force-pushed the feature/add-mutation-for-analysis branch from cf8a770 to 56f7199 Compare August 22, 2024 05:13
@sudan45 sudan45 force-pushed the feature/add-mutation-for-analysis branch from 56f7199 to 9ec96c9 Compare October 1, 2024 09:21
@AdityaKhatri AdityaKhatri force-pushed the feature/add-mutation-for-analysis branch from 9ec96c9 to 355a5f5 Compare October 16, 2024 09:45
@sudan45 sudan45 force-pushed the feature/add-mutation-for-analysis branch 2 times, most recently from e8a506e to 49a7bc8 Compare October 18, 2024 09:15
@AdityaKhatri AdityaKhatri force-pushed the feature/add-mutation-for-analysis branch from cb86e92 to a5f03bb Compare November 7, 2024 04:12
@sudan45 sudan45 force-pushed the feature/add-mutation-for-analysis branch from fd94b93 to f1fa1aa Compare November 19, 2024 05:50
Copy link
Collaborator

@Rup-Narayan-Rajbanshi Rup-Narayan-Rajbanshi left a comment

Choose a reason for hiding this comment

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

LGTM

Rename analyis field into analysis_id

Add test cases for Analysis Mutation

Change filter genericscalartype into filtertype

Change filter genericscalartype into filtertype

Remove required False in analyisis pillar analyis

Add analysis pillar delete mutation

Refactor

add return when pillar is not None
@sudan45 sudan45 force-pushed the feature/add-mutation-for-analysis branch from 2ed3854 to e1c5c81 Compare November 19, 2024 06:21
@AdityaKhatri AdityaKhatri merged commit 8c1c56b into develop Nov 22, 2024
5 checks passed
@AdityaKhatri AdityaKhatri deleted the feature/add-mutation-for-analysis branch November 22, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants