You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/10/20 13:28:49 UTC
svn commit: r1186740 - /incubator/deltacloud/trunk/server/bin/deltacloudd
Author: mfojtik
Date: Thu Oct 20 11:28:48 2011
New Revision: 1186740
URL: http://svn.apache.org/viewvc?rev=1186740&view=rev
Log:
CIMI: Display correct URL for cimi entry point
Modified:
incubator/deltacloud/trunk/server/bin/deltacloudd
Modified: incubator/deltacloud/trunk/server/bin/deltacloudd
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/bin/deltacloudd?rev=1186740&r1=1186739&r2=1186740&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/bin/deltacloudd (original)
+++ incubator/deltacloud/trunk/server/bin/deltacloudd Thu Oct 20 11:28:48 2011
@@ -149,10 +149,11 @@ ENV["API_PORT"] = "3001" unless ENV["API
unless options[:daemon]
msg = "Starting Deltacloud API :: #{ENV["API_DRIVER"]} "
msg << ":: #{ENV['API_PROVIDER']} " if ENV['API_PROVIDER']
+ api_uri = ENV['API_FRONTEND'] == 'cimi' ? 'cimi/cloudEntryPoint' : 'api'
if options[:ssl]
- msg << ":: https://#{ENV["API_HOST"]}:#{ENV["API_PORT"]}/api"
+ msg << ":: https://#{ENV["API_HOST"]}:#{ENV["API_PORT"]}/#{api_uri}"
else
- msg << ":: http://#{ENV["API_HOST"]}:#{ENV["API_PORT"]}/api"
+ msg << ":: http://#{ENV["API_HOST"]}:#{ENV["API_PORT"]}/#{api_uri}"
end
puts msg
puts