Skip to content

Commit 85759f8

Browse files
Merge pull request #193 from mkumar-02/15.0-develop
Added G2P Import DCI API module.
2 parents 57c7e34 + 1427969 commit 85759f8

18 files changed

+1085
-0
lines changed

g2p_import_dci_api/README.rst

Whitespace-only changes.

g2p_import_dci_api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

g2p_import_dci_api/__manifest__.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": """OpenG2P Import: DCI API""",
3+
"summary": """RESTful API routes for OpenG2P""",
4+
"category": "G2P",
5+
"version": "15.0.1.1.0",
6+
"author": "OpenG2P",
7+
"development_status": "Alpha",
8+
"external_dependencies": {"python": ["PyLD", "pyjwt>=2.4.0"]},
9+
"website": "https://openg2p.org",
10+
"license": "Other OSI approved licence",
11+
"depends": [
12+
"base",
13+
"g2p_programs",
14+
"g2p_registry_base",
15+
"g2p_registry_individual",
16+
"spp_registry_data_source",
17+
],
18+
"data": [
19+
"security/fetch_social_registry_security.xml",
20+
"security/ir.model.access.csv",
21+
"views/fetch_social_registry_beneficiary_views.xml",
22+
],
23+
"application": True,
24+
"auto_install": False,
25+
"installable": True,
26+
}

g2p_import_dci_api/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from . import constants
2+
from . import fetch_social_registry_beneficiary
3+
from . import imported_individuals
4+
from . import res_partner
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
GRAPHQL = "graphql"
2+
3+
DATA_SOURCE_NAME = "Social Registry"
4+
DATA_SOURCE_SEARCH_PATH_NAME = "Registry Sync Search"
5+
DATA_SOURCE_AUTH_PATH_NAME = "Authentication"
6+
7+
REQUEST_TIMEOUT = 60

0 commit comments

Comments
 (0)