toulouse-maelis: remove flagCom input from connector (#77547)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f71891abd7
commit
0b81087341
|
@ -613,10 +613,6 @@ UPDATE_FAMILY_SCHEMA = {
|
|||
'type': 'string',
|
||||
'pattern': '.+',
|
||||
},
|
||||
'flagCom': {
|
||||
'description': 'Hors commune',
|
||||
'oneOf': schemas.BOOLEAN_TYPES,
|
||||
},
|
||||
'nbChild': {
|
||||
'description': "Nombre d'enfants à charge",
|
||||
'oneOf': [{'type': 'string'}, {'type': 'null'}],
|
||||
|
|
|
@ -699,8 +699,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
)
|
||||
for i in range(0, len(post_data.get('childList') or [])):
|
||||
self.check_and_adapt_child_payload_in_referential(post_data, ['childList', i])
|
||||
if 'flagCom' in post_data:
|
||||
post_data['flagCom'] = self.encode_bool(post_data['flagCom'])
|
||||
|
||||
def replace_null_values(self, dico):
|
||||
'''send null fields as empty SOAP tag to tell maelis to empty the value'''
|
||||
|
@ -1579,7 +1577,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1610,7 +1607,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1644,7 +1640,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1715,7 +1710,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1809,7 +1803,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1847,7 +1840,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
@ -1883,7 +1875,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
'dossierNumber': family_id,
|
||||
'category': family['category'],
|
||||
'situation': family['situation'],
|
||||
'flagCom': family['flagCom'],
|
||||
'nbChild': family['nbChild'],
|
||||
'nbTotalChild': family['nbTotalChild'],
|
||||
'nbAES': family['nbAES'],
|
||||
|
|
|
@ -2262,7 +2262,6 @@ def test_create_family(family_service, con, app):
|
|||
params = {
|
||||
'category': 'ACCEUI',
|
||||
'situation': 'C',
|
||||
'flagCom': False,
|
||||
'rl1/civility': 'M.',
|
||||
'rl1/firstname': 'Jhon',
|
||||
'rl1/lastname': 'Doe',
|
||||
|
|
Loading…
Reference in New Issue