{"id":12095,"date":"2022-10-25T11:48:12","date_gmt":"2022-10-25T16:48:12","guid":{"rendered":"https:\/\/threecloud.wpengine.com\/?p=12095"},"modified":"2023-05-01T21:49:02","modified_gmt":"2023-05-02T02:49:02","slug":"java","status":"publish","type":"post","link":"https:\/\/3cloudsolutions.com\/resources\/java\/","title":{"rendered":"Application Insights In-Process Agent for Java"},"content":{"rendered":"<h5 aria-level=\"1\"><span data-contrast=\"none\">Objective<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">To demonstrate how to<a href=\"https:\/\/3cloudsolutions.com\/post\/drive-your-business-forward-by-modernizing-your-applications\/\"> enable telemetry delivery to Azure Application Insights with a containerized Java application.<\/a> This document demonstrates the creation of an assembly file to instruct Maven to build a zip file with the necessary project file, modify the pom.xml file with the required publish settings and create the Dockerfile essential to the creation of the container image. Finally, to tie everything together, I included an explanation of how to run and test the process locally.\u00a0\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">To get this example to work, you will need the following:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/www.jetbrains.com\/idea\/download\/\"><span data-contrast=\"none\">IntelliJ from JetBrains<\/span><\/a><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/www.docker.com\/products\/docker-desktop\/\"><span data-contrast=\"none\">Docker for Desktop<\/span><\/a> <span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p aria-level=\"1\"><a href=\"https:\/\/github.com\/3CloudSolutions\/asd-oss-blogs\"><span data-contrast=\"none\">Source Code<\/span><\/a><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h5 aria-level=\"1\"><span data-contrast=\"none\">Assembly File<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">The Assembly Plugin for Maven enables developers to combine project output into a single distributable archive. For example, assume that a Maven project defines a single JAR artifact that contains both a console application and a Swing application. Such a project could define two &#8220;assemblies&#8221; that bundle the application with a different set of supporting scripts and dependency sets. One assembly would be the assembly for the console application, and the other could be a Swing application bundled with a slightly different set of dependencies. This assembly aims to package the project-generated JAR file and the AppInsights JAR file into a single Zip file.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12096\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734.png\" alt=\"\" width=\"1665\" height=\"742\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734.png 1665w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-300x134.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-1024x456.png 1024w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-768x342.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-1536x685.png 1536w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-600x267.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-992x442.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-1200x535.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-1346x600.png 1346w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-110734-60x27.png 60w\" sizes=\"auto, (max-width: 1665px) 100vw, 1665px\" \/><\/p>\n<h5 aria-level=\"1\"><span data-contrast=\"none\">Pom file Additions<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">Two plug-ins need to be added to the POM file. The first one will copy the <\/span><i><span data-contrast=\"auto\">applicationinsights-agent-X.X.X.jar<\/span><\/i><span data-contrast=\"auto\"> into the resource directory, the second is to create the zip file based on the zip-assembly file.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240,&quot;469777462&quot;:[916,1832,2748,3664,4580,5496,6412,7328,8244,9160,10076,10992,11908,12824,13740,14656],&quot;469777927&quot;:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],&quot;469777928&quot;:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12097\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008.png\" alt=\"\" width=\"842\" height=\"919\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008.png 1425w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-275x300.png 275w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-938x1024.png 938w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-768x838.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-1408x1536.png 1408w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-600x655.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-992x1082.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-1200x1309.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-550x600.png 550w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111008-55x60.png 55w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/span><\/p>\n<h5 aria-level=\"1\"><span data-contrast=\"none\">Docker File<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">Adding Four goals to the Docker file base on the openjdk:17-alpine image:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ol>\n<li><span data-contrast=\"auto\">Install the zip package into the container<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"Calibri\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Copy the AppInsightsAgentAssembly.zip into the container<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"auto\">Unzip the file\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"Calibri\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">Add a command line argument to refer to the jar file on startup<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12098\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220.png\" alt=\"\" width=\"844\" height=\"235\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220.png 1542w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-300x84.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-1024x286.png 1024w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-768x214.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-1536x428.png 1536w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-600x167.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-992x277.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-1200x335.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111220-60x17.png 60w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/p>\n<h5 aria-level=\"1\"><span data-contrast=\"none\">Bringing it all together<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">Create an instance of Application Insights in Azure and retrieve the connection string<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12100\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1.png\" alt=\"\" width=\"839\" height=\"112\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1.png 1600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-300x40.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-1024x136.png 1024w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-768x102.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-1536x204.png 1536w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-2048x272.png 2048w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-600x80.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-992x132.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-1200x160.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-1800x239.png 1800w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-111358-1-60x8.png 60w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>Retrieve the code from here:<span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><br \/>\n<\/span>[GitHub URL]<\/p>\n<p>Open the code in your favorite editor and run the Maven Package action. The zip file should now be in your target folder. <span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>Create a file named .env and add the Application Insights connection string as an environment variable.<br \/>\nEnvironment File:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12101\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052.png\" alt=\"\" width=\"853\" height=\"100\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052.png 1425w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-300x35.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-1024x120.png 1024w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-768x90.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-600x70.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-992x116.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-1200x141.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112052-60x7.png 60w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/p>\n<p>Create the container image:<span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"> \u00a0<\/span>docker build . -t myimage:latest<\/p>\n<p>Start the container and reference the environment file in the docker run command<span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><br \/>\n<\/span>docker run -it -p 8080:8080 &#8211;env-file=.env myimage:latest<\/p>\n<p>Call the API with the following URL:<span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><br \/>\nhttp:\/\/localhost:8080\/api\/hello<\/span><\/p>\n<p>Telemetry should be available in your instance of Application Insights:<span style=\"font-size: 20px; letter-spacing: 0.02em;\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12102\" src=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301.png\" alt=\"\" width=\"1510\" height=\"1200\" srcset=\"https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301.png 1510w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-300x238.png 300w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-1024x814.png 1024w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-768x610.png 768w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-600x477.png 600w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-992x788.png 992w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-1200x954.png 1200w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-755x600.png 755w, https:\/\/3cloudsolutions.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-25-112301-60x48.png 60w\" sizes=\"auto, (max-width: 1510px) 100vw, 1510px\" \/><\/p>\n<h5 aria-level=\"1\"><span data-contrast=\"none\">Final Thoughts<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h5>\n<p><span data-contrast=\"auto\">Detailed information on the <\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/azure-monitor\/app\/java-in-process-agent\"><span data-contrast=\"none\">Java In-Process Agent<\/span><\/a><span data-contrast=\"auto\"> from Microsoft is found on their website, and to download the source code, visit the 3Cloud Solutions <\/span><a href=\"https:\/\/github.com\/3CloudSolutions\/asd-oss-blogs\"><span data-contrast=\"none\">GitHub<\/span><\/a><span data-contrast=\"auto\"> site.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Objective\u00a0 To demonstrate how to enable telemetry delivery to Azure Application Insights with a containerized&mldr;<\/p>\n","protected":false},"author":94,"featured_media":12103,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[292,264],"tags":[302],"class_list":["post-12095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-innovation","category-enterprise-apps","tag-java","topics-blog"],"acf":[],"_links":{"self":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/12095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/comments?post=12095"}],"version-history":[{"count":0,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/12095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media\/12103"}],"wp:attachment":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media?parent=12095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/categories?post=12095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/tags?post=12095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}