require 'sequel' require 'p4_project_services_data' module P4ProjectServices module Models # :id - String, pk # :name - String # :version - Integer # :description - String class Project < Sequel::Model one_to_many :branches one_to_many :extensions end # :id - String, pk # :name - String, not null # :stream - String class Branch < Sequel::Model many_to_one :project one_to_many :views end # :id - pk # :depot_path - String, not null # :view_path - String, not null class View < Sequel::Model many_to_one :branch end # :id - pk # :content_type - String # :json - String class Extension < Sequel::Model many_to_one :project end end end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 13972 | tjuricek |
Removing old microservice implementations. The system is now mostly a monolith. Eventually there will be a websocket service. |
||
#6 | 13789 | tjuricek |
Basic create/read methods for hooks on project services. Not connected to the main project handler yet. |
||
#5 | 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. |
||
#4 | 13475 | tjuricek | Normalize whitespace | ||
#3 | 13474 | tjuricek | Corrected regressions that broke the API and Project services specs. | ||
#2 | 13463 | tjuricek | Replace crappy indexing mechanism with Postgres queries. | ||
#1 | 13462 | tjuricek |
Created a preliminary caching schema and basic database models for the p4 project services. This may break some tests momentarily until I implement caching. |