Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Story #11854: Small OPS Cleanup. #1930

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployment/ansible-vitamui-extra/vitamui_extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
- browser

- hosts: reverse
gather_facts: no
gather_facts: yes
roles:
- merge_index_apache
4 changes: 0 additions & 4 deletions deployment/environments/hosts-ui.example
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ hosts_vitamui_reverseproxy
[zone_vitamui_ui:children]
hosts_ui_identity
hosts_ui_portal
hosts_ui_search
hosts_ui_ingest
hosts_ui_archive_search
hosts_ui_collect
Expand All @@ -57,9 +56,6 @@ hosts_ui_design_system
[hosts_ui_portal]
# EDIT: Mandatory

[hosts_ui_search]
# EDIT: Mandatory

[hosts_ui_pastis]
# EDIT: Mandatory

Expand Down
5 changes: 0 additions & 5 deletions deployment/environments/hosts.local
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ localhost
[zone_vitamui_ui:children]
hosts_ui_identity
hosts_ui_portal
hosts_ui_search
hosts_ui_ingest
hosts_ui_archive_search
hosts_ui_collect
Expand Down Expand Up @@ -64,10 +63,6 @@ localhost
# EDIT: Mandatory
localhost

[hosts_ui_search]
# EDIT: Mandatory
localhost

[hosts_ui_pastis]
# EDIT: Mandatory
localhost
Expand Down
7 changes: 2 additions & 5 deletions deployment/scripts/mongod/1.0.0/318_application_ref.js.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ db.applications.insertOne({
"identifier" : "ACCESSION_REGISTER_APP",
{% if vitamui.referential.base_url is defined %}
"url": "{{ vitamui.referential.base_url }}/accession-register",
"serviceId": "^{{ vitamui.referential.base_url }}/.*"
{% else %}
"url": "{{ url_prefix }}/referential/accession-register",
"serviceId": "^{{ url_prefix }}/referential/.*"
{% endif %}
"icon" : "vitamui-icon vitamui-icon-rules",
"name" : "Registre des fonds",
Expand All @@ -20,11 +22,6 @@ db.applications.insertOne({
"hasHighlight" : false,
"tooltip" : "Visualisation de l'ensemble des données du registre des fonds",
"target" : "_self",
{% if vitamui.referential.base_url is defined %}
"serviceId": "^{{ vitamui.referential.base_url }}/.*"
{% else %}
"serviceId": "^{{ url_prefix }}/referential/.*"
{% endif %}
});

print("END 318_application_ref.js");
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@ print("Start 07_insert_serviceid_to_applications_ref.js");

// =============== INGEST ==========

db.applications.updateOne({
"identifier" : "INGEST_MANAGEMENT_APP"
}, {
$set: {
{% if vitamui.ingest.base_url is defined %}
"serviceId2": "^{{ vitamui.ingest.base_url }}/.*",
{% else %}
"serviceId2": "^{{ url_prefix }}/ingest/.*",
{% endif %}
},
}
);

db.applications.updateOne({
"identifier" : "HOLDING_FILLING_SCHEME_APP",
}, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ db.applications.insertOne({
"identifier" : "LOGBOOK_MANAGEMENT_OPERATION_APP",
{% if vitamui.referential.base_url is defined %}
"url": "{{ vitamui.referential.base_url }}/logbook-management-operation",
"serviceId": "^{{ vitamui.referential.base_url }}/.*",
{% else %}
"url": "{{ url_prefix }}/referential/logbook-management-operation",
{% endif %}
{% if vitamui.referential.base_url is defined %}
"serviceId": "^{{ vitamui.referential.base_url }}/.*",
{% else %}
"serviceId": "^{{ url_prefix }}/referential/.*",
"serviceId": "^{{ url_prefix }}/referential/.*",
{% endif %}
"icon": "vitamui-icon vitamui-icon-logbook-operations",
"name": "Gestion des Opérations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ db.applications.insertOne({
"identifier" : "MANAGEMENT_CONTRACT_APP",
{% if vitamui.referential.base_url is defined %}
"url": "{{ vitamui.referential.base_url }}/management-contract",
{% else %}
"url": "{{ url_prefix }}/referential/management-contract",
{% endif %}
{% if vitamui.referential.base_url is defined %}
"serviceId": "^{{ vitamui.referential.base_url }}/.*",
{% else %}
"serviceId": "^{{ url_prefix }}/referential/.*",
"url": "{{ url_prefix }}/referential/management-contract",
"serviceId": "^{{ url_prefix }}/referential/.*",
{% endif %}
"icon" : "vitamui-icon vitamui-icon-ontologie",
"name" : "Contrats de Gestion",
Expand Down