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

Caritas 243 remove legacy code #15

Merged
merged 66 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
3e42859
CARITAS-243 - Adapt messageservice.yaml to remove feedback and forwar…
Leandro13Silva13 Jul 25, 2024
3dadd7d
CARITAS-243 - Remove sendNewFeedbackMessageNotification api code
Leandro13Silva13 Jul 26, 2024
e88fabf
CARITAS-243 - Fix sendLiveEvent api as a result of the removal of the…
Leandro13Silva13 Jul 26, 2024
f336c57
CARITAS-243 - Remove sendNewFeedbackMessageNotification api tests and…
Leandro13Silva13 Jul 26, 2024
1b5e3b1
CARITAS-243 - Remove NEW_FEEDBACK_MESSAGE_FROM_ADVICE_SEEKER
Leandro13Silva13 Jul 26, 2024
40a42ae
CARITAS-243 - Fix tests as a result of the removal of NEW_FEEDBACK_ME…
Leandro13Silva13 Jul 26, 2024
7bf3148
CARITAS-243 - Fix tests as a result of the removal of NEW_FEEDBACK_ME…
Leandro13Silva13 Jul 26, 2024
f5a4763
CARITAS-243 - Fix tests as a result of the removal of NEW_FEEDBACK_ME…
Leandro13Silva13 Jul 26, 2024
3759edd
CARITAS-243 - Remove feeback related DTOs
Leandro13Silva13 Jul 26, 2024
9d7d21c
CARITAS-243 - Fix tests related to the removal of feedback related DTOs
Leandro13Silva13 Jul 26, 2024
cb1ef6d
Merge branch 'develop' into CARITAS-243-remove-legacy-code
Leandro13Silva13 Jul 29, 2024
b970061
CARITAS-243 - Merge dev to this branch
Leandro13Silva13 Jul 29, 2024
6b65e3f
CARITAS-243 - Remove canViewFeedbackSessions method
Leandro13Silva13 Jul 29, 2024
aed17fb
CARITAS-243 - Remove VIEW_ALL_FEEDBACK_SESSIONS authority
Leandro13Silva13 Jul 29, 2024
10e4a5b
CARITAS-243 - Remove VIEW_ALL_FEEDBACK_SESSIONS authority and part of…
Leandro13Silva13 Jul 29, 2024
11de951
CARITAS-243 - Remove feedback group id
Leandro13Silva13 Jul 31, 2024
d296e97
CARITAS-243 - Remove FEEDBACK_GROUP_SUFFIX from RocketChatRoomNameGen…
Leandro13Silva13 Jul 31, 2024
d0c5383
CARITAS-243 - Remove RC_FEEDBACK_GROUP_ID
Leandro13Silva13 Jul 31, 2024
d579fa5
CARITAS-243 - fix tests
Leandro13Silva13 Jul 31, 2024
22f22ef
CARITAS-243 - run spotless:apply
Leandro13Silva13 Jul 31, 2024
1dab09f
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 1, 2024
3ceb330
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 1, 2024
0e79765
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 1, 2024
799313e
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 1, 2024
aac65bc
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 1, 2024
62bce63
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
2746bf5
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
ceb1efe
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
84cc67f
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
514dd9a
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
5478732
CARITAS-243 - tests fixing
Leandro13Silva13 Aug 2, 2024
9c36346
CARITAS-243 - tests fixing and remove NewFeedbackEmailSupplier.java
Leandro13Silva13 Aug 2, 2024
dc134ea
CARITAS-243 - tests fixing and remove NewFeedbackEmailSupplier.java
Leandro13Silva13 Aug 5, 2024
a9b8660
CARITAS-243 - tests fixing and remove NewFeedbackEmailSupplier.java
Leandro13Silva13 Aug 5, 2024
f1b32ce
CARITAS-243 - Remove FEEDBACK from SessionFilter
Leandro13Silva13 Aug 5, 2024
e2583bd
CARITAS-243 - Remove TEMPLATE_NEW_FEEDBACK_MESSAGE_NOTIFICATION from …
Leandro13Silva13 Aug 5, 2024
b1c2d2f
CARITAS-243 - Remove feedback ids from comments
Leandro13Silva13 Aug 5, 2024
e2080b9
CARITAS-243 - Remove unused UpdateFeedbackGroupIdException
Leandro13Silva13 Aug 5, 2024
ff03c9f
CARITAS-243 - Remove feedback from the comments
Leandro13Silva13 Aug 5, 2024
d8ae9ea
CARITAS-243 - Remove initializeFeedbackChat and isPeerChat from Exten…
Leandro13Silva13 Aug 5, 2024
64c0096
CARITAS-243 - Remove feedback comments
Leandro13Silva13 Aug 5, 2024
eb93049
CARITAS-243 - Remove feedback comments
Leandro13Silva13 Aug 6, 2024
bfe7720
CARITAS-243 - Remove USE_FEEDBACK Authority
Leandro13Silva13 Aug 6, 2024
d99b630
CARITAS-243 - Remove feedback comments
Leandro13Silva13 Aug 6, 2024
ec2f9b5
CARITAS-243 - Remove addition of the peer chat to session from the te…
Leandro13Silva13 Aug 6, 2024
3033d57
CARITAS-243 - Remove feedback from tests
Leandro13Silva13 Aug 6, 2024
a26677a
CARITAS-243 - Remove VIEW_ALL_PEER_SESSIONS
Leandro13Silva13 Aug 6, 2024
67a46af
CARITAS-243 - Remove ASSIGN_CONSULTANT_TO_PEER_SESSION
Leandro13Silva13 Aug 6, 2024
a124cab
CARITAS-243 - Remove VIEW_ALL_PEER_SESSIONS
Leandro13Silva13 Aug 6, 2024
213978c
CARITAS-243 - Remove isPeerChat from sessionDTO
Leandro13Silva13 Aug 6, 2024
79191a8
CARITAS-243 - Remove PEER_CONSULTANT
Leandro13Silva13 Aug 6, 2024
acbfee5
CARITAS-243 - Remove isPeerChat from Session
Leandro13Silva13 Aug 6, 2024
4136b92
CARITAS-243 - Fix tests
Leandro13Silva13 Aug 6, 2024
215c1e5
CARITAS-243 - Fix tests
Leandro13Silva13 Aug 6, 2024
400f9d5
CARITAS-243 - Remove MAIN_CONSULTANT role and Authority
Leandro13Silva13 Aug 6, 2024
cbc77f2
CARITAS-243 - remove rc_feedback_group_id from userservice.session table
Leandro13Silva13 Aug 14, 2024
be0d8a5
Revert "CARITAS-243 - remove rc_feedback_group_id from userservice.se…
Leandro13Silva13 Aug 14, 2024
85ead4c
Revert "CARITAS-243 - Remove addition of the peer chat to session fro…
Leandro13Silva13 Aug 14, 2024
abe2245
CARITAS-243 - revert old migration changes deletion, added new migrat…
Leandro13Silva13 Aug 14, 2024
31d38e4
fix: CARITAS-243 - fix test name
Leandro13Silva13 Aug 14, 2024
165f7b9
fix: CARITAS-243 - fixed the changeSet id
Leandro13Silva13 Aug 16, 2024
dfa28aa
fix: CARITAS-243 - remove unhelpfull rollback procedures
Leandro13Silva13 Aug 19, 2024
01f0109
fix: CARITAS-243 - remove forwardMessageDTO
Leandro13Silva13 Aug 26, 2024
6f77fec
fix: CARITAS-243 - remove forwardMessage logic
Leandro13Silva13 Aug 26, 2024
644b056
Merge branch 'develop' into CARITAS-243-remove-legacy-code
Leandro13Silva13 Sep 11, 2024
daf08f1
fix: CARITAS-243
Leandro13Silva13 Sep 11, 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
Leandro13Silva13 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@
stripComments="true"/>
</rollback>
</changeSet>
<changeSet author="COBH-1323" id="COBH-1323-feedbackChatColumn">
<sqlFile
path="db/changelog/changeset/0002_monitoringKeys_feedbackChatClumn/feedbackChatColumn.sql"
stripComments="true"/>
<rollback>
<sqlFile
path="db/changelog/changeset/0002_monitoringKeys_feedbackChatClumn/feedbackChatColumn-rollback.sql"
stripComments="true"/>
</rollback>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `userservice`.`session`
DROP `rc_feedback_group_id`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `userservice`.`session`
ADD `rc_feedback_group_id` varchar(255) COLLATE 'utf8_unicode_ci' NULL AFTER `rc_group_id`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="tkuzynow" id="migrateUserNotificationSettings">
Leandro13Silva13 marked this conversation as resolved.
Show resolved Hide resolved
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeRc_feedback_group_idFromSession.sql"
stripComments="true"/>
<rollback>
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeRc_feedback_group_idFromSession-rollback.sql"
stripComments="true"/>
</rollback>
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeIs_peer_chatFromSession.sql"
stripComments="true"/>
<rollback>
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeIs_peer_chatFromSession-rollback.sql"
stripComments="true"/>
</rollback>
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeNotify_new_feedback_message_from_advice_seekerFromConsultant.sql"
stripComments="true"/>
<rollback>
<sqlFile path="db/changelog/changeset/0046_remove_feeback_related_columns/removeNotify_new_feedback_message_from_advice_seekerFromConsultant-rollback.sql"
stripComments="true"/>
</rollback>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE `userservice`.`session`
Leandro13Silva13 marked this conversation as resolved.
Show resolved Hide resolved
ADD `is_peer_chat` tinyint(4) unsigned NOT NULL DEFAULT '0'
AFTER `rc_feedback_group_id`;
UPDATE `userservice`.`session`
SET `is_peer_chat` = '1'
WHERE `rc_feedback_group_id` IS NOT NULL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `userservice`.`session`
DROP `is_peer_chat`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table userservice.consultant
add notify_new_feedback_message_from_advice_seeker bit default true not null after notify_new_chat_message_from_advice_seeker;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table userservice.consultant
drop notify_new_feedback_message_from_advice_seeker;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `userservice`.`session`
ADD `rc_feedback_group_id` varchar(255) COLLATE 'utf8_unicode_ci' NULL AFTER `rc_group_id`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE `userservice`.`session`
DROP `rc_feedback_group_id`;
Loading