[ 
https://issues.apache.org/jira/browse/TUSCANY-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Antollini updated TUSCANY-2224:
-------------------------------------

    Attachment: LaunchStoreMarketNode.zip

> Tutorial Marketplace scenario ready
> -----------------------------------
>
>                 Key: TUSCANY-2224
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2224
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA Tutorial
>    Affects Versions: Java-SCA-Next
>            Reporter: Mario Antollini
>         Attachments: LaunchStoreMarketNode.zip, market.zip, store-market.zip, 
> StoreMarketNode.zip
>
>
> Hello,
> I have finished coding the tutorial marketplace scenario.
> I have attached all the necessary files in: 
> Please, follow these steps in order to add it as another module of the 
> tutorial:
> market.zip -> contains the logic to obtain the MarketPlace catalog. Its 
> content must be placed under tutorial\assets\services
> StoreMarketNode.zip -> Its content must be placed under tutorial\domain\cloud
> LaunchStoreMarketNode.zip -> Its content must be placed under 
> tutorial\domain\launch
> store-market.zip -> this is the store-market module. This file must be 
> uncompressed under \tutorial
> Besides, add the following lines:
> 1 - Into tutorial\assets\META-INF\sca-contribution.xml: <export.java 
> package="services.market"/>
> 2 - Into tutorial\assets\tutorial.html: <h2><a 
> href="http://localhost:8105/ui/store.html";>Online Store - Marketplace</a>
> 3 - Into tutorial\domain\cloud.composite: <include name="ns2:StoreMarketNode" 
> uri="http://tuscany.apache.org/cloud"; 
> xmlns:ns2="http://tuscany.apache.org/cloud"/>
> 4 - Into tutorial\domain\domain.composite: <include name="ns2:store-market" 
> uri="store-market" xmlns:ns2="http://store"/>
> 4 - Into tutorial\domain\workspace.xml: <contribution 
> location="file:../store-market/target/tutorial-store-market.jar" 
> uri="store-market"/>
> 5 - Into tutorial\pom.xml: <module>store-market</module>
> How to run it?
> 1 - Compile tutorial\domain, tutorial\store-market, tutorial\assets
> 2 - # cd <tuscany_home>\tutorial\domain
> 3 - # java -jar 
> <tuscany_home>\modules\tuscany-node2-launcher-1.2-incubating.jar domain
> 4 - Open this url in your browser: http://localhost:9990/ui/cloud/
> 5 - Start these Nodes in the listed order:
> 5.1 - CurrencyNode
> 5.2 - CatalogsNode
> 5.3 - StoreMarketNode
> 6 - Open <tuscany_home>\tutorial\assets\tutorial.html in your browser
> 7 - Click the link "Online Store - Marketplace"
> 8 - That is all... you should see some fruits and vegetables in the catalog
> If there is any problem, please let me know.
> Thanks and regards,
> Mario

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to