Skip to content

Commit

Permalink
Love-141: Provision EKS cluster for e-commerce-microservice with XL D…
Browse files Browse the repository at this point in the history
…eploy (#3)

* Add cloudformation templates

* Add CloudFormation vpc and eks-master templates

* vpc and eks CLF temlates

* add workers CF template

* Fixed node-workers template

* Add new CF templates

* Add aws-auth configmap

* change name of stacks

* fix keypair name

* some docs

* xld metadata

* Add provision yml for XLD

* Refactoring xl templates for cli

* Change namespace name

* add kube-system to metadata

* Combine deploy and provision part in one template for xl cli.

* Fix configmap

* Put k8s-plugin credentials to cfm metadata. Fix configmap variable syntax

* remove aws default dict

* add capabilities to xl yaml and fix typo

* add swagger support

* Add steps about manual EKS provisioning.

* LOVE-141 update store app with latest JHipster

* Modifications to README

* Fix formatting in README

* add jcenter repo to gradle

* add AWS ci in infra

* move all ifra items to  cloudformation

* Revert "move all ifra items to  cloudformation"

This reverts commit a5a933a
  • Loading branch information
eltonkevani authored Oct 22, 2018
1 parent ce940a4 commit 019f94f
Show file tree
Hide file tree
Showing 37 changed files with 5,972 additions and 4,614 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
syntax: glob
.gradle/

# Gradle environment specific properties
gradle.properties

# Build output
#src/downloads/
build/
Expand Down
2 changes: 1 addition & 1 deletion store/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"useSass": true,
"websocket": false
}
}
}
2 changes: 1 addition & 1 deletion store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ auto-refreshes when files change on your hard drive.
./gradlew
npm start

Npm is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by
[Npm][] is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by
specifying a newer version in [package.json](package.json). You can also run `npm update` and `npm install` to manage dependencies.
Add the `help` flag on any command to see how you can use it. For example, `npm help update`.

Expand Down
1 change: 1 addition & 0 deletions store/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ dependencies {
compile "io.dropwizard.metrics:metrics-servlet"
compile "io.dropwizard.metrics:metrics-servlets"
compile "net.logstash.logback:logstash-logback-encoder"
compile "com.fasterxml.jackson.datatype:jackson-datatype-json-org"
compile "com.fasterxml.jackson.datatype:jackson-datatype-hppc"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
compile "com.fasterxml.jackson.datatype:jackson-datatype-hibernate5"
Expand Down
51 changes: 51 additions & 0 deletions store/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
rootProject.name=store
profile=dev

# Build properties
node_version=8.11.4
npm_version=6.4.1
yarn_version=1.9.4

# Dependency versions
jhipster_dependencies_version=2.0.20
# The spring-boot version should match the one managed by
# https://mvnrepository.com/artifact/io.github.jhipster/jhipster-dependencies/${jhipster_dependencies_version}
spring_boot_version=2.0.4.RELEASE
# The hibernate version should match the one managed by
# https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/${spring-boot.version} -->
hibernate_version=5.2.17.Final
mapstruct_version=1.2.0.Final

liquibase_hibernate5_version=3.6
liquibaseTaskPrefix=liquibase

## below are some of the gradle performance improvement settings that can be used as required, these are not enabled by default

## The Gradle daemon aims to improve the startup and execution time of Gradle.
## The daemon is enabled by default in Gradle 3+ setting this to false will disable this.
## TODO: disable daemon on CI, since builds should be clean and reliable on servers
## https://docs.gradle.org/current/userguide/gradle_daemon.html#sec:ways_to_disable_gradle_daemon
## un comment the below line to disable the daemon

#org.gradle.daemon=false

## Specifies the JVM arguments used for the daemon process.
## The setting is particularly useful for tweaking memory settings.
## Default value: -Xmx1024m -XX:MaxPermSize=256m
## un comment the below line to override the daemon defaults

#org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

## When configured, Gradle will run in incubating parallel mode.
## This option should only be used with decoupled projects. More details, visit
## http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
## un comment the below line to enable parallel mode

#org.gradle.parallel=true

## Enables new incubating mode that makes Gradle selective when configuring projects.
## Only relevant projects are configured which results in faster builds for large multi-projects.
## http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:configuration_on_demand
## un comment the below line to enable the selective mode

#org.gradle.configureondemand=true
3 changes: 0 additions & 3 deletions store/gradle/profile_dev.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ def profiles = 'dev'
if (project.hasProperty('no-liquibase')) {
profiles += ',no-liquibase'
}
if (project.hasProperty('tls')) {
profiles += ',tls'
}

bootRun {
args = []
Expand Down
Binary file modified store/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion store/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 019f94f

Please sign in to comment.