Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1942

updates to the code in getting_started_Rest_099_07.pdf to actually make it work.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Java-SCA-1.0.1
    • Java-SCA-1.1, Java-SCA-1.x
    • Website
    • None
    • Windows/Firefox

    Description

      I had to make three changes to the code from
      http://cwiki.apache.org/confluence/download/attachments/47534/getting_started_Rest_099_07.pdf?version=1
      to make it work using the windows download of
      tuscany-sca-1.0.1-incubating

      Those were:

      • add @Service(Catalog.class) class level annotation to the CatalogImpl source
      • add @Service(CurrencyConverter.class) class level annotation to the CurrencyConverterImpl source
      • add @Property field level annotation to the currencyCode field of the CatalogImpl source
      • change "../Catalog/" to "../Catalog" and "../ShoppingCart/" to "../ShoppingCart" in the script at the top of store.html

      It's a pdf; so, that's the best I can do with a patch.

      Doug

      Attachments

        Activity

          People

            lresende Luciano Resende
            dclovell Douglas C. Lovell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: