Commit f1e6829
authored
feat: Showing app status on app listing page (#2799)
* wip
* rest-handler commit
* constructors added
* test commit
* minor design change and resthandler dev
* getting app_name and env_name in repo layer
for rbac optimisation
* rabc checks moved to service layer for optimisation
* rbac checks in batch
* getting env_identifier instead of env name
* delete and update methods completed in repo layer
* updating app-status for applisting and cdhandler hook points
* updating app-status for app-store app deployed with gitops
* added AppId field in InstalledAppAndEnvDetails struct
* added update app status hook in fetch resource tree function
* wip
* unstable wire
* sending app_status for overview page via other env api
* fix
* added delete with appid and envid
api's
* deleted active column from db
* fix
* query fix
* query fix
* fix
* update hook added
* fix
* fix
* wire
* wire hyperion
* query output error fix
* delete api fix
* delete api fix for installed apps
* open api helm-app struct updated
* delete query change
* sql up script
* port fix
* delete hook code updated
* unit test skeleton added for repo layer
* cleaned unused code
* unit tests WIP
* unit tests(service layer) done for update api
* unit tests(service layer) done for Delete api
* fix
* mocks
* Integration tests WIP
* integration tests for update method
* integration tests for delete method
* integration tests for delete_with_appid method
* integration tests for delete_with_envid method
* fix
* restructuring
* renaming script number
* minor code restructuring
* refactor tests
* skip tests stmnts added
* added filter support on app_status
* script number changed
* fix
* query fix
* wip
* storing suspended status as hibernating
* app-status filtering for installed apps
* update app-status on appStatus_update_topic nats event
* updated sql script number
* wire
* port fix
* fix
* code review changes
* sql down script
* removed code duplication
* improved logging
* code review changes
* optimised query
* query fix
* removed commented code
* changed error log to warn log
* updated sql script number1 parent 378abc6 commit f1e6829
File tree
33 files changed
+1234
-86
lines changed- api
- appStore
- bean
- helm-app/openapiClient
- restHandler
- client/argocdServer/application
- cmd/external-app
- internal/sql/repository
- appStatus
- mocks
- tests
- app
- helper
- pkg
- appStatus
- appStore
- bean
- deployment
- repository
- service
- tool/gitops
- app
- cluster/repository
- pipeline
- scripts/sql
- specs
- external-app
- util
33 files changed
+1234
-86
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
754 | 763 | | |
755 | 764 | | |
756 | 765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
158 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
159 | 173 | | |
160 | 174 | | |
161 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
806 | 810 | | |
807 | 811 | | |
808 | 812 | | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
809 | 819 | | |
810 | 820 | | |
811 | 821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
449 | 450 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
0 commit comments