Organisation
The Organisation service is provides information about the Parro schools
The service
The organisation service is responsible for providing information about Parro schools. The service can check if a school is using Parro and what its pricing plans are. This information can be used within Nexus to check if certain Nexus partners are allowed to make requests for certain schools.
The organisation service uses the schools BRIN to fetch the data from Parro. The service is connected directly with the Parro database to prevent excessive REST calls on the Parro server.
NATS
Request/Reply
| subject | description |
|---|---|
| organisation.v1.get_organisation | The sevice will listen to requests on this subject, and respond with information about the school |
| organisation.v1.get_pricing_plan_periods | The sevice will listen to requests on this subject, and respond with information about the pricing plans of the school |
Consuming
This service does not consume messages from NATS
Publishing
| subject | description |
|---|---|
| connect.v1.error | When an error is thrown a message will be published on the error subject |