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

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

Open
tiredpixel opened this issue Feb 28, 2024 · 3 comments
Open
Assignees

Comments

@tiredpixel
Copy link
Contributor

tiredpixel commented Feb 28, 2024

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
Copy link
Member

@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 tiredpixel self-assigned this Apr 15, 2024
@tiredpixel
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants