Add monitoring to *_PROXY in solitude

RESOLVED FIXED in 2013-05-16

Status

Marketplace
Payments/Refunds
P3
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: clouserw, Assigned: andym)

Tracking

2013-05-16
Points:
---

Details

(Reporter)

Description

5 years ago
We had some troubles earlier because our proxies were pointing to the wrong places.  Lets monitor these endpoints in /services/monitor:

PAYPAL_PROXY = '<%= solitude_proxy %>/proxy/paypal'
BANGO_PROXY = '<%= solitude_proxy %>/proxy/bango'
(Assignee)

Comment 1

5 years ago
What would that monitor? If you call that you'll just get an error because its expecting a HTTP request in a particular format to post to bango or paypal. If you format it for bango or paypal we'll send a request to those endpoints.

If we want to test the proxy we should find a null end point on bango and paypal we can call.
(Reporter)

Comment 2

5 years ago
(In reply to Andy McKay [:andym] from comment #1)
> If we want to test the proxy we should find a null end point on bango and
> paypal we can call.

Yep, find a noop.
(Reporter)

Updated

5 years ago
Priority: -- → P3
(Assignee)

Comment 3

5 years ago
Keir, is there a noop you'd recommend for monitoring?
Flags: needinfo?(keir)

Comment 4

5 years ago
(In reply to Andy McKay [:andym] from comment #1)
> What would that monitor? 

We don't have a specific noop for monitoring. If you want to know if you're pointing in the right direction, you could try getting the WSDL, via https://webservices.bango.com/billingconfiguration/?wsdl
Flags: needinfo?(keir)
(Assignee)

Updated

5 years ago
Assignee: nobody → amckay
Target Milestone: --- → 2013-05-16
(Assignee)

Comment 5

5 years ago
Solitude checks it can speak to the proxy. The proxy checks it can speak to bango. That should eliminate basic networking errors that might occur.
(Assignee)

Comment 6

5 years ago
https://github.com/mozilla/solitude/commit/106510
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.