-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8d172e6
Showing
337 changed files
with
25,659 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{package,bower}.json] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# All text files should have the "lf" (Unix) line endings | ||
* text eol=lf | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.java text | ||
*.js text | ||
*.css text | ||
*.html text | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary | ||
*.jar binary | ||
*.pdf binary | ||
*.eot binary | ||
*.ttf binary | ||
*.gzip binary | ||
*.gz binary | ||
*.ai binary | ||
*.eps binary | ||
*.swf binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
###################### | ||
# Project Specific | ||
###################### | ||
/src/main/webapp/content/css/main.css | ||
/target/www/** | ||
/src/test/javascript/coverage/ | ||
/src/test/javascript/PhantomJS*/ | ||
|
||
###################### | ||
# Node | ||
###################### | ||
node/ | ||
node_tmp/ | ||
node_modules/ | ||
npm-debug.log.* | ||
|
||
###################### | ||
# SASS | ||
###################### | ||
.sass-cache/ | ||
|
||
###################### | ||
# Eclipse | ||
###################### | ||
*.pydevproject | ||
.project | ||
.metadata | ||
tmp/ | ||
tmp/**/* | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
.factorypath | ||
/src/main/resources/rebel.xml | ||
|
||
# External tool builders | ||
.externalToolBuilders/** | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
###################### | ||
# Intellij | ||
###################### | ||
.idea/ | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*.ids | ||
*.orig | ||
|
||
###################### | ||
# Visual Studio Code | ||
###################### | ||
.vscode/ | ||
|
||
###################### | ||
# Maven | ||
###################### | ||
log/ | ||
target/ | ||
|
||
###################### | ||
# Gradle | ||
###################### | ||
.gradle/ | ||
build/ | ||
|
||
###################### | ||
# Package Files | ||
###################### | ||
*.jar | ||
*.war | ||
*.ear | ||
*.db | ||
|
||
###################### | ||
# Windows | ||
###################### | ||
# Windows image file caches | ||
Thumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
###################### | ||
# Mac OSX | ||
###################### | ||
.DS_Store | ||
.svn | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
###################### | ||
# Directories | ||
###################### | ||
/build/ | ||
/bin/ | ||
/deploy/ | ||
|
||
###################### | ||
# Logs | ||
###################### | ||
*.log | ||
|
||
###################### | ||
# Others | ||
###################### | ||
*.class | ||
*.*~ | ||
*~ | ||
.merge_file* | ||
|
||
###################### | ||
# Gradle Wrapper | ||
###################### | ||
!gradle/wrapper/gradle-wrapper.jar | ||
|
||
###################### | ||
# Maven Wrapper | ||
###################### | ||
!.mvn/wrapper/maven-wrapper.jar | ||
|
||
###################### | ||
# ESLint | ||
###################### | ||
.eslintcache |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
os: | ||
- linux | ||
services: | ||
- docker | ||
language: java | ||
node_js: | ||
- "6.9.4" | ||
jdk: | ||
- oraclejdk8 | ||
sudo: false | ||
cache: | ||
directories: | ||
- node | ||
- node_modules | ||
- $HOME/.m2 | ||
env: | ||
- NODE_VERSION=6.9.1 | ||
before_install: | ||
- nvm install $NODE_VERSION | ||
- npm install -g npm | ||
- npm install -g bower gulp-cli | ||
- node -v | ||
- npm -v | ||
- bower -v | ||
- gulp -v | ||
- java -version | ||
install: npm install | ||
script: | ||
- ./mvnw clean | ||
- ./mvnw test | ||
- gulp test | ||
- ./mvnw package -Pprod -DskipTests | ||
notifications: | ||
webhooks: | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"generator-jhipster": { | ||
"jhipsterVersion": "4.0.0", | ||
"baseName": "blog", | ||
"packageName": "org.jhipster", | ||
"packageFolder": "org/jhipster", | ||
"serverPort": "8080", | ||
"authenticationType": "jwt", | ||
"hibernateCache": "ehcache", | ||
"clusteredHttpSession": false, | ||
"websocket": false, | ||
"databaseType": "sql", | ||
"devDatabaseType": "h2Disk", | ||
"prodDatabaseType": "postgresql", | ||
"searchEngine": false, | ||
"messageBroker": false, | ||
"buildTool": "maven", | ||
"enableSocialSignIn": false, | ||
"jwtSecretKey": "a895eda190e4ddf6eba453aa725bb4da8a565dfc", | ||
"useSass": true, | ||
"clientPackageManager": "yarn", | ||
"applicationType": "monolith", | ||
"clientFramework": "angular2", | ||
"testFrameworks": [ | ||
"gatling", | ||
"protractor" | ||
], | ||
"jhiPrefix": "jhi", | ||
"enableTranslation": true, | ||
"nativeLanguage": "en", | ||
"languages": [ | ||
"en", | ||
"es" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env groovy | ||
|
||
node { | ||
stage('checkout') { | ||
checkout scm | ||
} | ||
|
||
stage('check java') { | ||
sh "java -version" | ||
} | ||
|
||
stage('clean') { | ||
sh "./mvnw clean" | ||
} | ||
|
||
stage('install tools') { | ||
sh "./mvnw com.github.eirslett:frontend-maven-plugin:install-node-and-yarn -DnodeVersion=v6.9.4 -DyarnVersion=v0.19.1" | ||
} | ||
|
||
stage('yarn install') { | ||
sh "./mvnw com.github.eirslett:frontend-maven-plugin:yarn" | ||
} | ||
stage('backend tests') { | ||
try { | ||
sh "./mvnw test" | ||
} catch(err) { | ||
throw err | ||
} finally { | ||
junit '**/target/surefire-reports/TEST-*.xml' | ||
} | ||
} | ||
|
||
stage('frontend tests') { | ||
try { | ||
sh "./mvnw com.github.eirslett:frontend-maven-plugin:gulp -Dfrontend.gulp.arguments=test" | ||
} catch(err) { | ||
throw err | ||
} finally { | ||
junit '**/target/test-results/karma/TESTS-*.xml' | ||
} | ||
} | ||
|
||
stage('packaging') { | ||
sh "./mvnw package -Pprod -DskipTests" | ||
archiveArtifacts artifacts: '**/target/*.war', fingerprint: true | ||
} | ||
|
||
// Uncomment the following block to add Sonar analysis. | ||
/*stage('quality analysis') { | ||
withSonarQubeEnv('Sonar Server') { | ||
sh "./mvnw sonar:sonar" | ||
} | ||
}*/ | ||
|
||
} |
Oops, something went wrong.