A Slack community user reported that his calls to packages using feign were not showing up in his maps. He sent in this test case (spring-petclinic-feign.zip),a modified Pet Clinic, which demonstrates the issue.
Even though the appmap.yml specifies that we should map package org.springframework.samples.petclinic, none of the calls to org.springframework.samples.petclinic.controller.FactsController show up. Same for org.springframework.samples.petclinic.service.FactsService.
Use the maven file to build and package the app as a jar, then run with:
java -javaagent:appmap-1.15.4.jar -jar target/spring-petclinic-0.0.1-SNAPSHOT.jar
After stopping recording, the generated AppMaps will look like this: feign_2.appmap.json.zip. They should show things like calls to the external Facts service but do not.
I captured AppMap debug logging for this, attached here. debug.log.zip
A Slack community user reported that his calls to packages using
feign
were not showing up in his maps. He sent in this test case (spring-petclinic-feign.zip),a modified Pet Clinic, which demonstrates the issue.Even though the appmap.yml specifies that we should map package
org.springframework.samples.petclinic
, none of the calls toorg.springframework.samples.petclinic.controller.FactsController
show up. Same fororg.springframework.samples.petclinic.service.FactsService
.Use the maven file to build and package the app as a jar, then run with:
java -javaagent:appmap-1.15.4.jar -jar target/spring-petclinic-0.0.1-SNAPSHOT.jar
Then start recording, call the following APIs: http://localhost:8080/facts http://localhost:8080/vets
After stopping recording, the generated AppMaps will look like this: feign_2.appmap.json.zip. They should show things like calls to the external Facts service but do not.
I captured AppMap debug logging for this, attached here. debug.log.zip