Giter Club home page Giter Club logo

devops-capstone-project's Introduction

Hey Viewer! Hi!! ๐Ÿ‘‹

Glad to meet you! ๐Ÿ†
My Github profile potrays my journey from writing program for LOGO to MsDoS, then to first Hello world program in JAVA followed by the first Commit to my code. Currenty working with PYTHON and other languages. It's an ongoing journey with consecutive Efforts and lots of Success and Failures. Thanks for your visit. Be sure to make pull requests if you want to add something and I will be happy to review and merge them if required. Also please โญ if you like any, Much Appreciated ๐Ÿค—

PRs Welcome

Top languages

  • ๐Ÿ”ญ Iโ€™m currently learning Machine Learning and Data Science forthebadge made-with-python
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Data Science related and Open Source Love png3 Projects and Tools
  • ๐Ÿ’ฌ Ask Me Anything ! reguarding the Python Contibutions and for any other Projects related help, I will be very Happy๐Ÿ˜ƒ to entertain them.
  • โšก ForTheBadge built-with-love ForTheBadge built-by-developers

Follow me:

Aditya Kashyap - LinkedIn Aditya Kashyap - Instagram Aditya Kashyap - Twitter Aditya Kashyap - Facebook

devops-capstone-project's People

Contributors

aditya-kashyap avatar

Watchers

 avatar

devops-capstone-project's Issues

Containerize your microservice using Docker

As a developer
I need to containerize my microservice using Docker
So that I can deploy it easily with all of its dependencies

Details and Assumptions

* Create a Dockerfile for repeatable builds
* Use a Python:3.9-slim image as the base
* It must install all of the Python requirements
* It should not run as root
* It should use the gunicorn wsgi server as an entry point     

Acceptance Criteria

Given the Docker image named accounts has been created
When I use docker run accounts
Then I should see the accounts service running in Docker

Copy of Containerize your microservice using Docker

As a developer
I need to containerize my microservice using Docker
So that I can deploy it easily with all of its dependencies

Assumptions

  • Create a Dockerfile for repeatable builds
  • Use a Python:3.9-slim image as the base
  • It must install all of the Python requirements
  • It should not run as root
  • It should use the gunicorn wsgi server as an entry point

Acceptance Criteria

Given the Docker image named accounts has been created
When I use docker run accounts
Then I should see the accounts service running in Docker

Need the ability to automate continuous integration checks

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

Assumptions

* GitHub Actions will be used for the automation workflow
* The workflow must include code linting and testing 
* The Docker image should be postgres:alpine for the database
* A GitHub Actions badge should be added to the README.md to reflect the build status

Acceptance Criteria

gherkin
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

List all accounts in the service

As a client
I need a function to list all accounts
So that I can check accounts

Details and Assumptions

* Already has a database storing accounts

Acceptance Criteria

gherkin 
Given nothing
When I list all accounts
Then all accounts are listed

Update an account in the service

As a client
I need a function to update an account
So that I can change, update and correct the information on this account

Details and Assumptions

* Already have a database storing accounts     

Acceptance Criteria

gherkin 
Given the account id
When I update the new information to the account with this id
Then the account detail is updated

Read an account from the service

As a Client
I need a function to read the detail of an account
So that I can check and verify information from this account

Details and Assumptions

* Already have a database storing accounts    

Acceptance Criteria

gherkin 
Given the account id
When I use this account id to get the detail of this account
Then the service returns the detail of this account

Deploy your Docker image to Kubernetes

As a service provider
I need my service to run on Kubernetes
So that I can easily scale and manage the service

Details and Assumptions

* Kubernetes manifests will be created in yaml format
* These manifests could be useful to create a CD pipeline
* The actual deployment will be to OpenShift     

Acceptance Criteria

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 it in Kubernetes

Create a CD pipeline to automate deployment to Kubernetes

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

Assumptions

  • Use Tekton to define the pipeline
  • It should clone, lint, test, build, and deploy the service
  • Deployment should be to OpenShift
  • It can use a manual trigger for this MVP

Acceptance Criteria

Given the CD pipeline has been created
When I trigger the pipeline run
Then I should see the accounts service deployed to OpenShift

Set up the development environment

As a Developer
I need Development Environment
So that Start my Development Process

Details and Assumptions

* A Development Environment      

Acceptance Criteria

gherkin 
Given the document on how to set up development environment
When I follow instructions in this document
Then I have a fully set up development environment

Need to add security headers and CORS policies

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

Assumptions

  • Flask-Talisman will be used for security headers
  • Flask-Cors will be used to establish cross-origin resource sharing (CORS) policies

Acceptance Criteria

```gherkin
Given the site is secured
When a REST API request is made
Then secure headers and a CORS policy should be returned

Delete an account from the service

As a Client
I need a function to delete an account
So that I can remove unwanted / deactivated account

Details and Assumptions

* Already has a database storing accounts  

Acceptance Criteria

gherkin 
Given the account id
When I call service delete with this account id
Then this account is deleted

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.