@@ -0,0 +1,1144 @@
+package au.gov.ga.geodesy.test.integration.standalone;%0A%0Aimport static com.jayway.restassured.RestAssured.given;%0A%0Aimport java.io.File;%0A%0Aimport org.apache.commons.io.FileUtils;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.testng.annotations.Test;%0A%0Aimport au.gov.ga.geodesy.support.TestResources;%0A%0A/**%0A * Upload all SOPAC site logs.%0A */%0Apublic class UploadSopacSiteLogs extends StandaloneIntegrationTest %7B%0A%0A    private static final Logger log = LoggerFactory.getLogger(UploadSopacSiteLogs.class);%0A%0A    private void uploadSopacSiteLog(File siteLog) throws Exception %7B%0A        log.info(%22Uploading %22 + siteLog.getName() + %22 to %22 + getConfig().getWebServicesUrl());%0A        given()%0A            .contentType(%22text/xml; charset=ISO-8859-1%22)%0A            .body(FileUtils.readFileToString(siteLog, %22ISO-8859-1%22))%0A        .when()%0A            .post(getConfig().getWebServicesUrl() + %22/siteLog/sopac/upload%22)%0A        .then()%0A            .statusCode(201);%0A    %7D%0A%0A    @Test%0A    public void upload() throws Exception %7B%0A        for (File siteLog : TestResources.sopacSiteLogs()) %7B%0A            uploadSopacSiteLog(siteLog);%0A        %7D%0A    %7D%0A%7D%0A

Add standalone test to upload SOPAC site logs