With version 7.0 of yuuvis® RAD, the default URL changed from /enaio/client
to /app/client
because the /enaio
subdomain did no longer match the product name. This might be inconvenient because the old URL might be saved in (many) bookmarks, external tools and documentation. We recommend updating the URL where ever possible, but if you really want to keep /enaio/client/
in parallel to /app/client
or if you want to add another subdomain /<yoursubdomain>/client
in addition to the default /app/client
, you can follow this guide to achieve this (replace "enaio" with your desired subdomain if you want have a different subdomain).
In the <service-manager>\config\
folder, create a new file client-enaio.yml
with the following content:
spring: application: name: clientenaio resourcesDirectoryPath: '${enaio.data.path}/webresource/resources-enaio/' |
In the <service-manager>\config\
folder, edit the servicewatcher-sw.yml
file and copy the "clientservice" section. Then change the "name" parameter to "clientservice-enaio" and add "enaio" to the right end of the profiles parameter. It should look like this now:
- name: clientservice type: microservice profiles: prod,cloud instances: 1 memory: 64M port: 7391-7395 path: ${appBase}/clientservice/clientservice-app.jar - name: clientservice-enaio type: microservice profiles: prod,cloud,enaio instances: 1 memory: 64M port: 7391-7395 path: ${appBase}/clientservice/clientservice-app.jar |
In the <service-manager>\config\
folder, edit the gateway-prod.yml
file and add a new endpoint:
- name: 'enaio' url: 'http://clientenaio' |
<service-manager>\data\webresource
folder (replace <service-manager>\data
with the data folder of the service-manager if you chose a different location for it), copy the "resources" folder and call it "resources-enaio".<service-manager>\data\public\client\index.html
file to <service-manager>\data\webresrouce\resources-enaio\client\
.index.html
and change the line "<base href="/app/client/">
" to "<base href="/enaio/client/">
./enaio/client
the same way as /app/client
.You have to repeat steps 6 and 7 after every update of the service-manager! |