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

Cost Explorer (Usage and Cost) update #1166

Closed
HollyJoyPhillips opened this issue May 6, 2020 · 0 comments · Fixed by #1180
Closed

Cost Explorer (Usage and Cost) update #1166

HollyJoyPhillips opened this issue May 6, 2020 · 0 comments · Fixed by #1180
Assignees
Labels
enhancements Relates to a feature enhancement front-end Relates to front end issues marketplace Relates to the Marketplace

Comments

@HollyJoyPhillips
Copy link
Contributor

Summary: As we now have the endpoint for the Cost Explorer we need to update this section on the Billing tab in Analytics

Endpoint: https://dev.platformmarketplace.reapit.net/trafficevents/swagger/index.html
/billing/{month}

Location: https://dev.marketplace.reapit.cloud/developer/analytics/billing

  • The ‘Month’ dropdown menu should only show months since and including the date the developer registered (created). For example, if the developer registered in ‘January 2020’ the dropdown menu would only display:
    May2020
    April 2020
    March2020
    February 2020
    January 2020

If a developer registered in ‘April 2020’ then it would only show:
May2020
April 2020

To populate the table:
We will need to query the billing/{month} endpoint by providing the applicationId(s) of all apps associated to that developer (like we are doing for the transaction history section) and specify the month (YYYY-MM) as per the selection from the dropdown menu

Based on the table layout we should use the following:
Resource = serviceName
Endpoints = endpointCount
API Calls = requestCount
Cost = cost

For the subsections to each Resource (serviceName) we should display the ‘requestsByEndpoint’

@HollyJoyPhillips HollyJoyPhillips added marketplace Relates to the Marketplace enhancements Relates to a feature enhancement front-end Relates to front end issues labels May 6, 2020
@ant066 ant066 self-assigned this May 8, 2020
@ant066 ant066 linked a pull request May 11, 2020 that will close this issue
ant066 pushed a commit that referenced this issue May 11, 2020
ant066 pushed a commit that referenced this issue May 11, 2020
ant066 pushed a commit that referenced this issue May 11, 2020
ant066 pushed a commit that referenced this issue May 11, 2020
* feat: #1166 Cost Explorer (Usage and Cost) update

* chore: #1166 update actionType name

* chore: #1166 update follow PR comment

* chore: #1166 update file name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements Relates to a feature enhancement front-end Relates to front end issues marketplace Relates to the Marketplace
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants