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

Fix moog exrtraction #100

Merged
merged 6 commits into from
Jan 8, 2025
Merged

Fix moog exrtraction #100

merged 6 commits into from
Jan 8, 2025

Conversation

BettyB979
Copy link
Contributor

No description provided.

@BettyB979 BettyB979 marked this pull request as ready for review January 3, 2025 08:14
.andExpect(content().json(jsonAccreditation.toString(), false));
Questioning questioning = questioningService.findbyId((long) idQuestioning);
.andExpect(content().json(jsonAccreditation, false));
Questioning questioning = questioningService.findbyId(idQuestioning);
Set<QuestioningAccreditation> setAccreditationFound = questioning.getQuestioningAccreditations();
QuestioningAccreditation accreditationFound = setAccreditationFound.stream()
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe a first assert to check non empty list ?

private final AddressRepository addressRepository;

final String getEventsQuery = "SELECT qe.id, date, type, survey_unit_id_su, campaign_id "
static final String GET_EVENTS_QUERY = "SELECT qe.id, date, type, survey_unit_id_su, campaign_id "
Copy link
Contributor

Choose a reason for hiding this comment

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

use of """ """ ?

identifier,
id,
id_partitioning as batch_num
distinct on
Copy link
Contributor

Choose a reason for hiding this comment

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

is perf okay with all these queries change ?

public static final String JUNE = "juin";
public static final String JULY = "juillet";
public static final String AUGUST = "août";
private static final String SEPTEMBER = "septembre";
Copy link
Contributor

Choose a reason for hiding this comment

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

SEPTEMBER private ?

@BettyB979 BettyB979 merged commit 38df44c into develop Jan 8, 2025
8 checks passed
@BettyB979 BettyB979 deleted the fix-moog-exrtraction branch January 8, 2025 15:15
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.

2 participants