Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleAccessing debug port

Each redeployed module exposes debug port that is specified in docker_dir/DEBUG_PORT.txt. To access debug port you need to forward it in Vagrantfile by adding following string: 

Code Block
config.vm.network"forwarded_port", guest:9555, host:9555

You can forward a range of ports by using a for loop: 

Code Block
    for i in 9555..9575
      config.vm.network :forwarded_port, guest: i, host: i
    end



Expand
titleUndeploying module

deployment_scripts.7z also contains a undeploy.sh script that sends requests to:

1)Unassign module from diku tenant

2)Undeploy module from docker

3)Delete module description from Okapi

undeploy.sh takes module name as a parameter.
Usage example:

D:\\myFolder\\folio\\folio-ansible\\deployment_scripts\\undeploy.sh mod-notes

Filter by label (Content by label)
showLabelsfalse
max5
spacesFOLIJET
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "FOLIJET"
labelskb-how-to-article

...