Skip to content

Commit

Permalink
[MOSIP-30687] updated the document (#1257)
Browse files Browse the repository at this point in the history
* MOSIP-32073 design document added (#1223)

Signed-off-by: Neha Farheen <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Signed-off-by: Neha Farheen <[email protected]>

* POM changes (#1225)

Signed-off-by: Neha Farheen <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
Signed-off-by: Neha Farheen <[email protected]>

* updated the image path

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31982 changes done for image

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31982 changes done for image

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31982 added kafka config in otp application

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31982 added kafka config in otp application

Signed-off-by: Neha Farheen <[email protected]>

* MOSIP-31982 Updated the pom and push trigger file

Signed-off-by: Neha Farheen <[email protected]>

* test case issue is resolved

Signed-off-by: Neha Farheen <[email protected]>

* test case issue is resolved with facedata

Signed-off-by: Neha Farheen <[email protected]>

* test case issue is resolved with facedata

Signed-off-by: Neha Farheen <[email protected]>

* kafka bean enable and disable

Signed-off-by: Neha Farheen <[email protected]>

* kafka bean enable and disable

Signed-off-by: Neha Farheen <[email protected]>

* Error eventing condition check added

Signed-off-by: Neha Farheen <[email protected]>

* updated the documents

Signed-off-by: Neha Farheen <[email protected]>

* updated the documents

Signed-off-by: Neha Farheen <[email protected]>

* updated the documents

Signed-off-by: Neha Farheen <[email protected]>

---------

Signed-off-by: Neha Farheen <[email protected]>
Co-authored-by: Neha Farheen <[email protected]>
  • Loading branch information
Neha2365 and Neha Farheen authored Apr 30, 2024
1 parent c123f6d commit f172fb9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 51 deletions.
Binary file removed docs/Images/On_demand_template_extraction.png
Binary file not shown.
20 changes: 19 additions & 1 deletion docs/authentication_error_eventing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,34 @@ Since resident is eager to authenticate, we want to prioritize the credential pr
While getting the error UIN/VID is not available in database the websub event is triggered which publish the data in to the topic and the subscriber will receive a message for futher processing.

## Configuration files
These properties needed to be modified to configure this feature
id-authentication-default.properties:

- It enable and disable the bean init of kafka and Authentication error eventing
```
mosip.ida.authentication.error.eventing.enabled=true
```

- If we enable authentication error eventing as true we need all the below property
```
ida-topic-authentication-error-eventing=AUTHENTICATION_ERRORS
```

- Partner Id for encryption used in ondemand template extraction
```
mosip.ida.authentication.error.eventing.encrypt.partner.id=mpartner-default-tempextraction
```

- kafka Configuration
```
mosip.ida.kafka.bootstrap.servers=kafka-0.kafka-headless.${kafka.profile}:${kafka.port},kafka-1.kafka-headless.${kafka.profile}:${kafka.port},kafka-2.kafka-headless.${kafka.profile}:${kafka.port}
spring.kafka.admin.properties.allow.auto.create.topics=true
```

## Image source

![On demand-template-extraction](Images/Authentication_error_eventing.png)
![Authentication_error_eventing](Images/Authentication_error_eventing.png)

## Steps of sequence diagram:
```
Expand Down
50 changes: 0 additions & 50 deletions docs/ondemand_template_extraction.md

This file was deleted.

0 comments on commit f172fb9

Please sign in to comment.