francostellari / devops-capstone-project Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
As a user
I need to be able to delete a customer entry
So that it is removed from the application
* A would like to be able to completely remove the record of a customer XYZ from the application so that it is no more accessible
gherkin
Given a customer XYZ in the application
When I delete the record of customer XYZ
Then the record of customer XYZ should be removed from the application and not be accessible anymore
As a developer
I need to create a CD pipeline to automate deployment to Kubernetes
So that developers aren't wasting their time doing it manually
gherkin
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 user
I need to retrieve a list of the accounts
So that I can get a list of all the accounts available in the application
* [document what you know]
gherkin
Given a list of accounts available in the application
When I request a list of accounts
Then I should get a full list of all the accounts available
As a developer
I need to setup a development environment
So that I can start working on the project
* On my windows machine I need to install vagrant to be able to bring up the development environment
gherkin
Given a cloned copy of the Git repo
When i run the command `vagrant up`
Then I should have a ready to use development environment
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 user
I need to read an customer account from the service
So that I get the customer information
* Assuming that I have the microservice running with some customer information in it, I would like to call on the RESTful API to get a specific customer information
gherkin
Given a running microservice with XYZ customer information in it
When I trigger the restful API to get customer XYZ
Then I should get the customer XYZ information
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 create a Docker container of the microservice application
So that it can be deployed in the cloud
* Given the Python code of the microservice application, I need to to create a Dockerfile that packages the code into a container
gherkin
Given the local Python code of the application that has been tested to work
When I run the docker build command
Then I should get a docker container image corresponding to the python code
As a user
I need update a customer information
So that the new customer information is saved in the application
* Given a customer XYZ, I would like to change some detail about the customer information, such as the address, so that it is updated in the application for future use
gherkin
Given A customer XYZ with `address1`
When When I update it's address to `address2`
Then The new `address2` should replace the previous `address`1 and be stored in the application for future retrieval
As a user
I need deploy the Docker image of the microservice in Kubernetes
So that the microservice can be run and accessed in the cloud
* Give the Docker container image of the microservice application, I need to deploy it into Kubernetes using appropriate YAML
gherkin
Given the existing Docker image of the microservice
When I deploy it into a Kubernetes cluster
Then I should be able to access the features of the microservice from the cloud
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.