hws_console #1

  • //
  • guest/
  • ptomiak/
  • hws/
  • source/
  • helix_web_services/
  • bin/
  • hws_console
  • View
  • Commits
  • Open Download .zip Download (288 B)
#!/usr/bin/env ruby
#

require 'pry'

require 'helix_web_services_client'

def client_for(user, password)
  HelixWebServicesClient.new(
      url: 'https://localhost/hws',
      user: user,
      password: password,
      ssl: {verify: false}
  )
end

# Drop into the console
binding.pry
# Change User Description Committed
#1 15741 ptomiak Branch HWS for my use.
//guest/perforce_software/helix-web-services/main/source/helix_web_services/bin/hws_console
#1 15622 tjuricek Move source code to 'source/' subdirectory of branch.

build/ will remain where it is.
//guest/perforce_software/helix-web-services/main/helix_web_services/bin/hws_console
#1 15483 tjuricek Add a new 'hws_console` application to the deployment.

This should give users the ability to use the Ruby client for quick and dirty debugging of issues with HWS.
Since it's so easy, I've added it to the deployment guide.