go_api_client 0.0.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.gitignore +7 -39
  2. data/.rvmrc +1 -0
  3. data/Gemfile.lock +12 -2
  4. data/Rakefile +8 -9
  5. data/go_api_client.gemspec +5 -2
  6. data/lib/go_api_client/atom/author.rb +25 -1
  7. data/lib/go_api_client/atom/entry.rb +9 -3
  8. data/lib/go_api_client/atom/feed.rb +19 -14
  9. data/lib/go_api_client/atom/feed_page.rb +49 -0
  10. data/lib/go_api_client/atom.rb +1 -0
  11. data/lib/go_api_client/commit.rb +30 -0
  12. data/lib/go_api_client/helpers/simple_attribute_support.rb +11 -0
  13. data/lib/go_api_client/helpers.rb +1 -0
  14. data/lib/go_api_client/http_fetcher.rb +41 -0
  15. data/lib/go_api_client/job.rb +56 -10
  16. data/lib/go_api_client/pipeline.rb +36 -12
  17. data/lib/go_api_client/stage.rb +43 -14
  18. data/lib/go_api_client/user.rb +36 -0
  19. data/lib/go_api_client/version.rb +7 -1
  20. data/lib/go_api_client.rb +45 -12
  21. data/test/fixtures/building/job_1.xml +41 -0
  22. data/test/fixtures/building/job_2.xml +43 -0
  23. data/test/fixtures/building/job_3.xml +40 -0
  24. data/test/fixtures/building/job_4.xml +40 -0
  25. data/test/fixtures/building/pipeline_1.xml +45 -0
  26. data/test/fixtures/building/pipeline_2.xml +39 -0
  27. data/test/fixtures/building/pipeline_3.xml +71 -0
  28. data/test/fixtures/building/stages.xml +180 -0
  29. data/test/fixtures/building/stages_1.xml +16 -0
  30. data/test/fixtures/building/stages_2.xml +16 -0
  31. data/test/fixtures/building/stages_3.xml +16 -0
  32. data/test/fixtures/building/stages_4.xml +16 -0
  33. data/test/fixtures/jobs_1.xml +3 -3
  34. data/test/fixtures/jobs_with_no_properties.xml +42 -0
  35. data/test/fixtures/ordering/go/api/jobs/1.xml +29 -0
  36. data/test/fixtures/ordering/go/api/jobs/10.xml +31 -0
  37. data/test/fixtures/ordering/go/api/jobs/2.xml +29 -0
  38. data/test/fixtures/ordering/go/api/jobs/3.xml +29 -0
  39. data/test/fixtures/ordering/go/api/jobs/4.xml +29 -0
  40. data/test/fixtures/ordering/go/api/jobs/5.xml +29 -0
  41. data/test/fixtures/ordering/go/api/jobs/6.xml +29 -0
  42. data/test/fixtures/ordering/go/api/jobs/7.xml +31 -0
  43. data/test/fixtures/ordering/go/api/jobs/8.xml +31 -0
  44. data/test/fixtures/ordering/go/api/jobs/9.xml +31 -0
  45. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/1.xml +31 -0
  46. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/2.xml +26 -0
  47. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/3.xml +26 -0
  48. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/4.xml +27 -0
  49. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/5.xml +33 -0
  50. data/test/fixtures/ordering/go/api/pipelines/defaultPipeline/stages.xml +255 -0
  51. data/test/fixtures/ordering/go/api/stages/1.xml +14 -0
  52. data/test/fixtures/ordering/go/api/stages/10.xml +14 -0
  53. data/test/fixtures/ordering/go/api/stages/2.xml +14 -0
  54. data/test/fixtures/ordering/go/api/stages/3.xml +14 -0
  55. data/test/fixtures/ordering/go/api/stages/4.xml +14 -0
  56. data/test/fixtures/ordering/go/api/stages/5.xml +14 -0
  57. data/test/fixtures/ordering/go/api/stages/6.xml +14 -0
  58. data/test/fixtures/ordering/go/api/stages/7.xml +14 -0
  59. data/test/fixtures/ordering/go/api/stages/8.xml +14 -0
  60. data/test/fixtures/ordering/go/api/stages/9.xml +14 -0
  61. data/test/fixtures/pagination/stages.xml +636 -0
  62. data/test/fixtures/pagination/stages_before_7916973.xml +615 -0
  63. data/test/fixtures/pagination/stages_before_7959831.xml +615 -0
  64. data/test/fixtures/pipelines_1.xml +8 -1
  65. data/test/fixtures/stages.xml +1 -1
  66. data/test/go_api_client/atom/author_test.rb +27 -0
  67. data/test/go_api_client/atom/entry_test.rb +27 -0
  68. data/test/go_api_client/atom/feed_page_test.rb +41 -0
  69. data/test/go_api_client/atom/feed_test.rb +25 -0
  70. data/test/go_api_client/building_test.rb +38 -0
  71. data/test/go_api_client/commit_test.rb +38 -0
  72. data/test/go_api_client/job_test.rb +42 -0
  73. data/test/go_api_client/pipeline_test.rb +63 -16
  74. data/test/go_api_client/stage_test.rb +48 -14
  75. data/test/go_api_client/user_test.rb +27 -0
  76. data/test/test_helper.rb +19 -3
  77. metadata +173 -10
  78. data/bin/go_api_client +0 -3
@@ -9,7 +9,7 @@
9
9
  <state>Completed</state>
10
10
  <properties>
11
11
  <property name="cruise_agent"><![CDATA[ira.corporate.thoughtworks.com]]></property>
12
- <property name="cruise_job_duration"><![CDATA[0]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[900]]></property>
13
13
  <property name="cruise_job_id"><![CDATA[1]]></property>
14
14
  <property name="cruise_job_result"><![CDATA[Failed]]></property>
15
15
  <property name="cruise_pipeline_counter"><![CDATA[1]]></property>
@@ -19,8 +19,8 @@
19
19
  <property name="cruise_timestamp_02_assigned"><![CDATA[2012-02-23T17:16:27+05:30]]></property>
20
20
  <property name="cruise_timestamp_03_preparing"><![CDATA[2012-02-23T17:16:37+05:30]]></property>
21
21
  <property name="cruise_timestamp_04_building"><![CDATA[2012-02-23T17:16:41+05:30]]></property>
22
- <property name="cruise_timestamp_05_completing"><![CDATA[2012-02-23T17:16:41+05:30]]></property>
23
- <property name="cruise_timestamp_06_completed"><![CDATA[2012-02-23T17:16:41+05:30]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-02-23T17:16:42+05:30]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-02-23T17:16:45+05:30]]></property>
24
24
  </properties>
25
25
  <agent uuid="c62d482a-791d-4fa4-adc3-a0808a73dd3c"/>
26
26
  <artifacts baseUri="http://localhost:8153/go/files/defaultPipeline/1/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/1/Units/1/Test"/>
@@ -0,0 +1,42 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <job name="Test">
3
+ <link rel="self"
4
+ href="http://go-server.1.project:8153/go/api/jobs/1.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:1:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="1" label="1"/>
7
+ <stage name="Units" counter="1"
8
+ href="http://go-server.1.project:8153/go/api/stages/1.xml"/>
9
+ <result>Failed</result>
10
+ <state>Completed</state>
11
+ <properties>
12
+ <property
13
+ name="cruise_agent"><![CDATA[go-agent-01.1.project]]></property>
14
+ <property name="cruise_job_duration"><![CDATA[80]]></property>
15
+ <property name="cruise_job_id"><![CDATA[1]]></property>
16
+ <property name="cruise_job_result"><![CDATA[Failed]]></property>
17
+ <property name="cruise_pipeline_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_pipeline_label"><![CDATA[1]]></property>
19
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
20
+ <!--
21
+ <property
22
+ name="cruise_timestamp_01_scheduled"><![CDATA[2012-06-05T08:33:09Z]]></property>
23
+ <property
24
+ name="cruise_timestamp_02_assigned"><![CDATA[2012-06-05T08:34:51Z]]></property>
25
+ <property
26
+ name="cruise_timestamp_03_preparing"><![CDATA[2012-06-05T08:34:56Z]]></property>
27
+ <property
28
+ name="cruise_timestamp_04_building"><![CDATA[2012-06-05T08:34:58Z]]></property>
29
+ <property
30
+ name="cruise_timestamp_05_completing"><![CDATA[2012-06-05T08:36:19Z]]></property>
31
+ <property
32
+ name="cruise_timestamp_06_completed"><![CDATA[2012-06-05T08:36:19Z]]></property>
33
+ -->
34
+ </properties>
35
+ <agent uuid="0a0b859f-406d-4d22-9f7f-6f71d9b45a77"/>
36
+ <artifacts
37
+ baseUri="http://go-server.1.project:8153/go/files/defaultPipeline/1/Units/1/Test"
38
+ pathFromArtifactRoot="pipelines/defaultPipeline/1/Units/1/Test"/>
39
+ <resources/>
40
+ <environmentvariables/>
41
+ </job>
42
+
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="Test">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/1.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:1:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="1" label="1"/>
7
+ <stage name="Units" counter="1" href="http://go-server.2.project:8153/go/api/stages/1.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[49]]></property>
13
+ <property name="cruise_job_id"><![CDATA[1]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[1]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[1]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-17T09:46:08Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-17T09:46:16Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-17T09:46:26Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-17T09:46:30Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-17T09:47:19Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-17T09:47:19Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/1/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/1/Units/1/Test"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="PostBuild">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/10.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:5:PostBuild:1:PostBuild]]></id>
6
+ <pipeline name="defaultPipeline" counter="5" label="5"/>
7
+ <stage name="PostBuild" counter="1" href="http://go-server.2.project:8153/go/api/stages/10.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[7]]></property>
13
+ <property name="cruise_job_id"><![CDATA[10]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[5]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[5]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-29T08:08:43Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-29T08:08:53Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-29T08:09:03Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-29T08:09:04Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-29T08:09:11Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-29T08:09:11Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/5/PostBuild/1/PostBuild" pathFromArtifactRoot="pipelines/defaultPipeline/5/PostBuild/1/PostBuild"/>
27
+ <resources/>
28
+ <environmentvariables>
29
+ <variable name="PATH"><![CDATA[/opt/local/ruby/1.9.2-p290/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin]]></variable>
30
+ </environmentvariables>
31
+ </job>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="PostBuild">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/2.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:1:PostBuild:1:PostBuild]]></id>
6
+ <pipeline name="defaultPipeline" counter="1" label="1"/>
7
+ <stage name="PostBuild" counter="1" href="http://go-server.2.project:8153/go/api/stages/2.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[7]]></property>
13
+ <property name="cruise_job_id"><![CDATA[2]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[1]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[1]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-17T09:47:19Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-17T09:47:29Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-17T09:47:39Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-17T09:47:40Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-17T09:47:47Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-17T09:47:47Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/1/PostBuild/1/PostBuild" pathFromArtifactRoot="pipelines/defaultPipeline/1/PostBuild/1/PostBuild"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="Test">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/3.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:2:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="2" label="2"/>
7
+ <stage name="Units" counter="1" href="http://go-server.2.project:8153/go/api/stages/3.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[18]]></property>
13
+ <property name="cruise_job_id"><![CDATA[3]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[2]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[2]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-19T15:18:09Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-19T15:18:21Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-19T15:18:31Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-19T15:18:31Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-19T15:18:50Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-19T15:18:50Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/2/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/2/Units/1/Test"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="PostBuild">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/4.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:2:PostBuild:1:PostBuild]]></id>
6
+ <pipeline name="defaultPipeline" counter="2" label="2"/>
7
+ <stage name="PostBuild" counter="1" href="http://go-server.2.project:8153/go/api/stages/4.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[7]]></property>
13
+ <property name="cruise_job_id"><![CDATA[4]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[2]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[2]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-19T15:18:50Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-19T15:19:00Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-19T15:19:10Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-19T15:19:11Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-19T15:19:18Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-19T15:19:18Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/2/PostBuild/1/PostBuild" pathFromArtifactRoot="pipelines/defaultPipeline/2/PostBuild/1/PostBuild"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="Test">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/5.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:3:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="3" label="3"/>
7
+ <stage name="Units" counter="1" href="http://go-server.2.project:8153/go/api/stages/5.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[18]]></property>
13
+ <property name="cruise_job_id"><![CDATA[5]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[3]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[3]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-23T08:46:07Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-23T08:46:13Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-23T08:46:23Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-23T08:46:24Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-23T08:46:42Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-23T08:46:42Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/3/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/3/Units/1/Test"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="PostBuild">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/6.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:3:PostBuild:1:PostBuild]]></id>
6
+ <pipeline name="defaultPipeline" counter="3" label="3"/>
7
+ <stage name="PostBuild" counter="1" href="http://go-server.2.project:8153/go/api/stages/6.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[7]]></property>
13
+ <property name="cruise_job_id"><![CDATA[6]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[3]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[3]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-23T08:46:42Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-23T08:46:53Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-23T08:47:03Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-23T08:47:03Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-23T08:47:11Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-23T08:47:11Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/3/PostBuild/1/PostBuild" pathFromArtifactRoot="pipelines/defaultPipeline/3/PostBuild/1/PostBuild"/>
27
+ <resources/>
28
+ <environmentvariables/>
29
+ </job>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="Test">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/7.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:4:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="4" label="4"/>
7
+ <stage name="Units" counter="1" href="http://go-server.2.project:8153/go/api/stages/7.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[20]]></property>
13
+ <property name="cruise_job_id"><![CDATA[7]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[4]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[4]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-26T05:52:10Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-26T05:52:20Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-26T05:52:30Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-26T05:52:31Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-26T05:52:51Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-26T05:52:51Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/4/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/4/Units/1/Test"/>
27
+ <resources/>
28
+ <environmentvariables>
29
+ <variable name="PATH"><![CDATA[/opt/local/ruby/1.9.2-p290/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin]]></variable>
30
+ </environmentvariables>
31
+ </job>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="PostBuild">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/8.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:4:PostBuild:1:PostBuild]]></id>
6
+ <pipeline name="defaultPipeline" counter="4" label="4"/>
7
+ <stage name="PostBuild" counter="1" href="http://go-server.2.project:8153/go/api/stages/8.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[7]]></property>
13
+ <property name="cruise_job_id"><![CDATA[8]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[4]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[4]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-26T05:52:51Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-26T05:53:01Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-26T05:53:11Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-26T05:53:12Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-26T05:53:19Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-26T05:53:19Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/4/PostBuild/1/PostBuild" pathFromArtifactRoot="pipelines/defaultPipeline/4/PostBuild/1/PostBuild"/>
27
+ <resources/>
28
+ <environmentvariables>
29
+ <variable name="PATH"><![CDATA[/opt/local/ruby/1.9.2-p290/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin]]></variable>
30
+ </environmentvariables>
31
+ </job>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <job name="Test">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/jobs/9.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:5:Units:1:Test]]></id>
6
+ <pipeline name="defaultPipeline" counter="5" label="5"/>
7
+ <stage name="Units" counter="1" href="http://go-server.2.project:8153/go/api/stages/9.xml"/>
8
+ <result>Passed</result>
9
+ <state>Completed</state>
10
+ <properties>
11
+ <property name="cruise_agent"><![CDATA[go-agent-01.2.project]]></property>
12
+ <property name="cruise_job_duration"><![CDATA[18]]></property>
13
+ <property name="cruise_job_id"><![CDATA[9]]></property>
14
+ <property name="cruise_job_result"><![CDATA[Passed]]></property>
15
+ <property name="cruise_pipeline_counter"><![CDATA[5]]></property>
16
+ <property name="cruise_pipeline_label"><![CDATA[5]]></property>
17
+ <property name="cruise_stage_counter"><![CDATA[1]]></property>
18
+ <property name="cruise_timestamp_01_scheduled"><![CDATA[2012-10-29T08:08:08Z]]></property>
19
+ <property name="cruise_timestamp_02_assigned"><![CDATA[2012-10-29T08:08:14Z]]></property>
20
+ <property name="cruise_timestamp_03_preparing"><![CDATA[2012-10-29T08:08:24Z]]></property>
21
+ <property name="cruise_timestamp_04_building"><![CDATA[2012-10-29T08:08:25Z]]></property>
22
+ <property name="cruise_timestamp_05_completing"><![CDATA[2012-10-29T08:08:43Z]]></property>
23
+ <property name="cruise_timestamp_06_completed"><![CDATA[2012-10-29T08:08:43Z]]></property>
24
+ </properties>
25
+ <agent uuid="8511cc52-9d29-4dba-9f9f-4ae6de1019f2"/>
26
+ <artifacts baseUri="http://go-server.2.project:8153/go/files/defaultPipeline/5/Units/1/Test" pathFromArtifactRoot="pipelines/defaultPipeline/5/Units/1/Test"/>
27
+ <resources/>
28
+ <environmentvariables>
29
+ <variable name="PATH"><![CDATA[/opt/local/ruby/1.9.2-p290/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin]]></variable>
30
+ </environmentvariables>
31
+ </job>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <pipeline name="defaultPipeline" counter="1" label="1">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/1.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:1]]></id>
6
+ <scheduleTime>2012-10-17T09:46:08Z</scheduleTime>
7
+ <materials>
8
+ <material materialUri="http://go-server.2.project:8153/go/api/materials/1.xml" type="GitMaterial" url="git://go-saas-worker.2.project/ThoughtWorksInc/go_saas_trigger" branch="master">
9
+ <modifications>
10
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/fed1b0c09dffc299f5a7ff51223cacaceb7cd453.xml">
11
+ <user><![CDATA[Badrinath Janakiraman <badri.j@gmail.com>]]></user>
12
+ <checkinTime>2012-10-16T15:05:34Z</checkinTime>
13
+ <revision><![CDATA[fed1b0c09dffc299f5a7ff51223cacaceb7cd453]]></revision>
14
+ <message><![CDATA[Ensure that queue, exchange creations are durable and that all messages are persistent]]></message>
15
+ <file name="lib/go_saas_trigger/amqp_client.rb" action="modified"/>
16
+ <file name="lib/go_saas_trigger/cli/agent_converger.rb" action="modified"/>
17
+ <file name="lib/go_saas_trigger/cli/create_project.rb" action="modified"/>
18
+ <file name="lib/go_saas_trigger/cli/delete_project.rb" action="modified"/>
19
+ <file name="lib/go_saas_trigger/cli/dns_provisioner.rb" action="modified"/>
20
+ <file name="lib/go_saas_trigger/cli/project_provisioner.rb" action="modified"/>
21
+ <file name="lib/go_saas_trigger/cli/project_unprovisioner.rb" action="modified"/>
22
+ </changeset>
23
+ </modifications>
24
+ </material>
25
+ </materials>
26
+ <stages>
27
+ <stage href="http://go-server.2.project:8153/go/api/stages/1.xml"/>
28
+ <stage href="http://go-server.2.project:8153/go/api/stages/2.xml"/>
29
+ </stages>
30
+ <approvedBy><![CDATA[anonymous]]></approvedBy>
31
+ </pipeline>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <pipeline name="defaultPipeline" counter="2" label="2">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/2.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:2]]></id>
6
+ <link rel="insertedAfter" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/1.xml"/>
7
+ <scheduleTime>2012-10-19T15:18:09Z</scheduleTime>
8
+ <materials>
9
+ <material materialUri="http://go-server.2.project:8153/go/api/materials/1.xml" type="GitMaterial" url="git://go-saas-worker.2.project/ThoughtWorksInc/go_saas_trigger" branch="master">
10
+ <modifications>
11
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/eb37d12dfcf3781148f9d155b7ae8fd372669e3d.xml">
12
+ <user><![CDATA[Ketan Padegaonkar <KetanPadegaonkar@gmail.com>]]></user>
13
+ <checkinTime>2012-10-19T15:17:07Z</checkinTime>
14
+ <revision><![CDATA[eb37d12dfcf3781148f9d155b7ae8fd372669e3d]]></revision>
15
+ <message><![CDATA[Ensure we log the initialisation message after the logger is setup]]></message>
16
+ <file name="lib/go_saas_trigger/amqp_client.rb" action="modified"/>
17
+ </changeset>
18
+ </modifications>
19
+ </material>
20
+ </materials>
21
+ <stages>
22
+ <stage href="http://go-server.2.project:8153/go/api/stages/3.xml"/>
23
+ <stage href="http://go-server.2.project:8153/go/api/stages/4.xml"/>
24
+ </stages>
25
+ <approvedBy><![CDATA[anonymous]]></approvedBy>
26
+ </pipeline>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <pipeline name="defaultPipeline" counter="3" label="3">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/3.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:3]]></id>
6
+ <link rel="insertedAfter" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/2.xml"/>
7
+ <scheduleTime>2012-10-23T08:46:07Z</scheduleTime>
8
+ <materials>
9
+ <material materialUri="http://go-server.2.project:8153/go/api/materials/1.xml" type="GitMaterial" url="git://go-saas-worker.2.project/ThoughtWorksInc/go_saas_trigger" branch="master">
10
+ <modifications>
11
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/50d153db238600bb4474ecca69e45c408cadfccb.xml">
12
+ <user><![CDATA[Ketan Padegaonkar <KetanPadegaonkar@gmail.com>]]></user>
13
+ <checkinTime>2012-10-23T08:45:24Z</checkinTime>
14
+ <revision><![CDATA[50d153db238600bb4474ecca69e45c408cadfccb]]></revision>
15
+ <message><![CDATA[Ensure that we log the environment under which the trigger app is running to ensure sanity while developing suff.]]></message>
16
+ <file name="lib/go_saas_trigger/amqp_client.rb" action="modified"/>
17
+ </changeset>
18
+ </modifications>
19
+ </material>
20
+ </materials>
21
+ <stages>
22
+ <stage href="http://go-server.2.project:8153/go/api/stages/5.xml"/>
23
+ <stage href="http://go-server.2.project:8153/go/api/stages/6.xml"/>
24
+ </stages>
25
+ <approvedBy><![CDATA[anonymous]]></approvedBy>
26
+ </pipeline>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <pipeline name="defaultPipeline" counter="4" label="4">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/4.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:4]]></id>
6
+ <link rel="insertedAfter" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/3.xml"/>
7
+ <scheduleTime>2012-10-26T05:52:10Z</scheduleTime>
8
+ <materials>
9
+ <material materialUri="http://go-server.2.project:8153/go/api/materials/1.xml" type="GitMaterial" url="git://go-saas-worker.2.project/ThoughtWorksInc/go_saas_trigger" branch="master">
10
+ <modifications>
11
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/48ce81580ecb6ab8d1c7933087f85466c23c16c0.xml">
12
+ <user><![CDATA[Sahil Muthoo and James Gray <go-saas+sahilm+jrgray@thoughtworks.com>]]></user>
13
+ <checkinTime>2012-10-26T05:46:27Z</checkinTime>
14
+ <revision><![CDATA[48ce81580ecb6ab8d1c7933087f85466c23c16c0]]></revision>
15
+ <message><![CDATA[Use the project_go_server role to setup the project's go server]]></message>
16
+ <file name="lib/go_saas_trigger/node.rb" action="modified"/>
17
+ <file name="test/node_test.rb" action="modified"/>
18
+ </changeset>
19
+ </modifications>
20
+ </material>
21
+ </materials>
22
+ <stages>
23
+ <stage href="http://go-server.2.project:8153/go/api/stages/7.xml"/>
24
+ <stage href="http://go-server.2.project:8153/go/api/stages/8.xml"/>
25
+ </stages>
26
+ <approvedBy><![CDATA[anonymous]]></approvedBy>
27
+ </pipeline>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <pipeline name="defaultPipeline" counter="5" label="5">
4
+ <link rel="self" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/5.xml"/>
5
+ <id><![CDATA[urn:x-go.studios.thoughtworks.com:job-id:defaultPipeline:5]]></id>
6
+ <link rel="insertedAfter" href="http://go-server.2.project:8153/go/api/pipelines/defaultPipeline/4.xml"/>
7
+ <scheduleTime>2012-10-29T08:08:08Z</scheduleTime>
8
+ <materials>
9
+ <material materialUri="http://go-server.2.project:8153/go/api/materials/1.xml" type="GitMaterial" url="git://go-saas-worker.2.project/ThoughtWorksInc/go_saas_trigger" branch="master">
10
+ <modifications>
11
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/53fd6b7cc1d95f8d198b3e52fc0f3755e12ff0de.xml">
12
+ <user><![CDATA[Ketan Padegaonkar <KetanPadegaonkar@gmail.com>]]></user>
13
+ <checkinTime>2012-10-29T08:07:53Z</checkinTime>
14
+ <revision><![CDATA[53fd6b7cc1d95f8d198b3e52fc0f3755e12ff0de]]></revision>
15
+ <message><![CDATA[Merge branch 'master' of github.com:ThoughtWorksInc/go_saas_trigger]]></message>
16
+ </changeset>
17
+ <changeset changesetUri="http://go-server.2.project:8153/go/api/materials/1/changeset/a9f3c5aa0c2ddd7601dfe81f6a8970de51f63bd1.xml">
18
+ <user><![CDATA[Ketan Padegaonkar <KetanPadegaonkar@gmail.com>]]></user>
19
+ <checkinTime>2012-10-29T08:07:32Z</checkinTime>
20
+ <revision><![CDATA[a9f3c5aa0c2ddd7601dfe81f6a8970de51f63bd1]]></revision>
21
+ <message><![CDATA[Tweak the config files for running on vagrant]]></message>
22
+ <file name="config/app_config.yml" action="modified"/>
23
+ <file name="config/database.yml" action="modified"/>
24
+ </changeset>
25
+ </modifications>
26
+ </material>
27
+ </materials>
28
+ <stages>
29
+ <stage href="http://go-server.2.project:8153/go/api/stages/9.xml"/>
30
+ <stage href="http://go-server.2.project:8153/go/api/stages/10.xml"/>
31
+ </stages>
32
+ <approvedBy><![CDATA[anonymous]]></approvedBy>
33
+ </pipeline>