From 8990be0a02060d997b95d8e1a73b056eab24ee79 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Fri, 6 Sep 2024 09:16:16 +0000 Subject: [PATCH 1/4] workflow --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..aeac447 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +name: Java CI with Maven +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml \ No newline at end of file From 419dc07c0a75adef7ace6734a9dc0d416c697708 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Fri, 6 Sep 2024 09:19:39 +0000 Subject: [PATCH 2/4] fiksetpanic --- .../ReallyShakyBankingCoreSystemService.java | 8 ++++---- target/classes/Logback.xml | 10 ++++++++++ target/classes/application.properties | 2 ++ .../com/pgr301/exam/BackEndException.class | Bin 0 -> 315 bytes .../com/pgr301/exam/BankAccountApplication.class | Bin 0 -> 752 bytes ...ountController$AccountNotFoundException.class | Bin 0 -> 697 bytes .../com/pgr301/exam/BankAccountController.class | Bin 0 -> 4123 bytes .../pgr301/exam/BankingCoreSystmeService.class | Bin 0 -> 711 bytes .../ReallyShakyBankingCoreSystemService.class | Bin 0 -> 4993 bytes .../classes/com/pgr301/exam/model/Account.class | Bin 0 -> 2791 bytes .../com/pgr301/exam/model/Transaction.class | Bin 0 -> 1683 bytes .../compile/default-compile/createdFiles.lst | 8 ++++++++ .../compile/default-compile/inputFiles.lst | 7 +++++++ 13 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 target/classes/Logback.xml create mode 100644 target/classes/application.properties create mode 100644 target/classes/com/pgr301/exam/BackEndException.class create mode 100644 target/classes/com/pgr301/exam/BankAccountApplication.class create mode 100644 target/classes/com/pgr301/exam/BankAccountController$AccountNotFoundException.class create mode 100644 target/classes/com/pgr301/exam/BankAccountController.class create mode 100644 target/classes/com/pgr301/exam/BankingCoreSystmeService.class create mode 100644 target/classes/com/pgr301/exam/ReallyShakyBankingCoreSystemService.class create mode 100644 target/classes/com/pgr301/exam/model/Account.class create mode 100644 target/classes/com/pgr301/exam/model/Transaction.class create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst diff --git a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java index 15b5d72..4edeeab 100644 --- a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java +++ b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java @@ -28,7 +28,7 @@ class ReallyShakyBankingCoreSystemService implements BankingCoreSystmeService { @Override public void transfer(Transaction tx, String fromAccount, String toAccount) { randomizedWait(2000); - randomizeExceptionOrPanic(0.7f); + randomizeExceptionOrPanic(0.0f); Account from = getOrCreateAccount(fromAccount); Account to = getOrCreateAccount(toAccount); from.setBalance(from.getBalance().subtract(valueOf(tx.getAmount()))); @@ -38,7 +38,7 @@ public void transfer(Transaction tx, String fromAccount, String toAccount) { @Override public Account updateAccount(Account a) { randomizedWait(2000); - randomizeExceptionOrPanic(0.9f); + randomizeExceptionOrPanic(0.0f); Account account = getOrCreateAccount(a.getId()); account.setBalance(a.getBalance()); account.setCurrency(a.getCurrency()); @@ -49,7 +49,7 @@ public Account updateAccount(Account a) { @Override public BigDecimal balance(@PathVariable String accountId) { randomizedWait(10000); - randomizeExceptionOrPanic(0.2f); + randomizeExceptionOrPanic(0.0f); Account account = ofNullable(theBank.get(accountId)).orElseThrow(BankAccountController.AccountNotFoundException::new); return account.getBalance(); } @@ -57,7 +57,7 @@ public BigDecimal balance(@PathVariable String accountId) { @Override public Account getAccount(String accountNumber) { randomizedWait(5000); - randomizeExceptionOrPanic(0.9f, 0.5f); + randomizeExceptionOrPanic(0.0f, 0.0f); return getOrCreateAccount(accountNumber); } diff --git a/target/classes/Logback.xml b/target/classes/Logback.xml new file mode 100644 index 0000000..07a4c3f --- /dev/null +++ b/target/classes/Logback.xml @@ -0,0 +1,10 @@ + + + + %-4relative [%thread] %-5level %logger{35} - %msg %n + + + + + + diff --git a/target/classes/application.properties b/target/classes/application.properties new file mode 100644 index 0000000..badf792 --- /dev/null +++ b/target/classes/application.properties @@ -0,0 +1,2 @@ +management.endpoints.web.exposure.include=* +management.metrics.export.influx.step=1s diff --git a/target/classes/com/pgr301/exam/BackEndException.class b/target/classes/com/pgr301/exam/BackEndException.class new file mode 100644 index 0000000000000000000000000000000000000000..770c7ff1325f12765e57eaabea815e04e9bb4dc9 GIT binary patch literal 315 zcmah^Jx>Bb5PfqW9GobIgvJW3)WX$RSZFLHP+ch0&@amdSMPSoc}MtLRwfku0DqKm zmRJ}YW|BAa-ehL-zP{HR05>>H5g<$uwGpF1IC_;!DROD&;<2`sDfDoq^rAA(5*l~L zn(Ceqo}Nt-Gzop>3bB}%*Oym9uVf(}qE03>Zkng9R* literal 0 HcmV?d00001 diff --git a/target/classes/com/pgr301/exam/BankAccountApplication.class b/target/classes/com/pgr301/exam/BankAccountApplication.class new file mode 100644 index 0000000000000000000000000000000000000000..f92d1607b111b9edb6f118ee29db99ecd78cc5cd GIT binary patch literal 752 zcma)4O;6iE5PcgG96~5Gw3N?7FDT^D1yw4CR7eo1CqpYzr3X%HXEB@DyU}{x^0zpF zdgu@6kE%NBA|(eOYRNO2uQ#)A=J%hUzW|)#poJQi0@T}RV3}cKBEAcr3Z3xJ(L~0M zVfmxd%AGMRb&o~?nhb}r$@na>?~hNoycZe25PEtZ$EMKkd^Sr}ESxgBg%(x=wA)z2 z3x=Mt3D0L%>EzamO#U!-$|GYOAC}IAO6p|`%@B3N`8XhCit?laT}W-J-jL#5?akwwye^|=h4(8MAg39G#Q?5w*xl{0k1 z|Kq^pXF}0iwz^fLk0>r|LWr9cVcN%~ba!U_MR>-Xw3OHyn!?8Nlkzj}Ra5`Y)5frK zO&d{}9I0IS=WA_Txf+5wt7NU*hbWvO`byg5^L8$1Q493-@fHD{j{j<4{&+~Plf_9h z(v99D*h3lKAnC)Pl9wdg{}Rx_CRrYx15PeQJ-6jM=!&e$O6p2c}0T*!qsi>j^q9R3GsV%u8XERMrckPw!wEbH> zRqBBsz>h+Vqp0FgBqVHU#&4d-9>4L=Uspc>yv36yYFJ8qJFkoi#$B{|jPDr3V)P}NIIVN|g#sx<@Lz}B&q@0d;5lq6d_5vS<|99<{K=Z)P zTuuWW@9N!H^{Xg_z}iBGk@lJ^*)hfj74_gk-VLprN?$o`rbkYdbY|U&JfpE3YcrAR zdav9kUvUZ@aPG`=0ZBf8_{NPV9EVWJT{hR-8`<9Bx53`m>=U=ak@B%0?NdD=yUqoz zA4OdSRx2s{6Ng;VDx7E^!E+{9)KO7|A&X>Mt)L zE;vv_lWn9Ud5djpzOJ*s%_zYgwl%bImwku1RYo1cJ>16wkB4|P=ey{!Z!({vi^pjE E2J1z@bpQYW literal 0 HcmV?d00001 diff --git a/target/classes/com/pgr301/exam/BankAccountController.class b/target/classes/com/pgr301/exam/BankAccountController.class new file mode 100644 index 0000000000000000000000000000000000000000..7cb8953e0b745b25401a577e8bc992a022224980 GIT binary patch literal 4123 zcmbtXX;a%q7=G3egpDaKAtB_x2alg@PVxzpd&>AR9_M358D`Zp&<~ivQn24RhC55Lai32#u&{?e%4atM+ zGE6j56HsIZ8^EZYYdFL(Ae@r!RuqC|$0+j+;jHN^QdaZ@?pB2D@)=v2ax0F*IHKWb z631|y;Y>reJH(rlhOD{_vHAPtv}_Z!nFM-qQbolnh8yXSb^N%9`EF*7Gq@}}30^o!G zU3Rf$x+xpZCvgEf#W}%bIFSw$E>~?YO!Qo}Qn5_#kbMSlDTz-oO5rV>8O!C1D~{M; zxD+V$H0)&z#D;P#qu~m}vA1K}kI}$j8m=*nML8}ngwzX^YI!E|H|h-fWL1g{)8R$BWa~5~IYU?0wE0}M zoafG>9~IqMQ826}!!gx+u-PhCOwu>7Cr2Yo8i|j|O-j2xIA7-E>}eHfuZtWa))4Di8R9o&+B>9E`}}eK)7<&s8m!1BO6o$MuGZ`aj7r_xE@a;s%ddQ&8+7E1c6D{MNgIHFiBsMFKC9ajgu%Y)5BU*ONG z+?7+JxJA&fHh*QhW6hhy*s$CO2Btb36`~O}mV_~bN5Rd-gr2&uw76+wNcrPas^E#p;3>Nbj;DtELZi`)v!tif4i|oDn1)z z)0~jEXnZWrY!)0S)+pzT z25}fcpCD*dPIun^4aal9lLE~wJ++x7JY00OV?6;AEh$jLnj(@9^9Q*&dDo`KJ#87TtJ=V!My}KF z1C5(|JQHPP4L>p*e>W+8i})VFDVk+spn-^fG4&}z>o|>YZM1$Ctn@uYZxi&U)5>Vw zH}n$hH+qO+lK#~((1R)ZR|1Ft)A*cLroJ}N>M=i}wUzcdhyH*zJaYaOI$NBpwCvnKrg<;5~)#O_c3|_9(v4QMSy)23070)_rZRR#{s|+0c;^b{QhuQ39=z{NMXJgeZ2M8iFYJ{rHLi2bB5qz<gqZ@F#WPPwT+H zty}rK#=w31(%4M0CP>H?`YFrqiKLN`{a76kgMs{x{R|*ANke!ckTy!Ik`^BteuJwo zaD6AV{P^7ON%iA19!L#*VWdWfxU!V2gIT SNw-P4^gZI(#&i6HzW)IV$DDlt literal 0 HcmV?d00001 diff --git a/target/classes/com/pgr301/exam/BankingCoreSystmeService.class b/target/classes/com/pgr301/exam/BankingCoreSystmeService.class new file mode 100644 index 0000000000000000000000000000000000000000..bd51e85d852b1c8ccfb8775550ee8455818e99f0 GIT binary patch literal 711 zcmZ`%!EzEo5bYs>4JaBliC(;T0uPQ>s`S9c#FSO0h^EBi-aFeY13NR+>@47~dGG`L zD9c{Jr7D5L%xrhR?S8Mj|NQ;+8vs7QiwJ50I?5S2Oa1xVcaoN9ZU^`-~eE>)NH2JhR#*>4Gn^0Xq ld*ylrkD<0gv+J0VPxwS-#;2?JGdS7)a>_9QXMES-`9EaR$OHfY literal 0 HcmV?d00001 diff --git a/target/classes/com/pgr301/exam/ReallyShakyBankingCoreSystemService.class b/target/classes/com/pgr301/exam/ReallyShakyBankingCoreSystemService.class new file mode 100644 index 0000000000000000000000000000000000000000..4510b03b409bb8f3228133933906ec9dc54cf9b4 GIT binary patch literal 4993 zcmcIo`F9i78NDOP9!nm;aoC)&*g(J*20<~D#?;`AV#fE1MHlkSDIY0@>_Tbe`|XcC&VO_S1n-_tGa5B(c@df&`w^FlbMr#?rT(VO?a@7`}8 zzwn<6PXTx({uMz0K^Y+hHK>))a6+9{V}@!@#6}Y*w4@`UcAswQPM3sWYumVtItkaf zoAQos#15&s$ze4cfs9}n^-yFiQLq%tBeNh+ zYEJ3qM6YFQ@tK^XW#XDWttT}JvNNfPrxKP8mDNy1XYGN94-hjDp`L3MEXN87OKsIm zSsDEQ*EU|e|D|;LPJe5Yg6qWArqb5_Q%NoB=$1KZA6890DFm)juomki zG)`#FsNHL8s-tx$lUClO&|R$_7S}Fu$0qd7wxPNFGFD16V*a7d2%6C%V}pW?*d$@? z6?aRBP;ZY)1;PlcTiZN^8P%DL_2?6QT2jxb28C|M78$Jy+7Ok{varxGGR>(;!B9e& zg1a*w4|=dKf_7|^v0Xt7J0vW3jXXyW-7u{hd2KXJv(cc7foaDp6zoEWgt}Zl;n>tE zVY_dvIWlRmg;cqA+M_TO_tFTt3L`WvCTCnwxKTl;P#jcKsoMSjzI^$T>+WXkS8xE` z5^BhMAVq>jTUI(xIHy-ZpV(N>jlFr>*39ILSU;%XH8{j|f+?;`Sg}wDjMrljH^~@M zFpLoiOR6H4;IerdWN+nBFRMB$;>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default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..a04a1ad --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,8 @@ +com/pgr301/exam/BankAccountApplication.class +com/pgr301/exam/model/Transaction.class +com/pgr301/exam/model/Account.class +com/pgr301/exam/BankAccountController$AccountNotFoundException.class +com/pgr301/exam/BankAccountController.class +com/pgr301/exam/BankingCoreSystmeService.class +com/pgr301/exam/BackEndException.class +com/pgr301/exam/ReallyShakyBankingCoreSystemService.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..b1551e8 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,7 @@ +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/BankAccountController.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/model/Transaction.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/BackEndException.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/model/Account.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/BankingCoreSystmeService.java +/home/ec2-user/environment/01-CI-Github-actions/src/main/java/com/pgr301/exam/BankAccountApplication.java From 4a6c213011423632e15bf5b333cee885ebf044bc Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Fri, 6 Sep 2024 09:25:04 +0000 Subject: [PATCH 3/4] compilation error introduced --- .../com/pgr301/exam/ReallyShakyBankingCoreSystemService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java index 4edeeab..6db3a7a 100644 --- a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java +++ b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java @@ -6,7 +6,7 @@ import org.springframework.web.bind.annotation.PathVariable; import java.math.BigDecimal; -import java.util.HashMap; +import java.util.HashMap import java.util.Map; import java.util.logging.Logger; From 61d9bc75830f293e8084b38f1b6eaf55028b94f2 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Fri, 6 Sep 2024 09:31:43 +0000 Subject: [PATCH 4/4] compilation error introduced --- .../com/pgr301/exam/ReallyShakyBankingCoreSystemService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java index 6db3a7a..4edeeab 100644 --- a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java +++ b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java @@ -6,7 +6,7 @@ import org.springframework.web.bind.annotation.PathVariable; import java.math.BigDecimal; -import java.util.HashMap +import java.util.HashMap; import java.util.Map; import java.util.logging.Logger;