Skip to content

Add security package modules with unit tests #25

Closed

Activity

  1. sarthakgupta072 commented on Mar 29, 2020

    @sarthakgupta072
    MemberAuthor

    https://github.com/elixir-cloud-aai/proTES/tree/dev/pro_tes/security doesn't have decorators.py module unlike wes_elixir and proWES. Do, we need to include this as a part of archetype?

  2. added
    flag: good 1st issue
    priority: medium
    type: feature
    workload: minutes
    on Mar 29, 2020
  3. uniqueg commented on Mar 30, 2020

    @uniqueg
    Member

    Thanks @sarthak-sopho! It's a little complicated. I will need some time to look at this in detail to figure out what the most up-to-date version is

  4. uniqueg commented on Apr 20, 2020

    @uniqueg
    Member

    Okay @sarthak-sopho, I have just worked quite a bit on cwl-WES's version of security/decorators.py - which is now the most up-to-date version and so should be the one to use here. See elixir-cloud-aai/cwl-WES#151

  5. added
    workload: hours
    and removed
    workload: minutes
    on May 18, 2020
  6. uniqueg commented on May 18, 2020

    @uniqueg
    Member

    Things to note here:

    • check for required parameters to pass through the decorator in order to guarantee generic use; also, set reasonable defaults to allow simple use
    • for unit tests relying on service/HTTP calls to identity provider, mock up responses in cases where valid token requirement is essential for the code to proceed
  7. added
    workload: days
    and removed
    workload: hours
    on Jun 11, 2020
  8. uniqueg commented on Jun 11, 2020

    @uniqueg
    Member

    Closed by #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

flag: good 1st issuepriority: mediumtype: featureworkload: days

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions