Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUP-1602 Snyk task API migration from deprecated version to REST API version #549

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c4bf96f
Snyk Api base url updated
jesutorrr May 22, 2024
96cd4f0
Update snyk_v2_client.rb
jesutorrr May 22, 2024
050ce49
Update rexml
jesutorrr May 22, 2024
0cfa808
Update snyk_v2_task.rb
jesutorrr May 22, 2024
f9d6725
Update snyk_v2_task.rb
jesutorrr May 22, 2024
9916ac1
Update snyk_v2_task.rb
jesutorrr May 22, 2024
5385bbb
Update snyk_v2_task.rb
jesutorrr May 22, 2024
414dd59
Updating for REST
jesutorrr May 24, 2024
3b854a2
Pagination update
jesutorrr May 28, 2024
06ec270
Update snyk_v2_client.rb
jesutorrr May 28, 2024
5a31595
Update snyk_v2_task.rb
jesutorrr May 28, 2024
54da0fc
Update snyk_v2_task.rb
jesutorrr May 30, 2024
86840d6
Update snyk_v2_task.rb
jesutorrr May 30, 2024
b696573
Update snyk_v2_task.rb
jesutorrr May 30, 2024
061c322
Update snyk_v2_task.rb
jesutorrr May 30, 2024
4d86339
Update snyk_v2_task.rb
jesutorrr Jun 1, 2024
295e1cc
For VCR tests
jesutorrr Jun 3, 2024
ba8f5b1
VCR Test2
jesutorrr Jun 3, 2024
f7b77ae
Updating fixtures files
jesutorrr Jun 5, 2024
581eff4
fixtures update
jesutorrr Jun 5, 2024
3237494
fixtures pass
jesutorrr Jun 5, 2024
9b9608c
to pass specs test
jesutorrr Jun 5, 2024
511f818
To pass stubs test
jesutorrr Jun 5, 2024
da9ee2a
Update snyk_v2_stubs.rb
jesutorrr Jun 5, 2024
6244d9e
Update snyk_v2_task_spec.rb
jesutorrr Jun 5, 2024
47bfb17
Update snyk_v2_task.rb
jesutorrr Jun 14, 2024
bf2bda0
Update snyk_v2_task_spec.rb
jesutorrr Jun 14, 2024
00f0ec8
Update snyk_v2_stubs.rb
jesutorrr Jun 14, 2024
ee43623
Update snyk_v2_stubs.rb
jesutorrr Jun 14, 2024
b3ef7aa
Update snyk_v2_task_spec.rb
jesutorrr Jun 14, 2024
f25c783
Deleting empty issues
jesutorrr Jun 14, 2024
05d9912
Update snyk_v2_stubs.rb
jesutorrr Jun 27, 2024
c4ca99f
Update snyk_v2_task_spec.rb
jesutorrr Jun 27, 2024
e312e6f
Update snyk_v2_task_spec.rb
jesutorrr Jun 27, 2024
0da2d2d
Update snyk_v2_task_spec.rb
jesutorrr Jun 27, 2024
c1d1694
Adding VCRs
jesutorrr Jun 27, 2024
19bc860
Update snyk_v2_task_spec.rb
jesutorrr Jun 27, 2024
3628f6a
One example test
jesutorrr Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gem "aws-sdk-inspector2"
gem "httparty"
gem "ipaddress"
gem "rest-client"
gem "rexml", ">= 3.2.5"
gem "rexml", ">= 3.2.7"
gem "ruby-limiter"
gem "sanitize"
gem "strscan"
Expand Down
9 changes: 5 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ GEM
netrc (~> 0.8)
reverse_markdown (2.1.1)
nokogiri
rexml (3.2.5)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
Expand Down Expand Up @@ -145,7 +146,7 @@ GEM
unicode-display_width (>= 1.5, < 3.0)
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
strscan (3.0.6)
strscan (3.1.0)
thor (1.2.1)
tilt (2.0.11)
timecop (0.9.6)
Expand Down Expand Up @@ -185,7 +186,7 @@ DEPENDENCIES
pry
pry-byebug
rest-client
rexml (>= 3.2.5)
rexml (>= 3.2.7)
rspec
rspec-github
rubocop
Expand All @@ -203,4 +204,4 @@ RUBY VERSION
ruby 3.2.2p53

BUNDLED WITH
2.4.10
2.5.9
291 changes: 291 additions & 0 deletions spec/fixtures/vcr_cassettes/snyk_v2_task_run.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading