Skip to content

Get Events by Foundation SFDC #1237

Closed
Closed

Description

@dealako

Summary

Get Events by Foundation SFDC

Background

Fetch events by FoundationSFDC.

See PRD table 1 step 3.

User Story

As a project manager, I want to see the events for the CLA Group at the foundation level.

Acceptance Criteria

The "done" criteria when this feature or problem is resolved. Such as:

  1. Unit Tests added and running in CI
  2. Functional Tests updated to cover feature, if applicable
  3. Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References

Activity

  1. added
    API
    enhancement
    Project Console V2
    on Jun 16, 2020
  2. self-assigned this
    on Jun 16, 2020
  3. dealako commented on Jun 16, 2020

    @dealako
    ContributorAuthor

    Added PR for the Swagger: #1238

  4. added a commit that references this issue on Jun 16, 2020
  5. dealako commented on Jun 16, 2020

    @dealako
    ContributorAuthor

    Depoyed Swagger spec to DEV - need to complete the repository impl and confirm CSV writer works.

  6. nirupamav commented on Jul 9, 2020

    @nirupamav

    Tested and observed below issues
    Endpoint https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/events/foundation/a0941000005osNmAAI

    1. Observed that few events were not fetched. Tried below actions and they were not fetched in events.
    • Delete CLA group
    • Add github username in approval list
    • Individual contribution ICLA signature
    • Corporate contribution ICLA signature
      @pranab-bajpai @dealako Could you please me know what all events are fetched by this endpoint
    1. For event type "UserAssociatedWithCompany" below is the event data where None is displayed instead of user details. Also is this even when contributor is added to approval list? If it is different which event is this?
      image.png

    2. For event type "cla_manager.added" observed that company name and project name is not displayed in event data
      image.png

    3. Also when CLA group is created even data mentions it as project created
      image.png

    4. When CCLA is signed by CLA Manager the event is displayed as EmployeeSignature. Doesn't employee signature mean ICLA signature by employee?
      image.png

  7. dealako commented on Jul 10, 2020

    @dealako
    ContributorAuthor

    @nirupamav thanks so much for reviewing the above.

    • Regarding Update code license statements #1
      • CLAMangerDelted event looks to be configured correctly via this bit of code
      • Add GitHub username to the approval list is configured to log the even per this bit of code. All the events relating to the approval list should be generated from this function. Type is: cla_manager.approval_list_updated
      • Updated event code for ICLA and CCLA signature signing
    • Resolved Update code license statements #2 added additional details/parameters
    • Resolved Add license text for keycloak #3 item above, parameters were not provided to event logger
    • Resolved Documentation Update #4 updated text
    • Resolved Update DEV.md #5: ICLA is individual, CCLA is slang for both Corporate CLA signed by CLA Manager and Employee Signature. But, in this case you are mentioning it is the CLA document signed by the signatory. I have updated the event logging logic to account for logging all events.

    Here's the PR

  8. added a commit that references this issue on Jul 10, 2020
  9. 11 remaining items

  10. removed this from the milestone on Oct 21, 2020
  11. rinkeshbhutwala commented on Oct 27, 2020

    @rinkeshbhutwala
    Contributor

    @dealako I have verified this ticket and found that all the events are coming from the python side and over there we have checked if the user is empty then we have set it as None

  12. vinod-kadam commented on Dec 3, 2020

    @vinod-kadam

    Corresponding LFX ticket for this one is LFX-2113.

  13. added a commit that references this issue on Jan 7, 2021
  14. added a commit that references this issue on Jan 7, 2021
  15. vinod-kadam commented on Jan 8, 2021

    @vinod-kadam

    As updated by @wanyaland, he raised a PR yesterday & it has been merged so available for testing on Dev env.
    @amolsontakke3576 please verify.

  16. amolsontakke3576 commented on Jan 8, 2021

    @amolsontakke3576
    Contributor

    Verified with @wanyaland and now for ICLA EventCompanyName removed.
    PFA
    Screenshot 2021-01-08 at 16.32.59.png

  17. vinod-kadam commented on Jan 11, 2021

    @vinod-kadam

    As updated by @amolsontakke3576 , he verified that for CCLA, EventCompanyName is being properly returned so this is not broken.

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

Metadata

Metadata

Assignees

Labels

APIProject Console V2enhancementv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions