Skip to content

Commit

Permalink
GITBOOK-1001: Dibik's Aug 9 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Suseela-S authored and gitbook-bot committed Aug 14, 2024
1 parent cdcd12e commit 46df587
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 2 deletions.
4 changes: 3 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@
* [Monitoring and Reporting](social-registry/functionality/monitoring-and-reporting/README.md)
* [System Logs](social-registry/functionality/monitoring-and-reporting/system-logs.md)
* [Development](social-registry/development/README.md)
* [Odoo Modules](social-registry/development/odoo-modules/README.md)
* [ODK App User Mapping](social-registry/development/odoo-modules/odk-app-user-mapping.md)
* [Upcoming Features](social-registry/development/upcoming-features/README.md)
* [Fayda ID Integration](social-registry/development/upcoming-features/fayda-id-integration.md)
* [Verifiable Credentials Issuance](social-registry/development/upcoming-features/verifiable-credentials-issuance.md)
Expand Down Expand Up @@ -427,7 +429,7 @@
* [Troubleshooting](deployment/deployment-guide/troubleshooting/README.md)
* [PostgreSQL Database not Starting due to Replication Checkpoint Error](deployment/deployment-guide/troubleshooting/postgresql-database-not-starting-due-to-replication-checkpoint-error..md)
* [No Space Left on the Device Warning](deployment/deployment-guide/troubleshooting/no-space-left-on-the-device-warning.md)
* [Restart Deployment or StatefulSets to Redistribute Pods across Nodes](deployment/deployment-guide/restart-deployment-or-statefulsets-to-redistribute-pods-across-nodes.md)
* [Restart Deployment or StatefulSets to Redistribute Pods across Nodes](deployment/deployment-guide/redistribute-pods-across-nodes-by-restarting-deployment-statefulsets.md)
* [Rerun Jobs in Kubernetes Cluster](deployment/deployment-guide/rerun-jobs-in-kubernetes-cluster.md)
* [Use Cases](use-cases/README.md)
* [Technology for Inclusion](use-cases/technology-for-inclusion/README.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ layout:
visible: true
---

# Redistribute Pods across Nodes by Restarting Deployment/StatefulSets
# Restart Deployment or StatefulSets to Redistribute Pods across Nodes

The document explains how to redistribute pods across nodes by restarting deployment or StatefulSets.

Expand Down
2 changes: 2 additions & 0 deletions social-registry/development/odoo-modules/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Odoo Modules

66 changes: 66 additions & 0 deletions social-registry/development/odoo-modules/odk-app-user-mapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
description: WORK IN PROGRESS
---

# ODK App User Mapping

### **Module name**

`g2p_odk_user_mapping`

### **Module title**

ODK App User Mapping

### **Technology base**

Odoo

### **Functionality**

#### **Add drop-downs for ODK Config and App User**

* **Select ODK Config**
* In the _**Registration Portal**_, implement a drop-down menu to allow the users select from the available ODK Configurations.
* Dynamically fetches and displays ODK Configuration options based on the user's selection.
* **Select App User**
* Implement a drop-down menu to list ODK App users.
* Use the ODK API to fetch the list of App users based on the selected ODK Configuration.
* Display the fetched App users in the drop-down menu.
* **Fetch ODK App Users via ODK API**
* Integrate with the ODK API to retrieve the list of available App users for the selected ODK Configuration.
* Use the fetched data to dynamically populate the _**Select App User**_ drop-down menu.

### **Design notes**

N/A

### **Relationships with other entities**

* **Dependencies**
* `base`
* `account`
* `g2p_odk_importer`

### **User interface**

N/A

### **Configuration**

1. **ODK Config**
* Navigate to the ODK menu in the _**Social Registry**_ module.
* Add your ODK user credentials and project details.
2. **Map the ODK User in the Registration Portal**
* Navigate to the Registration Portal user menu.
* Add user details such as email, name, etc.
* Select the ODK Configuration and then choose a dynamic user based on the selected ODK Configuration.

### **Source code**

[GitHub Repository for `g2p_odk_user_mapping`](https://github.com/OpenG2P/openg2p-registration-portal/blob/17.0-develop/g2p\_odk\_user\_mapping)

### **Installation**

1. Ensure that the module dependencies such as `base`, `account`, `g2p_odk_importer`are installed.
2. Install the _**ODK App User Mapping**_ module from the Odoo Apps interface.

0 comments on commit 46df587

Please sign in to comment.