[ARVADOS] created: efb58099eebde5bebb4cbfba9ce4ba70a142fc56
git at public.curoverse.com
git at public.curoverse.com
Mon May 19 17:11:12 EDT 2014
at efb58099eebde5bebb4cbfba9ce4ba70a142fc56 (commit)
commit efb58099eebde5bebb4cbfba9ce4ba70a142fc56
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon May 19 17:11:09 2014 -0400
2776: Started adding KeepServices model.
diff --git a/services/api/app/models/keep_service.rb b/services/api/app/models/keep_service.rb
new file mode 100644
index 0000000..d7af945
--- /dev/null
+++ b/services/api/app/models/keep_service.rb
@@ -0,0 +1,7 @@
+class KeepService < ArvadosModel
+ include AssignUuid
+ include KindAndEtag
+ include CommonApiTemplate
+
+
+end
diff --git a/services/api/db/migrate/20140519205916_create_keep_services.rb b/services/api/db/migrate/20140519205916_create_keep_services.rb
new file mode 100644
index 0000000..7138737
--- /dev/null
+++ b/services/api/db/migrate/20140519205916_create_keep_services.rb
@@ -0,0 +1,18 @@
+class CreateKeepServices < ActiveRecord::Migration
+ def change
+ create_table :keep_services do |t|
+ t.string :uuid, :null => false
+ t.string :owner_uuid, :null => false
+ t.string :modified_by_client_uuid
+ t.string :modified_by_user_uuid
+ t.datetime :modified_at
+ t.string :service_host
+ t.integer :service_port
+ t.boolean :service_ssl_flag
+ t.string :service_type
+
+ t.timestamps
+ end
+ add_index :keep_services, :uuid, :unique => true
+ end
+end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list