Available at https://api.eclipse.org/cbi/sponsorships
The API provides 2 root objects:
memberOrganizationsBenefits, an array listing the number of resource packs and dedicated agents each eligible member gets as per https://wiki.eclipse.org/CBI#Resource_Packs_Included_in_MembershipsponsoredProjects, an array on project sponsorship. For each sponsored project, there is a list ofsponsoringOrganizationsdescribing the number of resource packs and/or dedicated agent attributed to the project. It can also contain some metadata (requestTickets) about the sponsorship request and an eventualcomment.
- cbiSponsoredProjects.json - defines actual sponsorship of one or more projects by one or more eligible member organisations
- This file needs to be updated (manually or with a script) when a new sponsorship is requested via a HelpDesk ticket.
- cbiSponsorships.json - static content of the CBI Sponsorship API
To build cbiSponsorships.json locally, you can execute the build.sh script.
This script runs the following two actions:
- Gather member organization benefits from Membership API (requires authenticated access to Membership API!)
memberOrganizationsBenefits.shCreates file: memberOrganizationsBenefits.json
- Generate Sponsorship API
./build.shCreates file: cbiSponsorships.json
Run job in jenkins webdev instance: https://foundation.eclipse.org/ci/webdev/job/cbi-sponsorships-api
./showStats.sh- jq
- jsonnet
- kubectl
- pass (with access to the IT pass repository)