Skip to content

Commit

Permalink
Thr 12 h5p editor player (#524)
Browse files Browse the repository at this point in the history
* add route of H5P 

* h5p editor: port added

* h5p editor: add feature flag

* h5p editor: enable on develop

* h5p editor: port env var renamed to match server config

* h5p editor: type in ingress config

* h5p editor: ingress config moved to bottom

* h5p editor: paths in nuxt split into player and editor

* change env var to false for nuxt

---------

Co-authored-by: Andre Blome <andre-david.blome@capgemini.com>
Co-authored-by: Stephan Krause <101647440+SteKrause@users.noreply.github.com>
Co-authored-by: stekrause <stephan.krause.ext@capgemini.com>
  • Loading branch information
4 people authored Jun 7, 2023
1 parent a34cd9e commit 6649ad0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ansible/group_vars/all/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,11 @@ configuration_all:
server: true
client: false
nuxtclient: false
FEATURE_H5P_EDITOR_ENABLED:
value: "false"
server: true
client: false
nuxtclient: false
FEATURE_FWU_CONTENT_ENABLED:
value: "false"
server: true
Expand Down
1 change: 1 addition & 0 deletions ansible/group_vars/all/h5p-editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PORT_H5P_EDITOR: 4448
12 changes: 12 additions & 0 deletions ansible/group_vars/all/x_ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ default_ingress:
path: /rooms
serviceName: nuxtclient-svc
servicePort: "{{ NUXTCLIENT_PORT }}"
h5p-player:
path: /h5p/player
serviceName: nuxtclient-svc
servicePort: "{{ NUXTCLIENT_PORT }}"
h5p-editor:
path: /h5p/editor
serviceName: nuxtclient-svc
servicePort: "{{ NUXTCLIENT_PORT }}"
cfiles:
path: /cfiles
serviceName: nuxtclient-svc
Expand Down Expand Up @@ -347,6 +355,10 @@ default_ingress:
path: /api/v3/file/copy
serviceName: api-files-svc
servicePort: "{{ PORT_FILE_SERVICE }}"
api_v3_h5p:
path: /api/v3/h5p-editor
serviceName: api-h5p-svc
servicePort: "{{ PORT_H5P_EDITOR }}"
etherpad:
path: /etherpad
serviceName: etherpad-nginx-svc
Expand Down
5 changes: 4 additions & 1 deletion ansible/group_vars/develop/cfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ FEATURE_ALLOW_INSECURE_LDAP_URL_ENABLED: "true"

ES_DOMAIN: "https://repository.sc-dev-edusharing.dbildungscloud.dev"

H5P_FRAME_SRC_URLS: "https://rendering.edu-2.services.sc-dev-edusharing.dbildungscloud.dev/ https://rendering.services.sc-dev-edusharing.dbildungscloud.dev/"
H5P_FRAME_SRC_URLS: "https://rendering.edu-2.services.sc-dev-edusharing.dbildungscloud.dev/ https://rendering.services.sc-dev-edusharing.dbildungscloud.dev/"

FEATURE_H5P_EDITOR_ENABLED: "true"

0 comments on commit 6649ad0

Please sign in to comment.