...
Implmeent an Interface org.perfsonar.service.measurementArchive.sqlType.fetch.ResponseGenerator.
view: TracerouteResponseGenerator.java
Step 4: Adding Mapping entry of new Metric to the service
Add the implmented classes entry into the $PERFSONAR/conf/eventType_map.xml
<eventType>
<name>traceroute</name>
<metadataQueryGenerator>org.perfsonar.service.measurementArchive.metadataConfig.queryGenerator.TracerouteQueryGenerator</metadataQueryGenerator>
<responseGenerator>org.perfsonar.service.measurementArchive.sqlType.fetch.TracerouteResponseGenerator</responseGenerator>
</eventType>
Step 5: Recompile and redeploy the service
Executing the following commands in order from $PERFSONAR/ant directory and enter the exact information asked for the configuration
- ant -f build-sqlma.xml xmldb-init-sqlma
- ant -f build-sqlma.xml configure-sqlma
- start/restart tomcat
- ant -f build-sqlma.xml undeploy-sqlma
- ant -f build-sqlma.xml deploy-sqlma
Step 6: Testing
TODO: