diff --git a/grandlyon/recipes/prod/bron.json b/grandlyon/recipes/prod/bron.json new file mode 100644 index 0000000..0b733b6 --- /dev/null +++ b/grandlyon/recipes/prod/bron.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "bron" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://${commune}.toodego.com/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }} + ] +} diff --git a/grandlyon/recipes/prod/dardilly.json b/grandlyon/recipes/prod/dardilly.json new file mode 100644 index 0000000..96cc768 --- /dev/null +++ b/grandlyon/recipes/prod/dardilly.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "dardilly" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://${commune}.toodego.com/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }} + ] +} diff --git a/grandlyon/recipes/prod/oullins.json b/grandlyon/recipes/prod/oullins.json new file mode 100644 index 0000000..04db39d --- /dev/null +++ b/grandlyon/recipes/prod/oullins.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "oullins" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://${commune}.toodego.com/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }} + ] +} diff --git a/grandlyon/recipes/prod/sau.json b/grandlyon/recipes/prod/sau.json new file mode 100644 index 0000000..1a70c4e --- /dev/null +++ b/grandlyon/recipes/prod/sau.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "sau" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://support.grandlyon.com/", + "title": "Service d'Assistance aux Utilisateurs", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-sau" + }} + ] +} diff --git a/grandlyon/recipes/prod/toodego.json b/grandlyon/recipes/prod/toodego.json new file mode 100644 index 0000000..b7bed3d --- /dev/null +++ b/grandlyon/recipes/prod/toodego.json @@ -0,0 +1,110 @@ +{ + "variables": { + "hobo": "hobo.toodego.com", + "authentic": "connexion.toodego.com", + "combo": "www.toodego.com", + "combo_agent": "agents.toodego.com", + "passerelle": "passerelle.toodego.com", + "wcs": "demarches.toodego.com", + "bijoe": "statistiques.toodego.com" + }, + "steps": [ + {"create-hobo": { + "url": "https://${hobo}/" + }}, + {"create-authentic": { + "url": "https://${authentic}/", + "title": "Connexion" + }}, + {"set-idp": { + }}, + {"create-passerelle": { + "url": "https://${passerelle}/", + "title": "Passerelle" + }}, + {"create-combo": { + "url": "https://${combo}/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://${combo_agent}/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"create-wcs": { + "url": "https://${wcs}/", + "slug": "eservices", + "title": "D\u00e9marches", + "template_name": "modele.zip" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }}, + {"disable-attribute": { + "name": "address" + }}, + {"disable-attribute": { + "name": "zipcode" + }}, + {"set-attribute": { + "name": "zipcode", + "label": "Code postal (off)" + }}, + {"disable-attribute": { + "name": "city" + }}, + {"set-attribute": { + "name": "city", + "label": "Ville (off)" + }}, + {"disable-attribute": { + "name": "country" + }}, + {"set-attribute": { + "name": "country", + "label": "Pays (off)" + }}, + {"set-attribute": { + "name": "address_number", + "label": "Numéro de voie", + "order": 10 + }}, + {"set-attribute": { + "name": "address_street", + "label": "Type et nom de la voie", + "order": 11 + }}, + {"set-attribute": { + "name": "address_complement", + "label": "Complément d'adresse", + "order": 12 + }}, + {"set-attribute": { + "name": "address_zipcode", + "label": "Code postal", + "order": 13 + }}, + {"set-attribute": { + "name": "address_city", + "label": "Ville", + "order": 14 + }}, + {"set-attribute": { + "name": "address_country", + "label": "Pays", + "order": 15 + }}, + {"set-attribute": { + "name": "professional_phone", + "label": "Téléphone fixe professionnel", + "order": 16 + }}, + {"set-attribute": { + "name": "professional_mobile_phone", + "label": "Téléphone mobile professionnel", + "order": 17 + }} + ] +} diff --git a/grandlyon/recipes/prod/vaulx-en-velin.json b/grandlyon/recipes/prod/vaulx-en-velin.json new file mode 100644 index 0000000..7061fcc --- /dev/null +++ b/grandlyon/recipes/prod/vaulx-en-velin.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "vaulx-en-velin" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://${commune}.toodego.com/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }} + ] +} diff --git a/grandlyon/recipes/prod/villeurbanne.json b/grandlyon/recipes/prod/villeurbanne.json new file mode 100644 index 0000000..204b1f3 --- /dev/null +++ b/grandlyon/recipes/prod/villeurbanne.json @@ -0,0 +1,26 @@ +{ + "variables": { + "commune": "villeurbanne" + }, + "steps": [ + {"create-hobo": { + "url": "https://hobo-${commune}.toodego.com/" + }}, + {"set-idp": { + }}, + {"create-combo": { + "url": "https://${commune}.toodego.com/", + "title": "Portail", + "template_name": "portal-user" + }}, + {"create-combo": { + "url": "https://agents-${commune}.toodego.com/", + "slug": "portal-agent", + "title": "Portail Agent", + "template_name": "portal-agent" + }}, + {"set-theme": { + "theme": "grandlyon-gnm" + }} + ] +}