kalibro_gatekeeper_client 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/features/metric_result/descendant_results.feature +1 -1
- data/features/metric_result/history_of.feature +1 -1
- data/features/metric_result/metric_results_of.feature +1 -1
- data/features/module_result/children.feature +1 -1
- data/features/module_result/find.feature +1 -1
- data/features/module_result/history_of.feature +1 -1
- data/features/processing/first_processing_after.feature +1 -1
- data/features/processing/first_processing_of.feature +1 -1
- data/features/processing/has_processing.feature +1 -1
- data/features/processing/has_processing_after.feature +1 -1
- data/features/processing/has_processing_before.feature +1 -1
- data/features/processing/has_ready_processing.feature +1 -1
- data/features/processing/last_processing_before.feature +1 -1
- data/features/processing/last_processing_of.feature +1 -1
- data/features/processing/last_processing_state_of.feature +1 -1
- data/features/processing/last_ready_processing_of.feature +3 -2
- data/features/processing/processing_of.feature +2 -2
- data/features/processing/processing_with_date_of.feature +2 -2
- data/features/project/all.feature +1 -1
- data/features/project/creation.feature +1 -1
- data/features/project/destroy.feature +1 -1
- data/features/project/exists.feature +1 -1
- data/features/project/find.feature +1 -1
- data/features/repository/all.feature +1 -1
- data/features/repository/cancel_processing.feature +1 -1
- data/features/repository/exists.feature +1 -1
- data/features/repository/find.feature +1 -1
- data/features/repository/of.feature +1 -1
- data/features/repository/process.feature +1 -1
- data/features/repository/types.feature +0 -1
- data/features/step_definitions/processing_steps.rb +4 -0
- data/lib/kalibro_gatekeeper_client/kalibro_cucumber_helpers/hooks.rb +3 -0
- data/lib/kalibro_gatekeeper_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aaa20e199f506c15470a3f20d19d7b083b856218
|
|
4
|
+
data.tar.gz: 3bd281520297d49c152fd6271d151e909619aa8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ac7ed6b1f86609a832a13ee79ddfc2e4ac2a84c6142c27871d8731092f67530dd6444db6b0585aaccf873b868744805fc6d0b6afefa52ad2d4d68fd8616e2b3
|
|
7
|
+
data.tar.gz: 5ee84a069101a0cad4be5fd7d8ab88588eee0115509e90cab71543005240e622be771d1394e83e76a9b7e06bc206c7946e608e780a3f41e9460c021537bff660
|
|
@@ -3,7 +3,7 @@ Feature: Descendant results
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to get the descendant metric results of the given module result
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: when there is a metric result
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: history of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to get the date metric results of the given module result and the given metric name
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: when there is a metric result
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Metric results of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to get the metric results of the given module result
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: when there is a metric result
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Children
|
|
|
3
3
|
As an developer
|
|
4
4
|
I want to find children module results
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: find a valid module result
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: /history of
|
|
|
3
3
|
As an developer
|
|
4
4
|
I want to get the history of module results
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: get the history of a module result
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: First processing after
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the first processing after a given date
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: First processing of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the first processing
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Has processing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check if a repository has processings
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository after process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Has processing after
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check if a repository has processings after it
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Has processing before
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check if a repository has processings before it
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Has ready processing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check if a repository has ready processings
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Last processing before
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the last processing before a given date
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Last processing of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the last processing
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Last processing state of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check the last processing status
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Last ready processing of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to check the last ready processing
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after with ready processing
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -15,4 +15,5 @@ Feature: Last ready processing of
|
|
|
15
15
|
And I call the process method for the given repository
|
|
16
16
|
And I wait up for a ready processing
|
|
17
17
|
When I call the last_ready_processing_of method for the given repository
|
|
18
|
-
Then I should get a Processing
|
|
18
|
+
Then I should get a Processing
|
|
19
|
+
And this processing should have process times
|
|
@@ -3,7 +3,7 @@ Feature: Processing of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the processing
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -17,7 +17,7 @@ Feature: Processing of
|
|
|
17
17
|
When I call the processing_of method for the given repository
|
|
18
18
|
Then I should get a Processing with state "PREPARING"
|
|
19
19
|
|
|
20
|
-
@kalibro_restart
|
|
20
|
+
@kalibro_restart @kalibro_processor_restart
|
|
21
21
|
Scenario: With one repository just after with ready processing
|
|
22
22
|
Given I have a project with name "Kalibro"
|
|
23
23
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Processing with date of
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to be able to retrieve the processing for a given date
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository just after starting to process and tomorrow's date
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -17,7 +17,7 @@ Feature: Processing with date of
|
|
|
17
17
|
When I call the processing_with_date_of method for the given repository and tomorrow's date
|
|
18
18
|
Then I should get a Processing
|
|
19
19
|
|
|
20
|
-
@kalibro_restart
|
|
20
|
+
@kalibro_restart @kalibro_processor_restart
|
|
21
21
|
Scenario: With one repository just after starting to process and yesterday's date
|
|
22
22
|
Given I have a project with name "Kalibro"
|
|
23
23
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Repositories listing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to see all the repositories on the service
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With existing project repository
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Process
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to cancel the repository processing
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With one repository
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Repositories listing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to check that on the service
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With existing project repository
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Repositories listing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to find that repository
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With existing project repository
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -3,7 +3,7 @@ Feature: Repositories listing
|
|
|
3
3
|
As a developer
|
|
4
4
|
I want to see all the repository from a given project
|
|
5
5
|
|
|
6
|
-
@kalibro_restart
|
|
6
|
+
@kalibro_restart @kalibro_processor_restart
|
|
7
7
|
Scenario: With existing project repository
|
|
8
8
|
Given I have a project with name "Kalibro"
|
|
9
9
|
And I have a configuration with name "Java"
|
|
@@ -89,3 +89,7 @@ end
|
|
|
89
89
|
Then(/^I should get a Processing$/) do
|
|
90
90
|
expect(@response).to be_a(KalibroGatekeeperClient::Entities::Processing)
|
|
91
91
|
end
|
|
92
|
+
|
|
93
|
+
Then(/^this processing should have process times$/) do
|
|
94
|
+
expect(@response.process_time.first).to be_a(KalibroGatekeeperClient::Entities::ProcessTime)
|
|
95
|
+
end
|
|
@@ -46,6 +46,9 @@ After ('@kalibro_restart') do
|
|
|
46
46
|
#{KalibroGatekeeperClient::KalibroCucumberHelpers.configuration.database} \\
|
|
47
47
|
#{KalibroGatekeeperClient::KalibroCucumberHelpers.configuration.query_file_path}"
|
|
48
48
|
system command
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
After('@kalibro_processor_restart') do
|
|
49
52
|
KalibroGatekeeperClient::KalibroCucumberHelpers.clean_processor
|
|
50
53
|
end
|
|
51
54
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kalibro_gatekeeper_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Diego Araújo Martinez
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2014-08-
|
|
14
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|