-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New test #276
Closed
Closed
New test #276
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
713e526
New module for backup_restore_api
sushantpatil1214 dbaf42e
Created gid all API
sushantpatil1214 211bdd8
Created gid all API
sushantpatil1214 f66d8d3
Created API forfetch golden record, Also added logic to creat json fi…
sushantpatil1214 7a54341
Automated python command
sushantpatil1214 67a33f9
Added separate script for backup_restore
sushantpatil1214 f3fef6c
added logic for back date time and folder structure
sushantpatil1214 7b89180
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 b9ee397
Removed unwanted code
sushantpatil1214 b0f8ac3
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 83d4394
Restore Script
sushantpatil1214 7215c76
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 221ea38
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 3a90c42
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 d907b07
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 907cb69
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 eb565bf
Fixed configuration issue in new backup-restore app
sushantpatil1214 177c03d
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 0d64bfd
updated controller routing logic when upload config is null
MatthewErispe cfcc40f
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 1295e17
draft commit with raw code for insert golden record
sushantpatil1214 c1cfba9
Added logic for restore Golden records with sourceId'd and Interaction
sushantpatil1214 2db6844
removed unused dependancy
sushantpatil1214 0416652
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 fc2e185
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 50d046e
Added bash script logic for restore records using python script
sushantpatil1214 b443b43
Merge branch 'CU-86bymxhug_Create-restore-endpoint-in-backup-api' of …
sushantpatil1214 039d700
Handeled AuxGID and AuxIID for old implimantations
sushantpatil1214 1ae62b6
Merge branch 'dev' into backup_restore_api_86bymxdnb
sushantpatil1214 0a2f7f0
Merge branch 'backup_restore_api_86bymxdnb' into CU-86bymxhug_Create-…
sushantpatil1214 c8d7bdd
Merge pull request #253 from jembi/CU-86bymxhug_Create-restore-endpoi…
MatthewErispe c88aa67
CU-86bzh9jxb - Update Restore to Set UIDs
MatthewErispe 8bec83a
add backup restore api to docker stack high
MatthewErispe 1e3ab2d
add data system config dir
MatthewErispe e2f56b9
add volume to bootstrapper
MatthewErispe b8f2d7b
fix volume config
MatthewErispe c6b9421
add scale config to high setting
MatthewErispe af6c8ba
add volume data-config
MatthewErispe 530a092
add placement node config
MatthewErispe dfce8d4
add missing config volume
MatthewErispe 199fe43
Added backup restore using API
sushantpatil1214 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,116 @@ | ||
### Java template | ||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
### Maven template | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
dependency-reduced-pom.xml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
# https://github.com/takari/maven-wrapper#usage-without-binary-jar | ||
.mvn/wrapper/maven-wrapper.jar | ||
|
||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/**/usage.statistics.xml | ||
.idea/**/dictionaries | ||
.idea/**/shelf | ||
|
||
# Generated files | ||
.idea/**/contentModel.xml | ||
|
||
# Sensitive or high-churn files | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
.idea/**/dbnavigator.xml | ||
|
||
# Gradle | ||
.idea/**/gradle.xml | ||
.idea/**/libraries | ||
|
||
# SonarLint | ||
.idea/sonarlint | ||
|
||
# Gradle and Maven with auto-import | ||
# When using Gradle or Maven with auto-import, you should exclude module files, | ||
# since they will be recreated, and may cause churn. Uncomment if using | ||
# auto-import. | ||
# .idea/artifacts | ||
# .idea/compiler.xml | ||
# .idea/jarRepositories.xml | ||
# .idea/modules.xml | ||
# .idea/*.iml | ||
# .idea/modules | ||
# *.iml | ||
# *.ipr | ||
|
||
# CMake | ||
cmake-build-*/ | ||
|
||
# Mongo Explorer plugin | ||
.idea/**/mongoSettings.xml | ||
|
||
# File-based project format | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# Editor-based Rest Client | ||
.idea/httpRequests | ||
|
||
# Android studio 3.1+ serialized cache file | ||
.idea/caches/build_file_checksums.ser | ||
|
||
# Ignore config-api.json, should be copied from JeMPI_Apps/JeMPI_Configuration on build | ||
config-api.json |
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,12 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -u | ||
|
||
source $PROJECT_DEVOPS_DIR/conf/images/conf-app-images.sh | ||
source ../build-check-jdk.sh | ||
|
||
JAR_FILE=${BACKUP_RESTORE_API_JAR} | ||
APP_IMAGE=${BACKUP_RESTORE_API_IMAGE} | ||
APP=backup-restore-api | ||
source ../build-app-image.sh |
34 changes: 34 additions & 0 deletions
34
JeMPI_Apps/JeMPI_BackupRestoreAPI/checkstyle/suppression.xml
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,34 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!DOCTYPE suppressions PUBLIC | ||
"-//Puppy Crawl//DTD Suppressions 1.1//EN" | ||
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> | ||
|
||
<suppressions> | ||
|
||
<suppress | ||
checks="(JavadocMethod|JavadocVariable|JavadocStyle|JavadocPackage|JavadocType)" | ||
files="().java" | ||
/> | ||
|
||
<suppress | ||
checks="(LineLength|AvoidStarImport|MagicNumber)" | ||
files="().java" | ||
/> | ||
|
||
<suppress | ||
checks="(VisibilityModifier|HiddenField)" | ||
files="().java" | ||
/> | ||
|
||
<suppress | ||
checks="(DesignForExtension)" | ||
files="User.java" | ||
/> | ||
|
||
<suppress | ||
checks="(ParameterNumber)" | ||
files="(PsqlQueries|BackEnd|Routes).java" | ||
/> | ||
|
||
</suppressions> |
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,3 @@ | ||
* | ||
!.gitignore | ||
!Dockerfile |
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,13 @@ | ||
ARG JAVA_VERSION | ||
|
||
FROM eclipse-temurin:${JAVA_VERSION}-jre | ||
|
||
ADD JeMPI_BackupRestoreAPI-1.0-SNAPSHOT-spring-boot.jar /app/app.jar | ||
|
||
RUN printf "#!/bin/bash\n\ | ||
cd /app\n\ | ||
java -server -XX:MaxRAMPercentage=80 -jar /app/app.jar\n" > /entrypoint.sh | ||
|
||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace ADD with COPY for better practice.
Using
COPY
instead ofADD
is recommended for simple file transfers as it avoids potential unexpected behaviors like auto-extraction of archives.Committable suggestion
Tools
Hadolint