Code Monkey home page Code Monkey logo

probation-teams's Introduction

probation-teams

repo standards badge CircleCI API docs

Probation Team Contact and Reference Service

There is a command line script at scripts/probation-teams.sh that can be used to test the service.

Run the script without any arguments for some help text.

In 'dev' you can exercise all the endpoints like so:

# list the FMBs in the N02 probation area
./probation-teams.sh -ns dev -pa N02

# list the FMBs in ldu N02All in probation area N02
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

# update an ldu FMB
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -update [email protected]

# check it
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

# delete the FMB
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -delete

# check
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

# add the FMB
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -update [email protected]

# update a team's FMB
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -team N02AZR -update [email protected]

# check
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

# delete
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -team N02AZR -delete

# check
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

# add
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL -team N02AZR -update [email protected]

# check
./probation-teams.sh -ns dev -pa N02 -ldu N02ALL

Pipe the 'GET' output into jq for something more readable.

You must have suitable kubernetes access to the cluster namespace for this to work. (licences-dev in this instance)

The script scripts/smoke-dev.sh encapsulates these steps, but you must confirm the output manually.

probation-teams's People

Contributors

andrewrlee avatar bell-pa avatar connormaglynn avatar gurnankcheema avatar gurps-singh avatar louisenorris avatar mattops avatar michalnawrockidj avatar mjwillis avatar nishanthmahasamudram avatar petergphillips avatar simonmitchellmoj avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

probation-teams's Issues

A branch protection setting is not enabled: codeowners require reviews

Hi there
The default branch protection setting called codeowners require review is not enabled for this repository
This option affects a pull request, i.e a PR will need to be reviewed and approved by a CODEOWNER before it can be merged.
See repository settings/Branches/Branch protection rules
Either add a new Branch protection rule or edit the existing branch protection rule and select the Require review from Code Owners option
Create a .github/CODEOWNERS file
Add a or multiple entries of @ministryofjustice/team_name to the CODEOWNERS file
The team_name shall be a team from within the MoJ teams: https://github.com/orgs/ministryofjustice/teams
See GH Codeowners documentation: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

User access removed, access is now via a team

Hi there

The user emileswarts had Direct Member access to this repository and access via a team.

Access is now only via a team.

You may have less access it is dependant upon the teams access to the repo.

If you have any questions, please post in #ask-operations-engineering on Slack.

This issue can be closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.