openownership / register

A demonstration transnational register of beneficial ownership data from the UK, Denmark, Slovakia and Armenia
https://register.openownership.org
GNU Affero General Public License v3.0
18 stars 3 forks source link

PSC-STM-A2: Obtain and test a new PSC Stream key for Open Ownership #241

Open tiredpixel opened 7 months ago

tiredpixel commented 7 months ago

For the prototype, a personal email was used to signup for a PSC Stream key for testing purposes.

However, it will be necessary to have one managed by Open Ownership instead.

In this task, get the new key and test it is possibly to consume data from it.

This depends on A1 as well.

Estimate: 2 hours

StephenAbbott commented 6 months ago

@tiredpixel New account created with Companies House and saved in 1Password vault now.

Ready for you to log in before proceeding to https://developer.company-information.service.gov.uk/manage-applications to sign up for a new PSC Stream key

tiredpixel commented 5 months ago

I registered a test app and created a streaming key. Attempts to fetch data through it haven't been successful so far, however. Having checked Ingester PSC code to ensure the API endpoints and such are still up-to-date, I debugged the responses, but it seems that nothing is returned regardless of API key, yet there is no error.

Thinking perhaps this could be a difference between the test and live app service, I went to create a live app, and saw this in the Companies House console: Screenshot from 2024-04-15 18-31-44

Not only that, but the app and streaming key I created have vanished from the console, whereas they were listed there earlier. I will have to try again another time.

tiredpixel commented 5 months ago

The Companies House Developer Hub console is back online.

I attempted again to use a test application streaming key, but no data was returned.

I then signed up for a live application streaming key, and data was returned, albeit it very slowly.

The existing code then crashed with an error, but that's a different issue.

It appears that it is possible to consume data with a streaming key from the service, so we can consider this as done.