Posts

Develop Spring boot REST API in AWS - PART 4/4 (CodePipeline / CI CD)

Image
This is the last video (part4) in this demo series. We will demonstrate how to create the whole CICD pipeline in this tutorial video. It involves the following steps: (1)  Create CodePipeline (2) Add build stage to pipeline (3) Add deploy stage to pipeline (4) Add manual approval step to pipeline Thank for watching! Source Code: https://github.com/babysteps-topro/aws-springboot-pipeline1.git

Develop Spring boot REST API in AWS - PART 3/4 (CodeDeploy / Blue Green Deployment)

Image
In this video tutorial (part3), I have demonstrate the blue/green deployment of  the Spring boot REST API.  I will show you the the following steps in the demonstration: (1)  02:12 Create IAM role (2)  04:07 Create an Application Load Balancer (3)  07:27 Create Security Group For ECS cluster (4)  09:09 Create ECS cluster (5)  11:24 Create Task Definition (6)  14:00 Create ECS Service (7)  17:53 Create CodeDeploy In the next part, I will demonstrate the whole CI/CD pipeline.

Develop Spring boot REST API in AWS - PART 2/4 (ECS Cluster)

Image
In this video tutorial (part2), we continue to explore developing spring boot REST API on AWS. We will focus on ECS in this part. It involves the following steps: (1) AWS ECS Basic  (2) ECS Cluster demo (3) ECS Task Definition demo (4) ECS Service demo Thank for watching! In the next part, I will discuss the CodeDeploy. Source Code: https://github.com/babysteps-topro/aws-springboot-pipeline1.git

Develop Spring boot REST API in AWS - PART 1/4 (CodeBuild + ECR)

Image
This is a demo (part 1) of developing spring boot REST API in AWS. It involves the following steps:   (1) Coding of Spring Boot REST API.   (2) Creating Repository in AWS ECR.   (3) Building with AWS CodeBuild.   (4) Pushing docker image to AWS ECR.    In the next part, I will discuss about ECS cluster, ECS service and ECS task. Source Code: https://github.com/babysteps-topro/aws-springboot-pipeline1.git

Sample Apps: Spring data MongoDB and JSF Integration tutorial (PART 5)

Create, Edit and Delete data with Spring data repository In the last part of this tutorial, we will add create, edit and delete function to the MongoShop Product Catalog application. Table of Contents: 1. Introduction to sample application (MongoShop Product Catalog) 2. MongoDB schema design and data preparation 3. JSF (PrimeFaces) and Spring data MongoDB Integration 4. Enquriy data with spring data repository and mongotemplate 5. Create, Edit and delete data The search page is modified. A modal confirm dialogue box is added before the product is physically deleted updated search.xhtml <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"> <ui:composition template="/template/common.xhtml"> <ui:define name="pageTitle"...

Sample Apps: Spring data MongoDB and JSF Integration tutorial (PART 4)

Table of Contents: 1. Introduction to sample application (MongoShop Product Catalog) 2. MongoDB schema design and data preparation 3. JSF (PrimeFaces) and Spring data MongoDB Integration 4. Enquriy data with spring data repository and mongotemplate 5. Create, Edit and delete data Enquriy data with spring data repository and mongotemplate Spring Data Repository: Spring Data repository abstraction reduces the boilerplate code to write the data access layer of the application. Automatic implementation of Repository interfaces provides simple operation on mongoDB. It helps our product save and delete function make MongoTemplate: MongoTemplate offers convenience operations to create, update, delete and query for MongoDB documents and provides a mapping between your domain objects and MongoDB documents. In our application, since the spring data repository cannot fulfill the requirement of searching function, we use MongoTemplate to archive the searching capability. Custom...

Sample Apps: Spring data MongoDB and JSF Integration tutorial (PART 3)

Table of Contents: 1. Introduction to sample application (MongoShop Product Catalog) 2. MongoDB schema design and data preparation 3. JSF (PrimeFaces) and Spring data MongoDB Integration 4. Enquriy data with spring data repository and mongotemplate 5. Create, Edit and delete data JSF (PrimeFaces) and Spring data MongoDB Integration pom.xml of the project <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelversion>4.0.0</modelVersion> <groupid>com.borislam</groupId> <artifactid>mongoShop</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>MongoShop Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupid>...