JujaLabs / juja-platform

0 stars 7 forks source link

Do not show hidden links #49

Open billMeLater opened 6 years ago

billMeLater commented 6 years ago
Task 'As a user I want to get only not hidden links returned by getAllLinks() method'
Microservice - LINKS
Subtask 'Add 'hide' link logic' from milestone
https://github.com/JujaLabs/juja-platform/milestones/2

1) What is this feature/fix provided for?
    Microservice returns only not hidden links  via getAllLinks() method

2) List the objects you want to add or change, use appropriate API annotations
    Model:
                 @ApiModel 
                 public class Link

                  @ApiModelProperty(value = "Flag means link is hidden or active, ", required = false)
              private boolean hidden;   

    Repository:
        Update method getAllLinks() to exlude hidden links;
        Repository tests: update logic
3) Are there any special requirements or constraints?
4) What behavior do you expect? Any examples?
    Hidden links is not returned by  'getAllLinks' method