Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 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 

  1. ant -f build-sqlma.xml xmldb-init-sqlma
  2. ant -f build-sqlma.xml configure-sqlma
  3. start/restart tomcat
  4. ant -f build-sqlma.xml undeploy-sqlma
  5. ant -f build-sqlma.xml deploy-sqlma

Step 6: Testing

TODO: