Testing /cm/ewp/localEsmoHosts
After merging devmanifest branch with development branch, I'm trying http://localhost:8080/cm/ewp/localEsmoHosts, and I get this:
2019-04-01 12:35:52.725 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Found 2 ESMO hosts in the registry
2019-04-01 12:35:52.736 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Fetching ESMO manifest from https://docker-demo.fsat.no/esmo-manifest
2019-04-01 12:35:52.960 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Accepted RSA public keys for verifying signature: 2
2019-04-01 12:35:52.963 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Could not fetch ESMO manifest from host https://docker-demo.fsat.no/esmo-manifest
2019-04-01 12:35:52.963 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Error: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
2019-04-01 12:35:52.963 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Fetching ESMO manifest from https://esmo.es/gw
2019-04-01 12:35:53.411 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: HTTP Response status 410
2019-04-01 12:35:53.413 INFO 5772 --- [nio-8080-exec-6] .r.c.m.AttributeProfilesGetApiController : EWP: Error updating ESMO manifest data java.io.FileNotFoundException: src\test\java\esmo-manifest-gateway.json (El sistema no puede encontrar el archivo especificado)
java.io.FileNotFoundException: src\test\java\esmo-manifest-gateway.json (El sistema no puede encontrar el archivo especificado)
Related to the other ewp services implemented by Matija, http://localhost:8080/cm/ewp/manifest is working, but http://localhost:8080/cm/ewp/esmoHosts fails:
2019-04-01 13:04:07.172 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Found 2 ESMO hosts in the registry
2019-04-01 13:04:07.173 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Fetching ESMO manifest from https://docker-demo.fsat.no/esmo-manifest
2019-04-01 13:04:07.512 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Accepted RSA public keys for verifying signature: 2
2019-04-01 13:04:07.517 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Could not fetch ESMO manifest from host https://docker-demo.fsat.no/esmo-manifest
2019-04-01 13:04:07.517 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Error: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
2019-04-01 13:04:07.517 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Fetching ESMO manifest from https://esmo.es/gw
2019-04-01 13:04:07.724 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: HTTP Response status 410
2019-04-01 13:04:07.728 INFO 5772 --- [nio-8080-exec-8] .r.c.m.AttributeProfilesGetApiController : EWP: Error updating ESMO manifest data java.io.FileNotFoundException: src\test\java\esmo-manifest-gateway.json (El sistema no puede encontrar el archivo especificado)
Could you please take a look at it? Thank you!