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

Release/v0.6.6 #70

Merged
merged 91 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
ee83201
refactor: removed dependency of aa-properties
primarypi Aug 29, 2021
ebb1963
fix: removed aaName condition in consent-artefact fetch
primarypi Sep 4, 2021
4cc1e10
refactor: fi/request flow
primarypi Sep 7, 2021
65d5c23
wip: git/fiul merge
primarypi Sep 12, 2021
176bce3
Merged in feature/git-merge (pull request #14)
primarypi Sep 12, 2021
0a9e70e
chore: merge branch 'gh/dev' into develop
dheerajkhardwal Sep 13, 2021
506e459
Merge branch 'dev' into develop
primarypi Sep 19, 2021
c5abec2
Merge branch 'dev' into develop
primarypi Sep 27, 2021
e9523a0
Merge branch 'dev' into develop
primarypi Sep 27, 2021
07807a6
release: prep for v0.4.1
primarypi Sep 28, 2021
bd20c91
Merge branch 'release/v0.4.1' into develop
primarypi Sep 29, 2021
2cd60f4
Merge branch 'dev' into develop
primarypi Oct 3, 2021
c06903a
Merge branch 'dev' into develop
primarypi Oct 6, 2021
4eca5b4
Merge branch 'dev' into develop
primarypi Oct 7, 2021
35a2253
Merge branch 'dev' into develop
primarypi Oct 15, 2021
4823a62
Merge branch 'dev' into develop
primarypi Oct 16, 2021
fc8aa3f
Merge branch 'dev' into develop
primarypi Oct 17, 2021
b52eb14
Merge branch 'dev' into develop
primarypi Oct 24, 2021
bfb4113
Merge branch 'dev' into develop
primarypi Nov 21, 2021
cfab523
Merge branch 'dev' into develop
dheerajkhardwal Nov 25, 2021
87e5402
Merge branch 'dev' into develop
primarypi Nov 25, 2021
6909a0e
build: bitbucket pipeline feature deploy step for bugfix branch
primarypi Nov 28, 2021
e6fb3f5
Merge branch 'dev' into develop
primarypi Nov 28, 2021
ef1161e
Merge branch 'dev' into develop
primarypi Nov 28, 2021
53d384e
ci: develop branch step changes(docker build and deploy steps are man…
primarypi Nov 28, 2021
a7c0f21
Merge branch 'dev' into develop
primarypi Nov 29, 2021
359c1b8
Merge branch 'dev' into develop
primarypi Dec 2, 2021
4f0869d
Merge branch 'dev' into develop
primarypi Dec 2, 2021
7d39e1d
Merge branch 'dev' into develop
primarypi Dec 8, 2021
23ecff8
Merge branch 'dev' into develop
primarypi Dec 10, 2021
5d88313
Merge branch 'dev' into develop
primarypi Dec 10, 2021
d4f5d25
Merge branch 'dev' into develop
primarypi Dec 13, 2021
6dea9a7
fix: pmd issue
primarypi Dec 13, 2021
b7561aa
Merge branch 'dev' into develop
primarypi Dec 20, 2021
a7a3a39
Merge branch 'dev' into develop
primarypi Dec 22, 2021
28ac403
Merge branch 'dev' into develop
primarypi Jan 4, 2022
561d372
Merge branch 'dev' into develop
primarypi Jan 9, 2022
cf380e9
Merge branch 'dev' into develop
primarypi Jan 10, 2022
e950218
Merge branch 'dev' into develop
primarypi Jan 10, 2022
620f0c0
Merge branch 'dev' into develop
primarypi Jan 10, 2022
796104f
Merge branch 'dev' into develop
primarypi Jan 13, 2022
6d2eb4e
Merge branch 'dev' into develop
primarypi Jan 13, 2022
3bedea4
Merge branch 'dev' into develop
primarypi Jan 15, 2022
1711590
Merge branch 'dev' into develop
primarypi Jan 21, 2022
c7a4692
wip: added publishOn with configurable scheduler
primarypi Jan 28, 2022
751c54f
refactor: property rename
primarypi Jan 28, 2022
1abe9f2
refactor: logging
primarypi Jan 28, 2022
9660f5a
wip: objectMapper injection for JsonAttributeConverters
primarypi Jan 28, 2022
b7b400e
setting develop version to 0.6.5-SNAPSHOT
primarypi Feb 10, 2022
aa71abf
Merge branch 'dev' into feature/performance
primarypi Feb 16, 2022
c9ea161
chore: aa-commons v049 having required changes
primarypi Feb 17, 2022
c64fea1
Merge branch 'feature/performance' into feature/scheduler-changes
primarypi Feb 17, 2022
3a83510
wip: corrected property name
primarypi Feb 17, 2022
2cdd800
adding cache annotations
Feb 17, 2022
8b7d67f
chore: moved scheduler config to core
primarypi Feb 17, 2022
dcb06ff
removed region
Feb 22, 2022
2c98c89
updated cache annotations
Mar 2, 2022
482e478
implemented Serializable for cache entities
Mar 2, 2022
a614cf3
Merge pull request #60 from finarkein/feature/redis-accomodation
primarypi Mar 2, 2022
a76e688
Merge branch 'dev' into feature/scheduler-changes
primarypi Mar 2, 2022
2659087
refactor: log statement
primarypi Mar 3, 2022
1ac36a2
feat: scheduler integrated for std. data Request and Fetch flow
primarypi Mar 3, 2022
4b81bfa
refactor: corrected log statement to make it consistent with aaClient…
primarypi Mar 3, 2022
6092f58
Merge pull request #61 from finarkein/feature/scheduler-changes
dheerajkhardwal Mar 3, 2022
f05f674
wip:
primarypi Mar 12, 2022
a05fb49
wip: fixed ConsentStoreImpl.getConsentHandleResponseMono() blocking call
primarypi Mar 12, 2022
6374cda
fix: saveKeyMaterial call non blocking
primarypi Mar 12, 2022
f6650f2
changed logic in EasyDataFlowServiceImpl to remove blocking
Mar 12, 2022
88a9f8a
fix: easyDataFlow fetchData flow fixes
primarypi Mar 12, 2022
8d5297c
changed schedular in EasyDataFlowService
Mar 12, 2022
411f31d
removed unUsed imports
Mar 12, 2022
1d2dfc4
fix: blocking call fix for getLatestFIFetchMetadata
primarypi Mar 12, 2022
06bb018
Merge branch 'feature/refactor-imposter-reactive-actions' of https://…
primarypi Mar 12, 2022
ca55fd1
removed blockHound
Mar 13, 2022
81d9939
Merge pull request #62 from finarkein/feature/refactor-imposter-react…
primarypi Mar 13, 2022
bc47c45
fix: aa-common upgrade, xml to pojo conversion optimizations
primarypi Mar 25, 2022
1a95355
fix: removed jackson version
primarypi Mar 25, 2022
7cf3302
Merge pull request #63 from finarkein/feature/performance-improvements
dheerajkhardwal Mar 25, 2022
490787f
refactor: added more debug logging for consent notification controlle…
primarypi Mar 31, 2022
2d17af8
fix: consentId validation will be performed on consentStatus conditions
primarypi Mar 31, 2022
49d8e95
refactor: method rename
primarypi Mar 31, 2022
30a6b49
Merge pull request #64 from finarkein/feature/logging-in-notification…
primarypi Mar 31, 2022
ce2a4e4
aa-commons version upgraded to v0.5.1
Mar 31, 2022
b4c57d1
Merge pull request #65 from finarkein/feature/aa-commons-version-upgrade
primarypi Mar 31, 2022
5c031ce
release: prep v0.6.5
primarypi Mar 31, 2022
858ed3b
dev version set to 0.6.6-SNAPSHOT
primarypi Apr 1, 2022
9d740a3
feat: configuration introduced to decide data cleanup on consent noti…
primarypi Apr 19, 2022
5f00af4
fix
primarypi Apr 19, 2022
6e47f6c
Merge pull request #69 from finarkein/feature/consent-noti-data-flow-…
dheerajkhardwal Apr 19, 2022
e073000
release: prep v0.6.6
primarypi Apr 19, 2022
3cd4a71
Merge branch 'main' into release/v0.6.6
primarypi Apr 19, 2022
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 fiul-aa-webclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import java.util.Arrays;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;
import java.util.stream.Collectors;

Expand All @@ -29,17 +28,6 @@ public enum ConsentState {
.collect(Collectors.toMap(Enum::name, Function.identity()));
}

public static final Set<ConsentState> CONSENT_NEGATIVE_STATUS = Set.of(PAUSED, EXPIRED, REVOKED);
public static final Set<ConsentState> CONSENT_CLEANUP_STATUS = Set.of(REJECTED, EXPIRED, REVOKED);

public boolean isNegativeStatus() {
return CONSENT_NEGATIVE_STATUS.contains(this);
}

public boolean isCleanupStatus() {
return CONSENT_CLEANUP_STATUS.contains(this);
}

public static ConsentState get(String stateValue) {
final var consentState = lookup.get(stateValue);
if (consentState != null)
Expand Down
2 changes: 1 addition & 1 deletion fiul-rest/fiul-rest-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-rest</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spring.cloud.config.enabled=false
fiul.entity_id=fiu@id
fiul.dataflow.data-life-tracker-fixed-delay=600000
fiul.dataflow.fi-data-crypto-service=${FI_DATA_CRYPTO_SERVICE:no-op}
# set of consent states for which data clean up required
fiul.dataflow.data-cleanup-consent-states=REVOKED
## Start: notification config #################################################
fiul.notification.jws-filter-qualifier=fiul
fiul.notification-queue-type=in-mem
Expand Down
2 changes: 1 addition & 1 deletion fiul-rest/fiul-rest-consent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-rest</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-rest/fiul-rest-dataflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-rest</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-rest/fiul-rest-notification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-rest</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion fiul-service-consent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-service-dataflow/fiul-dataflow-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-dataflow</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,26 @@
import io.finarkein.fiul.dataflow.store.FIRequestStore;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
@Log4j2
public class DataFlowNotificationHandlerImpl implements DataFlowNotificationHandler {

@Autowired
DataFlowService dataFlowService;
private DataFlowService dataFlowService;

@Autowired
EasyDataFlowService easyDataFlowService;
private EasyDataFlowService easyDataFlowService;

@Autowired
FIRequestStore fiRequestStore;
private FIRequestStore fiRequestStore;

@Value("${fiul.dataflow.data-cleanup-consent-states}")
private Set<String> dataCleanupConsentStates;

@Override
public void handleFINotification(FINotification fiNotification) {
Expand All @@ -41,13 +47,16 @@ public void handleConsentNotification(ConsentNotification consentNotification) {
final var consentStatus = statusNotification.getConsentStatus();
final var consentState = ConsentState.get(consentStatus.toUpperCase());

if (!consentState.isCleanupStatus())
return;

log.debug("Handling consentNotification:{}", consentNotification);
if (consentState == ConsentState.REVOKED || consentState == ConsentState.EXPIRED) {
if (isCleanupRequired(consentState)) {
easyDataFlowService.deleteData(statusNotification.getConsentId());
dataFlowService.deleteDataByConsentId(statusNotification.getConsentId());
log.debug("Data cleanup done for consentNotification:{}", consentNotification);
}
}

private boolean isCleanupRequired(ConsentState forConsentState){
return dataCleanupConsentStates.contains(forConsentState.name())
|| dataCleanupConsentStates.contains(forConsentState.name().toLowerCase());
}
}
2 changes: 1 addition & 1 deletion fiul-service-dataflow/fiul-dataflow-default-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-dataflow</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-dataflow</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-dataflow</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-service-dataflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-notification</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-notification</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-notification</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-service-notification/fiul-notification-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul-service-notification</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-service-notification</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul-service-notification</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion fiul-service-notification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>fiul</artifactId>
<groupId>io.finarkein.fiu</groupId>
<version>0.6.5</version>
<version>0.6.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>io.finarkein.fiu</groupId>
<artifactId>fiul</artifactId>
<version>0.6.5</version>
<version>0.6.6</version>
<packaging>pom</packaging>

<name>fiul</name>
Expand Down