class Intrigue::Ident::Check::Pivotal

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/pivotal.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor =>"Pivotal",
      :product =>"Spring Framework",
      :match_details =>"Standard Spring MVC error page",
      :match_type => :content_body,
      :version => nil,
      :match_content =>  /{"timestamp":\d.*,"status":999,"error":"None","message":"No message available"}/,
      :paths => ["#{url}/error.json"]
    }
  ]
end