{"action":"created","comment":{"url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/comments/81042425","pull_request_review_id":2052234,"id":81042425,"diff_hunk":"@@ -0,0 +1,726 @@\n+package tds.student.api.tests;\n+\n+import static com.jayway.restassured.RestAssured.*;\n+import static org.hamcrest.Matchers.*;\n+\n+import com.jayway.restassured.http.ContentType;\n+import org.testng.annotations.Test;\n+import tds.base.BaseUri;\n+import tds.student.api.model.StudentDeleteBatchInfo;\n+import tds.student.api.model.StudentInfo;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+/*\n+ * This class tests Student API endpoints that creates, updates and deletes a student\n+ */\n+public class StudentApiTests extends BaseUri {\n+    private String uriLocation = \"/rest/external/student/\";\n+\n+    /*\n+     * Test of Create Student, HTTP POST of /api/external/student/{stateCode}, 201 success item created\n+     * Test of Get Student, HTTP GET of /api/external/student/{stateCode}/{ssid}, 200 success item found\n+     */\n+    private StudentInfo createStudent(String ssid, String stateAbbrev) {\n+        StudentInfo studentInfo = new StudentInfo(\n+            ssid,\n+            stateAbbrev,\n+            \"DS9001\",\n+            \"DISTRICT9\",\n+            \"Amy\",\n+            \"Martin\",\n+            \"Leslie\",\n+            \"1999-01-01\",\n+            \"e\" + ssid,\n+            \"04\",\n+            \"Male\",\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            true,\n+            false,\n+            false,\n+            false,\n+            false,\n+            null,\n+            false,\n+            \"2000-02-01\",\n+            null,\n+            null,\n+            null,\n+            null,\n+            0\n+        );\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(201)\n+            .header(\"location\", endsWith(uriLocation + stateAbbrev + \"/\" + ssid));\n+\n+        // Execute a GET by ssid to validate that the student was created\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + stateAbbrev + \"/\"  + ssid)\n+        .then()\n+            .statusCode(200)\n+            .body(\"institutionIdentifier\", is(studentInfo.getInstitutionIdentifier()))\n+            .body(\"firstName\", is(studentInfo.getFirstName()))\n+            .body(\"middleName\", is(studentInfo.getMiddleName()))\n+            .body(\"lastName\", is(studentInfo.getLastName()));\n+\n+        return studentInfo;\n+    }\n+\n+    /*\n+     * Test of Create Students, HTTP POST of /api/external/student/{stateCode}, 202 success item created\n+     * Test of Get Students, HTTP GET of /api/external/student/{stateCode}/{ssid}, 200 success item found\n+     */\n+    private List<StudentInfo> createBatchOfStudents(String ssid1, String ssid2, String stateAbbrev) {\n+        List<StudentInfo> students = new ArrayList<StudentInfo>();\n+\n+        students.add(new StudentInfo(\n+            ssid1,\n+            stateAbbrev,\n+            \"DS9001\",\n+            \"DISTRICT9\",\n+            \"Amy\",\n+            \"Martin\",\n+            \"Leslie\",\n+            \"1999-01-01\",\n+            \"e\" + ssid1,\n+            \"04\",\n+            \"Male\",\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            true,\n+            false,\n+            false,\n+            false,\n+            false,\n+            null,\n+            false,\n+            \"2000-02-01\",\n+            null,\n+            null,\n+            null,\n+            null,\n+            0\n+        ));\n+        students.add(new StudentInfo(\n+            ssid2,\n+            stateAbbrev,\n+            \"DS9001\",\n+            \"DISTRICT9\",\n+            \"Alex\",\n+            \"Karev\",\n+            \"Jim\",\n+            \"1999-01-01\",\n+            \"e\" + ssid2,\n+            \"04\",\n+            \"Female\",\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            false,\n+            true,\n+            false,\n+            false,\n+            false,\n+            false,\n+            null,\n+            false,\n+            \"2001-11-01\",\n+            null,\n+            null,\n+            null,\n+            null,\n+            0\n+        ));\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(students)\n+        .when()\n+            .post(uriLocation + stateAbbrev + \"/\" + \"batch\")\n+        .then()\n+            .statusCode(202);\n+\n+        // Execute a GET by ssid to validate that the student was created\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + stateAbbrev + \"/\"  + ssid1)\n+        .then()\n+            .statusCode(200)\n+            .body(\"institutionIdentifier\", is(students.get(0).getInstitutionIdentifier()))\n+            .body(\"firstName\", is(students.get(0).getFirstName()))\n+            .body(\"middleName\", is(students.get(0).getMiddleName()))\n+            .body(\"lastName\", is(students.get(0).getLastName()));\n+\n+        return students;\n+    }\n+\n+    /*\n+     *  Test of Delete Student, HTTP DELETE of /api/external/student/{stateCode}/{ssid}, 204 success item found and deleted\n+     *  Test of Get Student, HTTP GET of /api/external/external/student/{stateCode}/{ssid}, 404 item not found\n+     */\n+    private void deleteSingleStudent(String ssid, String stateAbbrev) {\n+        // Execute a Delete to remove the student\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .delete(uriLocation + stateAbbrev + \"/\" + ssid)\n+        .then()\n+            .statusCode(204);\n+\n+        // Execute a GET by ssid to validate user is deleted\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + stateAbbrev + \"/\" + ssid)\n+        .then()\n+            .statusCode(404);\n+    }\n+\n+    private void deleteBatchOfStudents(List<StudentDeleteBatchInfo> deleteStudents) {\n+        // Execute a Delete to remove the batch of students\n+        String stateCode = deleteStudents.get(0).getStateCode();\n+\n+        String location =\n+            given()\n+                .contentType(ContentType.JSON)\n+                .header(authHeader)\n+                .body(deleteStudents)\n+            .when()\n+                .delete(uriLocation + stateCode + \"/batch\")\n+            .then()\n+                .statusCode(202)\n+            .extract()\n+                .header(\"location\");\n+\n+        int pos = location.lastIndexOf(\"/\") + 1;\n+        String studentId = location.substring(pos);\n+\n+        // Execute a GET by ssid to validate student is deleted\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + \"batch/\" + studentId)\n+        .then()\n+            .statusCode(200)\n+            .body(\"exceptions[0].errorMessage\", endsWith(\"does not exist\"));\n+\n+    }\n+\n+    @Test\n+    public void shouldCreateDeleteStudent() {\n+        String stateAbbrev = \"CA\";\n+        String ssid = createRandomStudentSsid();\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Execute a DELETE to delete the student\n+        deleteSingleStudent(ssid,stateAbbrev);\n+    }\n+\n+    @Test\n+    public void shouldCreateUpdateDeleteStudent() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        studentInfo.setStateAbbreviation(stateAbbrev);\n+        studentInfo.setFirstName(\"William\");\n+        studentInfo.setLastName(\"Peters\");\n+        studentInfo.setGradeLevelWhenAssessed(\"02\");\n+        studentInfo.setHispanicOrLatino(true);\n+        studentInfo.setElpLevel(2);\n+\n+        // Execute a POST to update the student with new information\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(204)\n+            .header(\"location\", endsWith(uriLocation + stateAbbrev + \"/\" + ssid));\n+\n+        // Execute a GET by ssid to verify that the student information has changed\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + stateAbbrev + \"/\" + ssid)\n+        .then()\n+            .statusCode(200)\n+            .body(\"firstName\", is(studentInfo.getFirstName()))\n+            .body(\"lastName\", is(studentInfo.getLastName()));\n+\n+        // Execute a DELETE to delete the student\n+        deleteSingleStudent(ssid,stateAbbrev);\n+    }\n+\n+    @Test\n+    public void shouldCreateUpdateDeleteBatchOfStudents() {\n+        String ssid1  = createRandomStudentSsid();\n+        String ssid2  = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+        List<StudentInfo> students = createBatchOfStudents(ssid1, ssid2, stateAbbrev);\n+        students.get(0).setInstitutionIdentifier(\"DS9222\");\n+        students.get(0).setMiddleName(\"Ray\");\n+        students.get(0).setAmericanIndianOrAlaskaNative(true);\n+        students.get(1).setLastName(\"Jones\");\n+        students.get(1).setBlackOrAfricanAmerican(true);\n+        students.get(1).setElpLevel(3);\n+\n+        // Execute a POST to update the students with new information\n+        String location =\n+            given()\n+                .contentType(ContentType.JSON)\n+                .header(authHeader)\n+                .body(students)\n+            .when()\n+                .post(uriLocation + stateAbbrev + \"/batch\")\n+            .then()\n+                .statusCode(202)\n+            .extract()\n+                .header(\"location\");\n+\n+        int pos = location.lastIndexOf(\"/\") + 1;\n+        String studentId = location.substring(pos);\n+\n+        // Execute a GET by ssid to verify that the student information has changed\n+        given()\n+            .contentType(ContentType.JSON)\n+            .accept(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .get(uriLocation + \"batch/\" + studentId)\n+        .then()\n+            .statusCode(200)\n+            .body(\"id\", is(studentId));\n+\n+        // Execute a DELETE to delete the batch of students\n+        List<StudentDeleteBatchInfo> deleteStudents = new ArrayList<StudentDeleteBatchInfo>();\n+        deleteStudents.add(new StudentDeleteBatchInfo(ssid1, stateAbbrev));\n+        deleteStudents.add(new StudentDeleteBatchInfo(ssid2, stateAbbrev));\n+\n+        deleteBatchOfStudents(deleteStudents);\n+    }\n+\n+    @Test\n+    public void shouldNotDeleteStudentWithInvalidSsid() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+        .when()\n+            .delete(uriLocation + stateAbbrev + \"/\" + \"ABCDEF\")\n+        .then()\n+            .statusCode(404);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidStateAbbreviation() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid state abbreviation that should only be 2 characters\n+        stateAbbrev = \"ABC\";\n+        studentInfo.setStateAbbreviation(stateAbbrev);\n+\n+        // Execute POST with invalid state abbreviation\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithNullStateAbbreviation() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid state abbreviation set to null\n+        stateAbbrev = null;\n+        studentInfo.setStateAbbreviation(stateAbbrev);\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidInstitutionId() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid institution Id set to a blank\n+        studentInfo.setInstitutionIdentifier(\"\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidDistrictId() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid district Id\n+        studentInfo.setDistrictIdentifier(\"DistrictAADEFFJJIDDDDWERDEDEFG00293838192922\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400)\n+            .body(\"messages.districtIdentifier[0]\", equalTo(\"District Identifier size must be between 1 and 40\"));\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidFirstName() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid first name\n+        studentInfo.setFirstName(\"MynameisJoeSmithAndMyMiddleNameisSteven\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400)\n+            .body(\"messages.firstName[0]\", equalTo(\"The max size of the FirstName is 35\"));\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidLastName() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid last name\n+        studentInfo.setLastName(\"MylastnameisBiggalow-Johnson-Richardson\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400)\n+            .body(\"messages.lastName[0]\", equalTo(\"The max size of the LastName is 35\"));\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidMiddleName() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test an invalid middle name\n+        studentInfo.setMiddleName(\"MymiddlenameisWilliam-Peterson-Henderson\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400)\n+            .body(\"messages.middleName[0]\", equalTo(\"The max size of the MiddleName is 35\"));\n+    }\n+\n+    @Test\n+    public void shouldNotCreateBatchOfStudentsWithInvalidBirthDate() {\n+        String ssid1  = createRandomStudentSsid();\n+        String ssid2  = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+        List<StudentInfo> students = createBatchOfStudents(ssid1, ssid2, stateAbbrev);\n+\n+        // Test an invalid birth date\n+        students.get(0).setBirthDate(\"882292-12-983\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(students)\n+        .when()\n+            .post(uriLocation + stateAbbrev + \"/\" + \"batch\")\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidExternalSsid() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test and invalid state abbreviation\n+        studentInfo.setExternalSsid(\"\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidSex() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test and invalid state abbreviation\n+        studentInfo.setSex(\"\");\n+\n+        given()\n+            .contentType(ContentType.JSON)\n+            .header(authHeader)\n+            .body(studentInfo)\n+        .when()\n+            .post(uriLocation + stateAbbrev)\n+        .then()\n+            .statusCode(400);\n+    }\n+\n+    @Test\n+    public void shouldNotCreateUpdateStudentWithInvalidGradeLevel() {\n+        String ssid = createRandomStudentSsid();\n+        String stateAbbrev = \"CA\";\n+\n+        // Create a student\n+        StudentInfo studentInfo = createStudent(ssid, stateAbbrev);\n+\n+        // Test and invalid state abbreviation","path":"api_end_end_testing/src/test/java/tds/student/api/tests/StudentApiTests.java","position":555,"original_position":581,"commit_id":"118563dbe1f7f13f12c68303f1605b1cade07d07","original_commit_id":"0ed46584181a1d6fb847fa377826175181180a3e","user":{"login":"maryjanebarger","id":6099063,"avatar_url":"https://avatars.githubusercontent.com/u/6099063?v=3","gravatar_id":"","url":"https://api.github.com/users/maryjanebarger","html_url":"https://github.com/maryjanebarger","followers_url":"https://api.github.com/users/maryjanebarger/followers","following_url":"https://api.github.com/users/maryjanebarger/following{/other_user}","gists_url":"https://api.github.com/users/maryjanebarger/gists{/gist_id}","starred_url":"https://api.github.com/users/maryjanebarger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maryjanebarger/subscriptions","organizations_url":"https://api.github.com/users/maryjanebarger/orgs","repos_url":"https://api.github.com/users/maryjanebarger/repos","events_url":"https://api.github.com/users/maryjanebarger/events{/privacy}","received_events_url":"https://api.github.com/users/maryjanebarger/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2016-09-28T23:57:43Z","updated_at":"2016-09-28T23:57:43Z","html_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2#discussion_r81042425","pull_request_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/comments/81042425"},"html":{"href":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2#discussion_r81042425"},"pull_request":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2","id":86869365,"html_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2","diff_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2.diff","patch_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2.patch","issue_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/2","number":2,"state":"open","locked":false,"title":"Feature/art api testing","user":{"login":"maryjanebarger","id":6099063,"avatar_url":"https://avatars.githubusercontent.com/u/6099063?v=3","gravatar_id":"","url":"https://api.github.com/users/maryjanebarger","html_url":"https://github.com/maryjanebarger","followers_url":"https://api.github.com/users/maryjanebarger/followers","following_url":"https://api.github.com/users/maryjanebarger/following{/other_user}","gists_url":"https://api.github.com/users/maryjanebarger/gists{/gist_id}","starred_url":"https://api.github.com/users/maryjanebarger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maryjanebarger/subscriptions","organizations_url":"https://api.github.com/users/maryjanebarger/orgs","repos_url":"https://api.github.com/users/maryjanebarger/repos","events_url":"https://api.github.com/users/maryjanebarger/events{/privacy}","received_events_url":"https://api.github.com/users/maryjanebarger/received_events","type":"User","site_admin":false},"body":"Updates for testing student API","created_at":"2016-09-27T06:32:30Z","updated_at":"2016-09-28T23:57:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"853214ac4fd789d0e7b29e7fc1bd288e9b66eccf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2/commits","review_comments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2/comments","review_comment_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/2/comments","statuses_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/statuses/118563dbe1f7f13f12c68303f1605b1cade07d07","head":{"label":"SmarterApp:feature/ART_API_testing","ref":"feature/ART_API_testing","sha":"118563dbe1f7f13f12c68303f1605b1cade07d07","user":{"login":"SmarterApp","id":7026395,"avatar_url":"https://avatars.githubusercontent.com/u/7026395?v=3","gravatar_id":"","url":"https://api.github.com/users/SmarterApp","html_url":"https://github.com/SmarterApp","followers_url":"https://api.github.com/users/SmarterApp/followers","following_url":"https://api.github.com/users/SmarterApp/following{/other_user}","gists_url":"https://api.github.com/users/SmarterApp/gists{/gist_id}","starred_url":"https://api.github.com/users/SmarterApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmarterApp/subscriptions","organizations_url":"https://api.github.com/users/SmarterApp/orgs","repos_url":"https://api.github.com/users/SmarterApp/repos","events_url":"https://api.github.com/users/SmarterApp/events{/privacy}","received_events_url":"https://api.github.com/users/SmarterApp/received_events","type":"Organization","site_admin":false},"repo":{"id":58758309,"name":"TDS_TestDeliverySystemRegressionTest","full_name":"SmarterApp/TDS_TestDeliverySystemRegressionTest","owner":{"login":"SmarterApp","id":7026395,"avatar_url":"https://avatars.githubusercontent.com/u/7026395?v=3","gravatar_id":"","url":"https://api.github.com/users/SmarterApp","html_url":"https://github.com/SmarterApp","followers_url":"https://api.github.com/users/SmarterApp/followers","following_url":"https://api.github.com/users/SmarterApp/following{/other_user}","gists_url":"https://api.github.com/users/SmarterApp/gists{/gist_id}","starred_url":"https://api.github.com/users/SmarterApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmarterApp/subscriptions","organizations_url":"https://api.github.com/users/SmarterApp/orgs","repos_url":"https://api.github.com/users/SmarterApp/repos","events_url":"https://api.github.com/users/SmarterApp/events{/privacy}","received_events_url":"https://api.github.com/users/SmarterApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest","description":"","fork":false,"url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest","forks_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/forks","keys_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/teams","hooks_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/hooks","issue_events_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/events{/number}","events_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/events","assignees_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/assignees{/user}","branches_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/branches{/branch}","tags_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/tags","blobs_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/statuses/{sha}","languages_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/languages","stargazers_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/stargazers","contributors_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/contributors","subscribers_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/subscribers","subscription_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/subscription","commits_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/contents/{+path}","compare_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/merges","archive_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/downloads","issues_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues{/number}","pulls_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls{/number}","milestones_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/milestones{/number}","notifications_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/labels{/name}","releases_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/releases{/id}","deployments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/deployments","created_at":"2016-05-13T17:06:25Z","updated_at":"2016-06-29T22:33:21Z","pushed_at":"2016-09-28T23:50:08Z","git_url":"git://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest.git","ssh_url":"git@github.com:SmarterApp/TDS_TestDeliverySystemRegressionTest.git","clone_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest.git","svn_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"SmarterApp:master","ref":"master","sha":"767089b5a867a4c5f615a72b3a2827ac5c697266","user":{"login":"SmarterApp","id":7026395,"avatar_url":"https://avatars.githubusercontent.com/u/7026395?v=3","gravatar_id":"","url":"https://api.github.com/users/SmarterApp","html_url":"https://github.com/SmarterApp","followers_url":"https://api.github.com/users/SmarterApp/followers","following_url":"https://api.github.com/users/SmarterApp/following{/other_user}","gists_url":"https://api.github.com/users/SmarterApp/gists{/gist_id}","starred_url":"https://api.github.com/users/SmarterApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmarterApp/subscriptions","organizations_url":"https://api.github.com/users/SmarterApp/orgs","repos_url":"https://api.github.com/users/SmarterApp/repos","events_url":"https://api.github.com/users/SmarterApp/events{/privacy}","received_events_url":"https://api.github.com/users/SmarterApp/received_events","type":"Organization","site_admin":false},"repo":{"id":58758309,"name":"TDS_TestDeliverySystemRegressionTest","full_name":"SmarterApp/TDS_TestDeliverySystemRegressionTest","owner":{"login":"SmarterApp","id":7026395,"avatar_url":"https://avatars.githubusercontent.com/u/7026395?v=3","gravatar_id":"","url":"https://api.github.com/users/SmarterApp","html_url":"https://github.com/SmarterApp","followers_url":"https://api.github.com/users/SmarterApp/followers","following_url":"https://api.github.com/users/SmarterApp/following{/other_user}","gists_url":"https://api.github.com/users/SmarterApp/gists{/gist_id}","starred_url":"https://api.github.com/users/SmarterApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmarterApp/subscriptions","organizations_url":"https://api.github.com/users/SmarterApp/orgs","repos_url":"https://api.github.com/users/SmarterApp/repos","events_url":"https://api.github.com/users/SmarterApp/events{/privacy}","received_events_url":"https://api.github.com/users/SmarterApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest","description":"","fork":false,"url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest","forks_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/forks","keys_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/teams","hooks_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/hooks","issue_events_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/events{/number}","events_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/events","assignees_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/assignees{/user}","branches_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/branches{/branch}","tags_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/tags","blobs_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/statuses/{sha}","languages_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/languages","stargazers_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/stargazers","contributors_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/contributors","subscribers_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/subscribers","subscription_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/subscription","commits_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/contents/{+path}","compare_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/merges","archive_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/downloads","issues_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues{/number}","pulls_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls{/number}","milestones_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/milestones{/number}","notifications_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/labels{/name}","releases_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/releases{/id}","deployments_url":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/deployments","created_at":"2016-05-13T17:06:25Z","updated_at":"2016-06-29T22:33:21Z","pushed_at":"2016-09-28T23:50:08Z","git_url":"git://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest.git","ssh_url":"git@github.com:SmarterApp/TDS_TestDeliverySystemRegressionTest.git","clone_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest.git","svn_url":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2"},"html":{"href":"https://github.com/SmarterApp/TDS_TestDeliverySystemRegressionTest/pull/2"},"issue":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/2"},"comments":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/SmarterApp/TDS_TestDeliverySystemRegressionTest/statuses/118563dbe1f7f13f12c68303f1605b1cade07d07"}}}}
{"actor":{"display_login":"maryjanebarger"}}