inseefr / public-enemy-back-office Goto Github PK
View Code? Open in Web Editor NEWBack-office services for Public-Enemy
License: MIT License
Back-office services for Public-Enemy
License: MIT License
When listing survey units, a user can reset state data for a specific unit
Uses queen and stromae as orchestrators in Public Enemy (at this time, only stromae is used)
When context is household and mode is ( CATI or CAPI), orchestrator will be queen
When context is household and mode is CAWI, orchestrator will be stromae
When updating questionnaire, handle synchronisation if modes are updated
Add an endpoint to get the url of a questionnaire for a surveyUnit.
considering stromaeUrl/queenUrl as env variable for both front apps, and questApiUrl as env variable for questionnaire api :
if modeName = CAWI
=> ${stromaeUrl}/questionnaire/${questionnaireId}/unite-enquetee/${surveyUnitId}
else :
questionnaireUrl = ${questApiUrl}/questionnaire/${questionnaireId}
dataUrl = ${questApiUrl}/survey-unit/${surveyUnitId}
nomenclature = check how to do 😄
=> ${queenUrl}/queen/visualize?questionnaire=${questionnaireUrl}&data={dataUrl}$nomenclature=${nomenclature}
🇬🇧 Retrieve questionnaire DDI with Pogues id
🇫🇷 Récupérer le DDI d'un questionnaire à partir de son ID Pogues
🇬🇧 Retrieve the questionnaire in JSON Lunatic format from ENO. We need to provide mode, context and DDI to get the JSON
🇫🇷 Récupérer le questionnaire au format Lunatic JSON. Nous devons fournir le mode, contexte et DDI pour récupérer le JSON
For kube world, we have to write log in stdout, actually app log into a file /opt/pe/LOG_PATH_IS_UNDEFINED/tmp/spring.log
file.
🇬🇧 Initialize new version of the backoffice version
🇫🇷 Initialiser la nouvelle version du backoffice
When retrieving a questionnaire, the api should detect if the modes from pogues questionnaire are different from modes in public enemy db.
When errors are throwed (API calls, DB), how to handle sync ?
Limit to 10 the number of survey units in the csv uploaded by user
Create/delete questionnaire from queen backoffice.
Generate and expose CSV schema from a specific questionnaire. This schema contains external variables used for customizing survey units data.
Currently, Public Enemy doesn't support questionnaires containing reference to other questionnaires:
🇬🇧 Handle more granular exceptions, with json responses
🇫🇷 Gestion plus fine des exceptions, avec des réponses au format json
Retrieve and expose questionnaire details from pogues with pogues identifier
🇬🇧 Handle Questionnaire Creation/Read/Update/Delete in Public Enemy DB
🇫🇷 Gestion de la création/lecture/modification/suppression dans la base de données Public Enemy
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
actions/download-artifact
, actions/upload-artifact
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
com.squareup.okhttp3:mockwebserver
, com.squareup.okhttp3:okhttp
)Dockerfile
eclipse-temurin 21-jre
.github/workflows/build-pr.yml
actions/checkout v3
actions/setup-java v3
.github/workflows/release-develop.yml
actions/checkout v3
mukunku/tag-exists-action v1.2.0
actions/checkout v3
requarks/changelog-action v1
softprops/action-gh-release v1
actions/checkout v3
actions/setup-java v3
actions/upload-artifact v3
actions/checkout v3
actions/download-artifact v3
elgohr/Publish-Docker-Github-Action v5
.github/workflows/release-main.yml
actions/checkout v3
mukunku/tag-exists-action v1.2.0
actions/checkout v3
requarks/changelog-action v1
softprops/action-gh-release v1
actions/checkout v3
actions/setup-java v3
actions/upload-artifact v3
actions/checkout v3
actions/download-artifact v3
elgohr/Publish-Docker-Github-Action v5
.github/workflows/sonar.yml
actions/checkout v3
actions/setup-java v3
actions/cache v3
actions/cache v3
pom.xml
org.springframework.boot:spring-boot-starter-parent 3.3.0
com.squareup.okhttp3:okhttp 4.10.0
com.squareup.okhttp3:mockwebserver 4.10.0
org.modelmapper:modelmapper 3.1.1
com.opencsv:opencsv 5.7.1
org.springdoc:springdoc-openapi-starter-webmvc-ui 2.0.4
org.jacoco:jacoco-maven-plugin 0.8.11
org.postgresql:postgresql 42.6.2
.mvn/wrapper/maven-wrapper.properties
maven 3.8.6
maven-wrapper 3.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.