require 'p4_project_services_client' def client_as_jdoe ws_host = ENV['WS_HOST'] || 'localhost:8081' client = P4ProjectServicesClient::Client.new( url: "http://#{ws_host}/", user: 'jdoe', password: 'johndoe1A!', # prefix: '/v1' prefix: '/p4_project_services/v1' ) yield client ensure client.close if client end def client_as_super ws_host = ENV['WS_HOST'] || 'localhost:8081' client = P4ProjectServicesClient::Client.new( url: "http://#{ws_host}/", user: 'super', password: 'superuser1A!', # prefix: '/v1' prefix: '/p4_project_services/v1' ) yield client ensure client.close if client end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#2 | 13481 | tjuricek |
Tests for the p4 web api and p4 project services now pass against a development setup both in and out of the docker cluster. Note that configuration *has not* been finalized, so conventions to dealing with development vs production need to be organized a bit. |
||
#1 | 13463 | tjuricek | Replace crappy indexing mechanism with Postgres queries. | ||
//guest/perforce_software/helix-web-services/main/p4_project_services/clients/ruby/p4_project_services_client/spec/lib/test_connections.rb | |||||
#2 | 13419 | tjuricek | The p4_project_services specs now run that provide basic create-read ability. | ||
#1 | 13412 | tjuricek |
Initial version of the web-services mainline. This is a collection of several projects, that will likely often get released together, though many of them may not always be relevant. See the README for more information. |