IHE Test & Management Tools
  1. IHE Test & Management Tools

RESTfulATNA-server

Public
AuthorCommitMessageCommit dateIssues
Steve MooreSteve Moore
4ce33247dbdUpdate ATNASyslogFileBasedDB to match on the address field of the query.
Steve MooreSteve Moore
a19e7e0dde3curl-04 is a query with a date/time range and one address.
Steve MooreSteve Moore
a3fd13b522cMade some adjustments to get the Windows ^M out of the file. These werecausing the file to fail when trying to run on a Mac system. I assume it would also fail on a linux box.
Steve MooreSteve Moore
30456b87ac3Updates so that the ATNA queries received by the ARR service actually compare the start and end dates to the dates in the message.xml files we have captured. We do compute a list of files that match based on dates.Remaining steps: 1) Add filters for other variables 2) Turn the results in JSON and XML formats and return those. Right now we are returning a made up text message.
Steve MooreSteve Moore
33cf9c45a0ccurl-02.csh and curl-03.csh send individual RESTful queries to an AuditRecord Repository.
Steve MooreSteve Moore
878404a2491We now have a query object that is a representation of the URI query parameters, a database that reads the ATNA syslog messages from desk and a server that knows about these things.However, the server does not tie these toghether yet. Also, the database implementation only provides matching on dates and not any other parameters. Finally, the code that reads the syslog messages from disk needs some work. It blows up if there are issues with the messages. We just need to skip bad messages and move on.
Steve MooreSteve Moore
0709b4f763dSyslogQueryFactory is a factory class that builds query objects from theweb parameters sent through our RESTful queries.
Steve MooreSteve Moore
709baa20d53web.xml has parameters for this web application.The important item here is to map the WEB url to our server class.
Steve MooreSteve Moore
03d85780b75pom.xml is the maven build file for this project.This is the initial version that is developed for the RESTful ATNA server.
Steve MooreSteve Moore
00ad44df537QueryServiceATNA implements a RESTful server for ATNA syslog queries..It is intended to be included as part of a WAR file and deployed through an application such as tomcat.
Steve MooreSteve Moore
0ac59eada59A POJO that gives a representation of an ATNA query that we canuse to pass from the server class to the database class.
Steve MooreSteve Moore
d2f7c9b4453ATNASyslogFIleBasedDB reads syslog messages from the file system andimplements a simple, searchable database. This exists only to service the queries defined for RESTful ATNA. It is not a general database.
Steve MooreSteve Moore
d97773d3288The curl-01 scripts perform based HTTP get commands to testthe ATNA RESTful server. We send illegal values for start/end date. We do send legal values in the header for the expected encoding.
Steve MooreSteve Moore
f43d9442663README.txt is a readme file for this project. It also helpsas a place holder to get the software repository started.