@@ -0,0 +1,1239 @@
+package au.gov.ga.geodesy.gws.systemtest;%0A%0Aimport static io.restassured.RestAssured.given;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0A%0Aimport org.springframework.http.HttpStatus;%0Aimport org.testng.annotations.Test;%0A%0Aimport io.restassured.response.Response;%0A%0Apublic class SetupTest extends BaseSystemTest %7B%0A%0A    @Test%0A    public void findSetupsByIdAndDate() throws Exception %7B%0A        Response response = given()%0A            .get(getConfig().getWebServicesUrl() + %22/setups/search/findByFourCharacterId?id=ALIC&effectiveFrom=2011-12-12&effectiveTo=2014-12-12&timeFormat=uuuu-MM-dd%22)%0A            .then()%0A            .statusCode(HttpStatus.OK.value())%0A            .extract().response();%0A%0A       assertThat(response.jsonPath().get(%22page.totalElements%22), is(3));%0A       assertThat(response.jsonPath().get(%22_embedded.setups%5B0%5D.name%22), is(%22GNSS CORS Setup%22));%0A       assertThat(response.jsonPath().get(%22_embedded.setups%5B0%5D.name%22), is(%22GNSS CORS Setup%22));%0A       assertThat(response.jsonPath().get(%22_embedded.setups%5B0%5D.effectivePeriod.from%22), is(%222011-07-20T00:00:00Z%22));%0A       assertThat(response.jsonPath().get(%22_embedded.setups%5B0%5D.effectivePeriod.to%22), is(%222013-03-08T00:00:00Z%22));%0A    %7D%0A%7D%0A

Add system test for cors setups