anderzzz / devops-capstone-project Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
As a developer
I need to create a CD pipeline to automate deployment to Kubernetes
So that the developers are not wasting their time doing it manually
Given the CD pipeline has been created
When I trigger the pipeline run
Then I should see the accounts service deployed to OpenShift
As a Developer
I need to be able to delete an account from the service
So that all data and associations with the service are removed
* [document what you know]
Given an authorized connection and a valid account with a unique identifier
When that unique account identifier is provided through the authorized connection to the delete function
Then all data associated with the account with that unique identifier are deleted from the database
And the unique identifier is retired such that no new account is associated with that identifier
As a service provider
I need my service to use security headers and CORS policies
So that my web site is not vulnerable to CORS attacks
Given the site is secured
When a REST API request is made
Then secure headers and a CORS policy should be returned
As a Developer
I need to be able to update account data
So that any errors in said data can be fixed
* [document what you know]
Given an authorized connection and a valid account with a unique identifier
When that unique account identifier is provided through the authorized connection to the update function
And one account field key is provided along with a valid value through the same connection
Then the value of the account field with said key is changed to the new valid value
And all other account fields remain unchanged
As a Developer
I need automation to build and test every pull request
So that I do not have to rely on manual testing of each request, which is time-consuming
Given code is ready to be merged
When a pull request is created
Then GitHub Actions should run linting and unit tests
And the badge should show that the build is passing
As a service provider
I need my service to run on Kubernetes
So that I can easily scale and manage the service
Given the Kubernetes manifests have been created
When I use the oc command to apply the manifests
Then the service should be deployed and run in Kubernetes
As a Developer
I need to be able to read account data
So that any data on completed and pending orders, and user name and address can be used to instruct fulfilment actions
* [document what you know]
Given an authorized connection and a valid account with a unique identifier
When that unique account identifier is provided through the authorized connection to the read function
Then all completed and pending order data for said account are listed along with name and address associated with the account
As a developer
I need to containerize my microservice using Docker
So that I can deploy it easily with all of its dependencies
Dockerfile
for repeatable buildsPython:3.9-slim
image as the baseroot
gunicorn
wsgi server as an entry pointGiven the Docker image named accounts has been created
When I use `docker run accounts`
Then I should see the accounts service running in Docker
As a Developer
I need to be able to list all accounts in the service
So that an overview of current accounts is obtained
* [document what you know]
Given an authorized connection
When a list all command is invoked through the authorized connection
Then all unique account identifiers are listed for current accounts
As an Operations Manager
I need to be able to set up the development environment
So that development and testing of new features are done in the appropriate environment
* [document what you know]
Given a configuration of a development environment in a text format
When the configuration text file is machine interpreted and of valid syntax
Then within 5 minutes, a development environment is set up as configured
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.