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

Changes for getting information of InstitutionHierarchy #685

Merged
merged 3 commits into from
Jun 21, 2022

Conversation

alrom
Copy link
Contributor

@alrom alrom commented Jun 21, 2022

  • WorkshopDto, WorkshopCard, WorkshopES: Institution from InstitutionHierarchy was added to these models.
  • InstitutionHierarchyController.GetParents: Adding current element to result by using new parameter "includeCurrentLevel".
  • Fix InstitutionHierarchyServiceTests.

…od GetParents in InstitutionHierarchy service.
@alrom alrom added enhancement New feature or request backend Issue involves backend functionality labels Jun 21, 2022
@alrom alrom requested a review from a team June 21, 2022 07:45
@alrom alrom self-assigned this Jun 21, 2022
@DmyMi DmyMi requested a review from a team June 21, 2022 12:34
@@ -44,6 +44,10 @@ public class WorkshopES

public string InstitutionHierarchy { get; set; }

public Guid? InstitutionId { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

i did approve, but ID as a Guid field probably should have Keyword attribute. And do we need to have both id and name for elastic?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. Ок.
  2. When we get the result of searching by ES we get the WorkshopES and convert it to WorkshopCard model for returning to front. I think title need to be for showing search result. If I clearly understand how it uses in forms on front )))

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@alrom alrom merged commit 9ca9ac6 into develop Jun 21, 2022
@alrom alrom deleted the Romanchuk/AddTemplateForRedisKeyNaming branch June 21, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue involves backend functionality enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants