Skip to content
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

Nshm 134 add logs to wishlist #72

Merged
merged 30 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0a43264
feat: wishlist logs v1
MrPhotato Nov 9, 2024
284f01d
feat: wishlist logs v2
MrPhotato Nov 9, 2024
eaba988
chore: add NSHM-134-Add-logs-to-wishlist branch to deploy
Nov 10, 2024
d0ec38f
chore: fix target branch to NSHM-134-Add-logs-to-wishlist
Nov 10, 2024
1c76617
chore: delete argo ingress in template
Nov 10, 2024
e8d952b
chore: fix init container clone branch
Nov 10, 2024
082a396
chore: add production dir in db
Nov 10, 2024
9eb4c3c
chore: remove test file in wishlist to trigger build image
Nov 10, 2024
a1df04d
chore: updated image tags for services: wishlist
Nov 10, 2024
7190818
feat: add MQ reconnect for wishlist,change Queue name complying to co…
MrPhotato Nov 10, 2024
f617eba
Merge remote-tracking branch 'origin/NSHM-134-Add-logs-to-wishlist' i…
MrPhotato Nov 10, 2024
a098648
chore: updated image tags for services: wishlist
Nov 10, 2024
a777abd
Merge branch 'main' into NSHM-134-Add-logs-to-wishlist
MrPhotato Nov 10, 2024
a2b41cf
chore: add test file to trigger build image for wishlist
Nov 10, 2024
e379b9a
chore: add NSHM-134-Add-logs-to-wishlist in github workflow yaml
Nov 10, 2024
b08938b
chore: delete test file to trigger build image for wishlist
Nov 10, 2024
0332a96
chore: updated image tags for services: wishlist
Nov 10, 2024
0c36965
chore: add request resources in transaction
Nov 10, 2024
3814841
chore: add db creation in deployment yaml
Nov 10, 2024
8d9c9ec
chore: add db creation in deployment yaml
Nov 10, 2024
65d9df6
fix: add production dir for db init.sql
Nov 10, 2024
32458c0
chore: add transaction in github workflow
Nov 10, 2024
854b0bb
chore: updated image tags for services: transaction
Nov 10, 2024
594d832
fix: comment out prove in wishlist deployment yaml
Nov 10, 2024
1d364ba
fix: change branch NSHM-134-Add-logs-to-wishlist to main
Nov 10, 2024
92102c4
chore: merge from main to wishlist
Nov 10, 2024
a23f48c
fix: add acurator for prove
Nov 10, 2024
692032e
fix: add acurator for prove
Nov 10, 2024
c8af331
chore: add test file to trigger build image for wishlist
Nov 10, 2024
1fcb4a7
fix: redundant setting
Nov 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion argocd/argo-locust-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
project: default
source:
repoURL: 'https://github.com/SE-Row-1/nus-secondhand-market.git'
targetRevision: NSHM-134-Add-logs-to-wishlist
targetRevision: main
path: locust
destination:
server: 'https://kubernetes.default.svc'
Expand Down
2 changes: 1 addition & 1 deletion argocd/argo-nshm-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
project: default
source:
repoURL: 'https://github.com/SE-Row-1/nus-secondhand-market.git'
targetRevision: NSHM-134-Add-logs-to-wishlist
targetRevision: main
path: helm/nshm
destination:
server: 'https://kubernetes.default.svc'
Expand Down
3 changes: 1 addition & 2 deletions envs/account-postgres.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Œ aXOò”¶!öÒ‹Æ=u—ç'uÉS¶C2áÆÁ& g
ÝãÇL)‘g¨ËÅRãJhì‡;5MèÆÿv¯•Ù}E¨hÚ<Ê4ƒTSCòNXÿÎ3t]¾Ñé——½oqª˜±#¢Ìøez´%ž;®ë]Q'g4 Â¬í%hDŒÇûÞzÒ”ìË[²é$åVgéµEßs[Ù
Œ ao )à{köÒ‹° ¿ÅŸ“ ûkð2ŠÇ%yüÚÀ'¾üGh×Y¹xD«†/¾±ò„›œP?"#G’¢ÂdZë™÷Ç6áÓ3«Hì6©-ßváOž‹Õ#°°8]NU×+2RºÊ!¹<«:Uѯ¾<˜°Œ%›?Tð×#FmI ÛÐýÞW:´ÙÒ´žà_uµ-K
Expand Down
Binary file modified envs/account.env.gpg
Binary file not shown.
3 changes: 1 addition & 2 deletions envs/currency.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Œ S·^kÕâöÒjê"èÓÁAø9†¤_{ÎÂ'Ä[sÓìUTú±¾Qà!rÄ1kW7ÞÎðWmâ 'Gµ±ÌüÿŠÃ00DN Ï.
ÓÅ zè¶Õ€nbzéPÃ%`±¿„!SÜžéyéó
Œ K_¹n‹¿,öÒj>ÐMl»%TÙ$ãOLá,Þd t£Y©ò"ȼÖñ-˜RÛOø©c@k ‘L¢Ø­L.üh>|‘Ž=‰Kq9c0êAÈ×s&¼v›S×`›*ïÀ;5;buûN+l(Æ÷E
Expand Down
3 changes: 1 addition & 2 deletions envs/ec2.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Œ ‡Âh9Cå”éöÒÀŒ笇Õ²–KKXœƒYÎ{\*ð*j­t¸Tü|Iÿ z} ùãúEl¸\¹üáXš ‡øXu¤Í‹´å­
ú-Áa¤k¹¼aè{”ßè³A—¼õ3Fj¤ZÔaö¾éÕ›Ð߇7Õÿj2sPno=÷`1ojº"Ɉ說´ ì ªE^ו>ÇÓÎ"/ÒÈ'Èv–<A©+ÍK/9†&fqŠ4]•Hd’¹!èe/àá uáMsr»GøjqiePšœátŠ{¾Åh³'veÄgËPÆ=ÎÑ’ÄBô³f%Ï¥"ÚÖ¶øn.¯Uªe¹gèjý¨¥ÊmîÌ3‘¸x1t&t‡¡\¯ïÔö|Óñ.·©h!·z3i%ëáb©<x‰Õ*ã`žÅü20IMüANuîpºpÁQ’-)•PëÌ û
Œ ‘¥ÀvF)ð‹öÒÀˆ5‡üz×~€_ÛêEX»64òJ:øHðwàÿ|É2Ñ=v*IøXªáJ.­cô»vÃl/&Ÿ",ïJÕ))`\¯‰tØ|Xø<ÿ™+ÅEuι@‰x“qÃwjñ¶¦)¦cõåÖ/ªu½òkvX®Nª9…{{Ð’è–é”`/‘å ùM”¡‘/膹9LcA Âl¨-¹+ß96qt¸o+“ûÝ—•Æ…¬êïÐܾ{žùk!:Õÿˆ«D^|·' _ÜLÀöµs5›¦h)Ø=îõ˜ë8‡eÁÈ’}í¦®RªßôvÀŒvçòs G‘(6ÿ F€Jùwˆ-µŒèºM™ØW[¸ÞØÛxÄžLô‘'-¡xÞ*Ô0oÁñö˜ â3õ ©.»qòļkÆölLþô8ª’ZÇÖó
Expand Down
3 changes: 1 addition & 2 deletions envs/item-mongo.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Œ Î’âÕC9D-öÒ¡?-¿7Ž?œnTK&ÇÖ÷ŠÀIDkÂÀðŸ­Öf0˜ÂúnòMªÊáöÌð¬º@削ݷ`*½ Æäâü7…ªsU÷„  å>ßè+;ô¸ÓŸ¡m
Î>\Z~! ]AЧP"z½Ö„sÙB×úÊ©‚Q_³mÒbéšÿüÍ¯ú9n’¢ÀÞ¹½è[«JÇí=ÑEa
Œ ÁæIðb?~öÒ¡Ô!ÚÍœ¯Ž×F¥\»¶÷”)“t·‰ê_¼‰Õ‘÷¬ÔɨC\Ƴ2õ6cß®kdtùJ¨°ºÊ¥þ³Yäˆc&47B,SRrHŒP©fÕjœÜAjííÙƒãX3[T¸Bº 5?>ãÁ¾šã—§}ýÏ:êÞ;«•H)UéíVk³¨ísMï¦IÙù—«›±(ɤ„3sQ¹C
Expand Down
Binary file modified envs/item.env.gpg
Binary file not shown.
4 changes: 3 additions & 1 deletion envs/notification.env.gpg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Œ 3yÙÛŠæ<KöÒ±×ôÒ½Å4׬DExœÁ½€üt"†žäa‹KCgþÄ*L¼°H»'b2Q|jeÝ…%FÌúÐ<«ý¡©Ï¶¾/wÙ±Ìtض†Üƒ°ÁHt¥UµØ=óƒß.ëdnËÔy§§sIšéá}wÂFÞÖÇÚzòcs†×Pñ³=ið Äâ!Du)Ñ“¿˜Ry­›G©Oš ÙÚ„= ¡DÁ ¦Æ.O´àPZ
Œ ñ)¦úµ²¼2öÒ°²‰Ç~G.AzugæÂ^¶j³>˜#vl£ôÝ‘#:eJ}:gŸ€z8øÜ‘¬er`‘G‹•Ö~ºOW¤ãâLO+0I‰N8à
ÊÅ Gäù¡yk ”KÜ>Zïÿ™ÈÞ³Ph«Úù/ËÕ­Ù3%
_5>™Ý7?x3âH‡Ís ]ÄQ›ïŠ °~÷“@óð“¢QÜÄÛ# ܝJw‰·)]Þ‘Áœ@³gL
Expand Down
3 changes: 1 addition & 2 deletions envs/rabbitmq.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Œ ⍃˜”5œöÒboÛ/s2Ïc·y_Iá$PèU…/±4°ê¯9²Äâ]lÉ\EÎ
÷a\²”sÅ›&­BÁô¸¨g’‹b¨'·i|xEâ.±K*9Ü=]“fA7„ÅÇ]í¾T:¶]
Œ bQž‘qXo–öÒb^o¯¸«húúq40¦c¶ê§y‘ê¿xŽšŽz·UowÏæ8ÑÜþmAØsßë÷à¡ pl´vp ÔÏÈM¶Xú¾³_i@ßÂ=@?†äáóÃ^î)J=¾ºGÿ,–။
Expand Down
Binary file modified envs/web.env.gpg
Binary file not shown.
4 changes: 2 additions & 2 deletions envs/wishlist-mongo.env.gpg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Œ úcº!›ÆövöÒ¦½ ¶À¶à3=7W|\Žð]®˜ÑNzgsIm×ÄBp¯í(@8
•†Ä…óã‰6a{¥]¯\`êCì3fÙRõzãÆ0il ^-~såø¨šqulq’½²ƒœ'½6ψäV˜£-¡…˜°¯ûŠµ0Ùîk›SMøE;ï@WXº3Û¾ïéõ佶¥®ÝL„ìò?P ¸¬jÛ}•;æ_
Œ ãÔ†:y½¦öÒ¥ŒNvYŒ@×hüÚ]ßxj‰YW›·PV—‡Rª½FöÉ0<A_ÓõnA¤šv/° âx²
dù³·äæ„–ÖÄ7R‚5 „Ux1U¡Zj‡ƒ¥'—ãð½b$9ÑFµÔ~*Ÿ°µt¶­Š+–/­wbçFŵ¥ÀÏà³9g…Ɖ$‘‚°MýuKLź=RÀ\ÛÀ›Qy±"Ôð#
Expand Down
Binary file modified envs/wishlist.env.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion helm/nshm/templates/item-mongo/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- "sh"
- "-c"
- |
git clone --branch NSHM-134-Add-logs-to-wishlist https://github.com/SE-Row-1/nus-secondhand-market.git /scripts
git clone --branch main https://github.com/SE-Row-1/nus-secondhand-market.git /scripts
volumeMounts:
- name: init-script
mountPath: /scripts
Expand Down
3 changes: 2 additions & 1 deletion helm/nshm/templates/transaction/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ spec:
args:
- |
export PGPASSWORD=$POSTGRES_PASSWORD && \
psql -h $DB_ENDPOINT -U $POSTGRES_USERNAME -d $DB_NAME -f /scripts/services/transaction/database/init.sql
psql -h $DB_ENDPOINT -U $POSTGRES_USERNAME -d postgres -c "CREATE DATABASE \"nshm-account\""
psql -h $DB_ENDPOINT -U $POSTGRES_USERNAME -d "nshm-account" -f /scripts/services/transaction/database/production/init.sql
volumeMounts:
- name: init-script
mountPath: /scripts
Expand Down
7 changes: 5 additions & 2 deletions helm/nshm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ item:
wishlist:
image:
repository: z1yoon/nshm-wishlist
tag: f617eba726b60b6351b305e5b5b92b8633e85682
tag: b08938b837bc2fb554f3f07bf1e3493f15ff20c8
replicas: 1
resources:
limits:
Expand Down Expand Up @@ -72,12 +72,15 @@ notification:
transaction:
image:
repository: z1yoon/nshm-transaction
tag: latest
tag: 32458c0dfc2c3059ec22d610d55482611530183a
replicas: 1
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi

# Rabbitmq service values
rabbitmq:
Expand Down
4 changes: 4 additions & 0 deletions services/wishlist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- JWT Dependencies -->
<dependency>
Expand Down
Loading