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

[ZEE-6082] Add specification to DataProduct #69

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

arthurtemple
Copy link
Contributor

@arthurtemple arthurtemple commented Nov 28, 2024

JIRA issue: https://zeenea.atlassian.net/browse/ZEE-6082

PR summary:
  • Ajoute specification à DataProduct
Checklist for Developer:
  • Summary part has been documented
  • Reviewers have been requested
  • Reviews & comments have been taken into consideration
  • Commits have been reworded and history cleaned
Checklist for Reviewer
  • Code has been reviewed, commented and changes have been requested
  • Reviews & comments have been taken into consideration

@@ -74,7 +108,9 @@ public boolean equals(Object o) {
DataProduct that = (DataProduct) o;
return Objects.equals(inputPorts, that.inputPorts)
&& Objects.equals(outputPorts, that.outputPorts)
&& Objects.equals(internalComponents, that.internalComponents);
&& Objects.equals(internalComponents, that.internalComponents)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je ne suis pas extrêmement fan de ces méthodes equals car elle ne comparent pas les champs du type parent.

Copy link
Contributor

Choose a reason for hiding this comment

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

J'avais corrigé les classes Dataset, Vizualisation et DataProcess sur les fonctions equals, hashcode et toString mais j'ai oublié de passer sur les classes de DataProduct :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je suis passé sur DataProduct.

@arthurtemple arthurtemple force-pushed the ZEE-6082/data-product-source branch from f84f3c9 to 09dad17 Compare November 28, 2024 16:12
Copy link
Contributor

@martin-guerre martin-guerre left a comment

Choose a reason for hiding this comment

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

Approuvé mais il faudrait corriger les fonctions equals, hashCode et toString des classes DataProduct

Comment on lines 14 to 18
/** Enum representing the type of the data product. */
public enum Type {
Custom,
DataProductSpecificationDotCom
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Comme vu ensemble : cet enum n'est finalement pas utile.

@arthurtemple arthurtemple force-pushed the ZEE-6082/data-product-source branch from 09dad17 to 6bacb49 Compare December 2, 2024 08:23
@arthurtemple arthurtemple changed the title [ZEE-6082] Add type and source to DataProduct [ZEE-6082] Add specification to DataProduct Dec 2, 2024
@arthurtemple arthurtemple force-pushed the ZEE-6082/data-product-source branch from 6bacb49 to a081c64 Compare December 2, 2024 08:25
@arthurtemple arthurtemple force-pushed the ZEE-6082/data-product-source branch from a081c64 to 7ff9c17 Compare December 2, 2024 08:26
@arthurtemple arthurtemple merged commit 447c32e into main Dec 2, 2024
3 checks passed
@arthurtemple arthurtemple deleted the ZEE-6082/data-product-source branch December 2, 2024 11:02
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.

4 participants