mikamai / akamai_api Goto Github PK
View Code? Open in Web Editor NEWAkamai gem+CLI to work with CCU and ECCU interfaces
License: MIT License
Akamai gem+CLI to work with CCU and ECCU interfaces
License: MIT License
I'm trying to pull it from github and bundle install runs and completes fine but I get this error
$ grep akamai Gemfile
gem 'akamai_api', git: 'https://github.com/nicolaracco/akamai_api.git'
The akamai_api command gets created:
$ which akamai_api
/Users/dfuentes/.rvm/gems/ruby-2.0.0-p247@livenation-platform/bin/akamai_api
But I get this error when running it:
$ akamai_api -h
/Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'akamai_api' (>= 0) among 200 total gem(s) (Gem::LoadError) from /Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/dependency.rb:307:in
to_spec'
from /Users/dfuentes/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem' from /Users/dfuentes/.rvm/gems/ruby-2.0.0-p247@livenation-platform/bin/akamai_api:22:in
I'm actually trying to do this with a fork that I have with my changes in it, but I duplicated the issue with your copy as well.
Any idea why this is happening?
FYI, Akamai has deprecated the SOAP CCU Purge, and only supports the CCU Rest API as of June 1.
Hello,
I just wanted to give a heads up that the CCU REST API is deprecated and will be at EOL fairly soon. Please consider making a new version that uses the new OPEN Authentication and CCU interface. Note that very soon there will be a version which purges in 5 seconds.
When I try to get CpCodes, i have this error :
AkamaiApi::CpCode::all should return a collection of models
Failure/Error: CpCode.all.each { |o| o.should be_a CpCode }
TypeError:
can't convert Symbol into Integer
# ./lib/akamai_api/cp_code.rb:19:in `[]'
# ./lib/akamai_api/cp_code.rb:19:in `block in all'
# ./lib/akamai_api/cp_code.rb:17:in `each'
# ./lib/akamai_api/cp_code.rb:17:in `map'
# ./lib/akamai_api/cp_code.rb:17:in `all'
# ./spec/lib/akamai_api/cp_code_spec.rb:14:in `block (3 levels) in <module:AkamaiApi>'
My ruby version : ruby 1.9.3p194
It happens when only one CpCode is returned
So ECCU now supports wildcard clearing where as the CCU doesn't (has to be full path).
Can this gem be updated to support wildcard remove/invalidate for ECCU function?
The gem won't Install on windows because of the wsdl:purge_request folder name.
In my project I'm using akamai_api, which specifies savon 2.2 as a dependancy; savon 2.2 specifies httpi 2.0.2 as a dependacy.
when I added the aftership gem, I got a conflict because aftership uses httpi 2.2
The solution, I suspect, is a dependancy update to savon >= 2.2
Hi there, I was wondering if thor 0.16 is really required or if a lower version will also work. Currently I'm on rails 3.1.X which depends on ~> 0.14.6, a.k.a. no more than 0.14. Since there are no tests as I understand for the CLI part of this lib, would it be safe to lower it by hand?
Cheers and thanks for taking the time to write this piece of code so far - uber useful!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.