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

IN-316 make it talk to Sirius #4

Merged
merged 14 commits into from
Aug 3, 2020
Merged

IN-316 make it talk to Sirius #4

merged 14 commits into from
Aug 3, 2020

Conversation

jmackown
Copy link
Contributor

@jmackown jmackown commented Aug 3, 2020

Purpose

OK it's kinda big but a lot of the sirius_service is just copied from the docs api, then added some super basic handler functions to call Sirius.
Amended integration tests to call this branch and behold the results below.

Approach

I added more tests for the sirius_service using hypothesis, which is a library that auto-generates test data based on function inputs. It did throw up a few edge cases, so it's not a direct copy from docs!
This has been beefed up in preparation for making it a shared module.

The terraform DNS change came out of nowhere. It wouldn't build and gave me these errors:
image

Google provided this answer and I made it work, so 🤷

Learning

Checklist

  • I have performed a self-review of my own code
  • I have added relevant logging with appropriate levels to my code
  • I have updated documentation where relevant
  • I have added tests to prove my work
  • I have run the integration tests (results below)

image

Jennifer Mackown added 14 commits July 29, 2020 09:29
Added in some stuff for building Sirius requests
env vars for tests
Experimenting with hypothesis for auto generating test cases
hide the tests that fail :D
forgot
reinstate coverage in ci
missed requirement
lets get sirius
forgot imports
Quick test to see if we can hit sirius, and what we get back when we do. All temporary
Allow access to secrets manager
linting
i can't terraform
blimey I really can't terraform
I'm just gonna do it through the console
This now returns the same payload, added into integrations tests too.
Can't actually run tests atm because something's not building, boo.
one of these might work
Just doing what this guy said: hashicorp/terraform#24527
@jmackown jmackown merged commit 2f1bd01 into master Aug 3, 2020
@jmackown jmackown deleted the IN-316 branch August 3, 2020 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants