Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
enedis_sge_konnector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
enedis_sge_konnector
Commits
9c23ab98
Commit
9c23ab98
authored
2 years ago
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
rename parameters to lastname
parent
9cb0ae79
No related branches found
No related tags found
1 merge request
!37
fix: remove accents in last names
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/core/contractActivation.js
+3
-3
3 additions, 3 deletions
src/core/contractActivation.js
src/core/findUserPdl.js
+3
-3
3 additions, 3 deletions
src/core/findUserPdl.js
src/helpers/parsing.js
+1
-1
1 addition, 1 deletion
src/helpers/parsing.js
src/requests/sge.js
+7
-7
7 additions, 7 deletions
src/requests/sge.js
with
14 additions
and
14 deletions
src/core/contractActivation.js
+
3
−
3
View file @
9c23ab98
...
...
@@ -10,7 +10,7 @@ const Sentry = require('@sentry/node')
* @param {string} url
* @param {string} apiAuthKey
* @param {string} appLogin
* @param {string} name
* @param {string}
last
name
* @param {number} pointId
* @param {string} startDate
* @param {string} endDate
...
...
@@ -21,7 +21,7 @@ async function activateContract(
apiAuthKey
,
appLogin
,
contractId
,
name
,
last
name
,
pointId
,
startDate
,
endDate
...
...
@@ -39,7 +39,7 @@ async function activateContract(
appLogin
,
contractId
,
pointId
,
name
,
last
name
,
startDate
,
endDate
),
...
...
This diff is collapsed.
Click to expand it.
src/core/findUserPdl.js
+
3
−
3
View file @
9c23ab98
...
...
@@ -10,7 +10,7 @@ const Sentry = require('@sentry/node')
* @param {string} url
* @param {string} apiAuthKey
* @param {string} appLogin
* @param {string} name
* @param {string}
last
name
* @param {string} address
* @param {string} postalCode
* @param {string} inseeCode
...
...
@@ -20,7 +20,7 @@ async function findUserPdl(
url
,
apiAuthKey
,
appLogin
,
name
,
last
name
,
address
,
postalCode
,
inseeCode
,
...
...
@@ -37,7 +37,7 @@ async function findUserPdl(
headers
:
sgeHeaders
,
xml
:
rechercherPoint
(
appLogin
,
name
,
last
name
,
postalCode
,
inseeCode
,
address
,
...
...
This diff is collapsed.
Click to expand it.
src/helpers/parsing.js
+
1
−
1
View file @
9c23ab98
...
...
@@ -114,7 +114,7 @@ function checkContractExists(parsedReply) {
}
/**
* Format tag in order to be manipulated easly
* Format tag in order to be manipulated eas
i
ly
* @param {string} name
* @returns {string} name
*/
...
...
This diff is collapsed.
Click to expand it.
src/requests/sge.js
+
7
−
7
View file @
9c23ab98
...
...
@@ -126,7 +126,7 @@ function consulterDonneesTechniquesContractuelles(
/**
* Use rechercherPoint to find user PDL if exist
* @param {string} name
* @param {string}
last
name
* @param {string} postalCode
* @param {string} inseeCode
* @param {string} address
...
...
@@ -135,7 +135,7 @@ function consulterDonneesTechniquesContractuelles(
*/
function
rechercherPoint
(
appLogin
,
name
,
last
name
,
postalCode
,
inseeCode
,
address
,
...
...
@@ -160,7 +160,7 @@ function rechercherPoint(
<codePostal>
${
postalCode
}
</codePostal>
<codeInseeCommune>
${
inseeCode
}
</codeInseeCommune>
</adresseInstallation>
<nomClientFinalOuDenominationSociale>
${
name
}
</nomClientFinalOuDenominationSociale>
<nomClientFinalOuDenominationSociale>
${
last
name
}
</nomClientFinalOuDenominationSociale>
<rechercheHorsPerimetre>true</rechercheHorsPerimetre>
</criteres>
<loginUtilisateur>
${
appLogin
}
</loginUtilisateur>
...
...
@@ -181,7 +181,7 @@ function rechercherPoint(
<codePostal>
${
postalCode
}
</codePostal>
<codeInseeCommune>
${
inseeCode
}
</codeInseeCommune>
</adresseInstallation>
<nomClientFinalOuDenominationSociale>
${
name
}
</nomClientFinalOuDenominationSociale>
<nomClientFinalOuDenominationSociale>
${
last
name
}
</nomClientFinalOuDenominationSociale>
<rechercheHorsPerimetre>true</rechercheHorsPerimetre>
</criteres>
<loginUtilisateur>
${
appLogin
}
</loginUtilisateur>
...
...
@@ -221,7 +221,7 @@ function rechercherServicesSouscritsMesures(appLogin, contractId, pointId) {
* @param {string} appLogin
* @param {string} contractId
* @param {number} pointId
* @param {string} name
* @param {string}
last
name
* @param {string} startDate
* @param {string} endDate
* @returns {*}
...
...
@@ -230,7 +230,7 @@ function commanderCollectePublicationMesures(
appLogin
,
contractId
,
pointId
,
name
,
last
name
,
startDate
,
endDate
)
{
...
...
@@ -258,7 +258,7 @@ function commanderCollectePublicationMesures(
<declarationAccordClient>
<accord>true</accord>
<personnePhysique>
<nom>
${
name
}
</nom>
<nom>
${
last
name
}
</nom>
</personnePhysique>
</declarationAccordClient>
<mesuresTypeCode>CDC</mesuresTypeCode>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment