Sunday, May 10, 2015

Geospatial Data Quality System - Project Pages

Geospatial Data Quality System

It was another good week for GDQS, expanding the Project object infrastructure.

I had already created a Project list page, but it was just a clone of the Workspace list page, loading all of the Workspace objects in the Catalog.  When I defined the Project object, I added a property to the Metadata Map to indicate that it is a GDQS project.  One of the parameters for the "GeoServerTablePanel" constructor is a WorkspaceProvider object, which collects all of the Workspaces in the Data Directory:



Looking at the WorkspaceProvider code, I could not figure out a good way to exclude objects so I extended the class.  The only change I had to make was overriding the getItems()  method to exclude the objects with "GDQSProject" set to "true":


Now, when the GDQS ProjectListPage loads, only GDQS projects are shown:



Aside from the ProjectProvider class, a ProjectInfo page was added, but it isn't very exciting at this point, so I'm not going to show it yet.

Ant Build

The other task I completed this week was to work on the development environment.  I created an Ant script that would copy the stop Tomcat, copy the jar, and then start Tomcat:


The next step for the build would be to run the Maven Install from Ant, or incorporate the Ant script into the pom.xml.

No comments: