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

GSK-58 Project Migration #35

Merged
merged 53 commits into from
May 4, 2022
Merged

GSK-58 Project Migration #35

merged 53 commits into from
May 4, 2022

Conversation

qgk75
Copy link
Contributor

@qgk75 qgk75 commented Apr 13, 2022

  • setting routes for project api (no permissions)
  • deleting controllers for project for the moment
  • updating schema in project

- setting routes for project api (no permissions)
@webappio
Copy link

webappio bot commented Apr 13, 2022

⬇️ Preview environment ⬇️

Screenshot of main page

@andreybavt andreybavt self-requested a review April 14, 2022 08:18
# Conflicts:
#	giskard-server/src/main/java/ai/giskard/web/rest/project/DatasetsController.java
#	giskard-server/src/main/java/ai/giskard/web/rest/project/ModelsController.java
@gitguardian
Copy link

gitguardian bot commented Apr 14, 2022

⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
3028168 Generic High Entropy Secret a6a7631 .env View secret
3028169 Generic High Entropy Secret a6a7631 .env View secret
3028169 Generic High Entropy Secret a6a7631 backend/java-app/.yo-rc.json View secret
3028169 Generic High Entropy Secret a6a7631 backend/java-app/src/main/docker/jhipster-control-center.yml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@qgk75 qgk75 marked this pull request as ready for review April 25, 2022 13:54
Copy link
Contributor

@andreybavt andreybavt left a comment

Choose a reason for hiding this comment

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

Some extra changes to be made, but generally speaking it looks good!

@andreybavt
Copy link
Contributor

also as part of this PR we should get rid of giskard-legacy-server/app/api/api_v1/endpoints/projects.py and migrate the UI to use v2 endpoints

@andreybavt andreybavt self-requested a review April 28, 2022 13:08
@Getter
@Setter
@NoArgsConstructor
public class ProjectPostDTO {
Copy link
Contributor

Choose a reason for hiding this comment

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

description property is missing, it's used here for example: ProjectsHome.submitNewProject

@andreybavt andreybavt changed the title GSK-4 Java migration GSK-58 Project Migration Apr 29, 2022
private int id;

@lombok.Setter
@lombok.Getter
@NotNull
@Unique
@Size(max = 50)
@Column(length = 50)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure you wanted a @unique annotation from checkerframework and not just @column(length = 50, unique=true)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes changing this

@andreybavt andreybavt self-requested a review May 4, 2022 12:31
@andreybavt andreybavt merged commit 99dcc35 into feature/ai-test May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants