# This sets up a security=0 server but in Unicode mode, not sure about other # 'recommended' settings class BaseSystemSettings < SystemSettingsModel @unicode = true @security_level = 3 end class SuperUser < UserModel @super = true @login = 'super' @password = 'superuser1A!' end class MaxUser < UserModel def rank 10 end @login = 'mmustermann' @full_name = 'Max Mustermann' @password = 'mustermann1A!' end class JohnDoeUser < UserModel def rank 11 end @login = 'jdoe' @full_name = 'John Doe' @password = 'johndoe1A!' end class TriggersUser < UserModel def rank 12 end @login = 'triggers' @full_name = 'Trigger Account' @password = 'triggers1A!' end class Changelist1 < ChangelistModel def rank 1000 end @description = 'A few basic adds' @adds = [ FileDefinition.new( path: 'depot/main/My Project/README', content: <<-STOP.gsub(/^ {8}/, '') This is the readme for My Project STOP ), FileDefinition.new( path: 'depot/dev/Experimental/README', content: <<-STOP.gsub(/^ {8}/, '') This is an experimental project README. STOP ) ] end class Changelist2 < ChangelistModel def rank 1001 end @description = 'Edits' @user = 'jdoe' @edits = [ FileDefinition.new( path: 'depot/main/My Project/README', content: <<-STOP.gsub(/^ {8}/, '') This is the readme for My Project The README has been edited. STOP ) ] end class StreamTestDepot < DepotModel def rank 1001 end @depot = 'stream-test' @description = 'A test depot' @type = 'stream' end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15741 | ptomiak | Branch HWS for my use. | ||
//guest/perforce_software/helix-web-services/main/source/helix_web_services_client/p4init/test.rb | |||||
#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_client/p4init/test.rb | |||||
#8 | 15578 | tjuricek |
Removing QSettings* usage from hws::Client. The way QSettings was being used only is relevant for one connection at a time, and, it didn't seem to work on windows nicely anyway. |
||
#7 | 15144 | tjuricek |
Setup stream spec tests and documentation. Also revised the documentation folder http_p4_web_api -> helix_versioning_engine |
||
#6 | 15110 | tjuricek | Revise changes methods for new p4 connection handling, add server specs, remove model references in client, and update asciidoc documentation. | ||
#5 | 14893 | tjuricek |
Add an alternative test data setup that should work against the installed package server. Unlike the local p4d instance, the installer configuration already creates the super user and depots, and sets the system security, etc. We just need to seed the additional users. |
||
#4 | 13941 | tjuricek |
Re-implemented the sync project methods at the HTTP level. The Qt API is missing the "members" concept, but it's likely not quite usable just yet. It's existing logic does work, however. |
||
#3 | 13939 | tjuricek |
First pass at sync project service. Includes a first pass at validating projects enabled for Sync. (There's only one branch check at the moment.) Does not include the HTTP layer. |
||
#2 | 13846 | tjuricek | Setup development rules for creating/initializing PostgreSQL, and updated some of the ProjectService specs. | ||
#1 | 13799 | tjuricek |
Start with branch specs hosting in a new monolithic 'helix web services' project. Converting from a microservice to a monolithic architecture due to resource constraints at getting a deployable system running. Additionally, since it's not expected that people will upgrade often, the major benefit of microservices - being able to add services individually without affecting others - is not really a major benefit. The Ruby SDK will be consolidated into a single 'helix web services client' project. It may end up being distributed via Rubygems. This only runs branch specs at the moment. I want to get a CD pipeline setup for the monolithic server before revising more methods. |