I've almost got the build pack to automatically load Elastic Apm Agent on startup.
Except it's expecting the repo to have index.yml file in the maven repo.
version: 1.1.0
repository_root: https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent/
repository_download: https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent/1.1.0/elastic-apm-agent-1.1.0.jar```
Is there a repo where index.yml is supported?
I've noted that we can hack the agent line manually, but we have over 50 microservices, this becomes very costly. I'd like to get this merged into the base java build packs.
https://discuss.elastic.co/t/elastic-apm-agent-jar-on-pcf/166137
Thank you so much for using the Elastic Java APM and working on the Cloud Foundry Build Pack, We Certainly want to have an official build pack at some point soon.
BTW I wrote the manual hack, We realize that is not optimal but we wanted a way for folks to start trying out the agent in CF before a build pack was available.
I have forwarded this on to a couple internal folks including the PM on the APM Team.
Is this what you are looking for in the elastic apm agent maven repo?
Let's see what I can find out...
NOTE: I am a little confused are you specifically creating this buildpack to be dependent / integrated with JRebel?
That file is the internal configuration file for the Java BuildPack's internal ruby code inside the build pack compile to "lookup" the version number and repo location.
When that .rb code goes to the var key repository_root URL it attempts to fetch a
I believe the code looks for a INDEX_PATH = '/index.yml'
If you can name it that so the content looks like this url endpoint. https://download.run.pivotal.io/new-relic/index.yml
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.