Closed jnehring closed 8 years ago
Also GET /e-link/templates and GET /e-link/templates/{id} produce this error on api-dev. I did not test the other e-link endpoints.
I attached the brokers error log from freme-dev. It seems to be a problem with MySQL.
This happens because the documentation try-out button uses no authentication.
SecurityContextHolder.getContext().getAuthentication().authentication.getPrincipal() does not return an user Object, but a string "anonymousUser". @jnehring do you have an idea, why this happens? Can we change this, so that an User object with the name property "anonymousUser" is returned? Perhaps with an role "ROLE_ANONYMOUS"? How can we do this?
fixed in authentication branch
solved in master branch with a workaround, will be solved when https://github.com/freme-project/Broker/issues/107 is fixed.
POST /e-link/documents does not work on freme-dev. The example from http://api-dev.freme-project.eu/doc/api-doc/full.html#!/e-Link/enrich produces
@ArneBinder maybe there is a connection with https://github.com/freme-project/e-Link/issues/42 or https://github.com/freme-project/Broker/issues/107