You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2015/01/27 14:37:35 UTC
[jira] [Commented] (STRATOS-1143) Expose Mock IaaS as a Service and
Create a Server Profile
[ https://issues.apache.org/jira/browse/STRATOS-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293519#comment-14293519 ]
Imesh Gunaratne commented on STRATOS-1143:
------------------------------------------
Mock IaaS API endpoint can be defined in cloud-controller.xml:
{code}
<iaasProvider type="mock" name="Mock">
<className>org.apache.stratos.cloud.controller.iaases.mock.MockIaas</className>
<provider>mock</provider>
...
<property name="api.endpoint" value="https://localhost:9443/mock-iaas-api" />
</iaasProvider>
{code}
Now stratos distribution can start with mock-iaas server profile as follows:
{code}
sh <stratos-home>/bin/stratos.sh -Dprofile=mock-iaas
{code}
Implemented with commit revision:
5a3e530a5072db7be4e4b10b229573c541f5de99
> Expose Mock IaaS as a Service and Create a Server Profile
> ---------------------------------------------------------
>
> Key: STRATOS-1143
> URL: https://issues.apache.org/jira/browse/STRATOS-1143
> Project: Stratos
> Issue Type: Improvement
> Affects Versions: 4.1.0 Alpha
> Reporter: Imesh Gunaratne
> Assignee: Imesh Gunaratne
> Fix For: 4.1.0 RC1
>
>
> Currently Mock IaaS resides in the Cloud Controller. However to verify cloud bursting scenarios and Stratos product clustering features we need to be able to run Mock IaaS as a separate product. To support this we could expose Mock IaaS as a REST service and create a server profile. By doing that we could start Mock IaaS as a seprate product and configure cloud controller to talk to it via the API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)