Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

🚀🤖 Configure the Cloud Ops Bot to send API request to MoJ SNOW #93

Closed
4 tasks
ASTRobinson opened this issue Jul 6, 2022 · 7 comments
Closed
4 tasks
Labels
enhancement New feature or request

Comments

@ASTRobinson
Copy link
Contributor

ASTRobinson commented Jul 6, 2022

User Story

As a Cloud Ops engineer
I want to use the Cloud Ops Bot to send API requests to the MoJ SNOW service.
So that I can test the new API created in SNOW

Value / Purpose

By completing this initial functionality testing, we can further develop the Cloud Ops Bot to raise incidents from Slack.

Useful Contacts

Cloud Ops Team

Additional Information

Does anyone have a link to the SNOW API documentation? @wanieldilson ?

Definition of Done

Cloud Ops Bot sends API requests to SNOW API to confirm connectivity and basic functionality.

Example - [ ] Documentation has been written / updated

  • README has been updated
  • User docs have been updated
  • Another team member has reviewed
  • Tests are green
@ASTRobinson ASTRobinson added the enhancement New feature or request label Jul 6, 2022
@ASTRobinson ASTRobinson changed the title 🚀 Configure the Cloud Ops Bot to send API request to SNOW 🚀 Configure the Cloud Ops Bot to send API request to MoJ SNOW Jul 6, 2022
@ASTRobinson ASTRobinson changed the title 🚀 Configure the Cloud Ops Bot to send API request to MoJ SNOW 🚀 🤖 Configure the Cloud Ops Bot to send API request to MoJ SNOW Jul 6, 2022
@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 11, 2022

Attempted to deploy latest version to CloudPlatform today. Tagging to v1.0.6 added. Additionally added clearer messages on the bot.

Need to retag and add the secrets for Basic Auth into K8s on CloudPlatform.

@Gary-H9 Gary-H9 changed the title 🚀 🤖 Configure the Cloud Ops Bot to send API request to MoJ SNOW 🚀🤖 Configure the Cloud Ops Bot to send API request to MoJ SNOW Jul 12, 2022
@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 12, 2022

To be completed today:

  • add secrets to cloud platform (docs)
  • add secrets to repo
  • create PR, tag, merge to main

@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 12, 2022

Created secrets in Cloud Platform for the bot following the cloud-platform decode-secret -n cloudopsbot-prod -s cloudopsbot-app-secrets. Suggested section updates relating to a typo and updating existing secrets. Confirmed secrets added using the following command cloud-platform decode-secret -n <namespace> -s <secret>.

@ministryofjustice ministryofjustice deleted a comment from ASTRobinson Jul 12, 2022
@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 12, 2022

PR raised and merged.

Tagging complete. New image built.

@Gary-H9 Gary-H9 transferred this issue from ministryofjustice/nvvs-devops Jul 12, 2022
@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 12, 2022

New PR which makes the SNOW URL a parameter.

@Gary-H9 Gary-H9 closed this as completed Jul 12, 2022
@github-actions
Copy link

CNSA-60 created on Jira board and transitioned to Done

@Gary-H9
Copy link
Contributor

Gary-H9 commented Jul 12, 2022

#95 Raised to capture changing the SNOW URL secret in future.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants