Giter Site home page Giter Site logo

1aziz-zz / studentapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 215 KB

A simple demo application I created during my internship at Valtech.

Python 24.75% Java 39.01% CSS 11.89% FreeMarker 24.04% Shell 0.31%
internship kubernetes demo-application spring-boot cloud docker

studentapp's Introduction

Internship assignment

As a part of my internship assignment, I started working on this demo application to use it in a Continuous Delivery pipeline I built using the following tools:

  • Kubernetes - an open-source container cluster manager (default on Google Cloud Platform), works great with Docker
  • Google Cloud Platform - where Kubernetes master and workers live!
  • Travis CI- to test and build the app, create Docker images and push to a Docker registry on cloud
  • Docker - an open-source application container engine: manages containers, where StudentApp should live in!
  • FF4J - a Feature Toggles implementation

Demo application: Student App

This simple Spring Boot web application contains different if-statements for visibility or availability of specific internal functionalities (features). Code related to each feature will only get executed if the feature status is 'enabled'. Feature objects (containing status of each feature) are provided by a service called Features Service.

Avoiding database conflicts

(not configured as default)

After a rolling-update on a Kubernetes cluster there might occur database schema conflicts if the new release changes or removes any existing table of column which basically are belonged to the old/existing release. At the end and after any rolling-update, there must be only one shared storage used by all nodes in the cluster.

That's the reason why there's a Python application available on this project too. The Python script compares the old/existing database schema to the Hibernate mapping file in the current release to see if there are any unused or empty tables. It also checks the new database file for occurrence of any SQL commands which remove or change anything from the existing database structure (except unused or empty tables).

studentapp's People

Contributors

1aziz avatar

Watchers

James Cloos avatar Aziz  avatar

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.