Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mulesoft Anypoint Platform ハンズオン

Mulesoft Anypoint Platform ハンズオン

Mitsuhiro Okamoto

December 06, 2018
Tweet

More Decks by Mitsuhiro Okamoto

Other Decks in Technology

Transcript

  1. "MMDPOUFOUTh.VMF4PGU*OD .VMF4PGU劤㹺ך2VJDL4UBSU׾،ٖٝآ • #$Anypoint Studio (Eclipse!&IDE)(0 4  • Web

    "  +2  '6*- • 5)%,4/3 3 1. https://developer.mulesoft.com/guides/quick-start/designing-your-first-api
  2. "MMDPOUFOUTh.VMF4PGU*OD "1*㹀纏׾⡲䧭 1.   Design Center  2. +

    Create  API Specification  3. QuickStore-SpecCreate 
  3. "MMDPOUFOUTh.VMF4PGU*OD "1*鏣㹀 1. RAML"  &   http://bit.ly/jp_mulehandson_1 1.

     Mocking service:   On 2. API SummaryGet !# 3. Publish to Exchange API $
  4. "MMDPOUFOUTh.VMF4PGU*OD .VMF"QQMJDBUJPOך⡲䧭 1.  Design Center ! 2. + Create

    Mule Application ! 3. QuickStore-ImplCreate  4.   Go Straight to Canvas 
  5. "MMDPOUFOUTh.VMF4PGU*OD %BUBCBTF$POOFDUPS 4FUVQ 1. Set up  2. Database Configuration

     Test  Save /BNF 1SPEVDUT@$POGJH $POOFDUJPO .Z42-$POOFDUJPO )PT U DPOHPEFWSFMNVMFTPGUDPN 1PSU  6TFS NVMFTPGU 1BTTXPSE NVMFTPGU %BUBCBTF QSPEVDUT VTF44-GBMTFBVUP3FDPOOFDUUSVF
  6. "MMDPOUFOUTh.VMF4PGU*OD %BUBCBTF$POOFDUPSˊ 2VFSZך㹀纏 1. SQL Query Text http://bit.ly/jp_mulehandson_2 2. Input

    Parameters - Key : id - Value : attributes.uriParams.productId SELECT product.*, CONCAT('["', (GROUP_CONCAT(variant.picture SEPARATOR '", "')),'"]') AS pictures, CONCAT('[', GROUP_CONCAT('{"',variant.identifierType, '":"', variant.identifier, '"}'),']') AS identifiers FROM product INNER JOIN variant ON product.uuid = variant.productUUID WHERE product.uuid = :id;
  7. "MMDPOUFOUTh.VMF4PGU*OD ،فٔ؛٦ءّٝך䮙⹛׾然钠 1. Run  " 2. !  Copy

    link  + “/api/products/1295527d-d3c7-11e7-9c84-06bf056d193e”   3. Sandbox  : http://quickstore-impl-srfy.jp-e1.cloudhub.io/api/products/1295527d-d3c7-11e7-9c84-06bf056d193e
  8. "MMDPOUFOUTh.VMF4PGU*OD 3VOUJNF،فٔ؛٦ءّٝך然钠 1.  Runtime Manager # 2.  

    !"  URL  !"  : http://quickstore-impl-srfy.jp-e1.cloudhub.io/api/products/1295527d-d3c7-11e7-9c84- 06bf056d193e
  9. "MMDPOUFOUTh.VMF4PGU*OD "1*1SPYZך䞔㜠Ⰵ⸂ 1.  "1*/BNF 2VJDL4UPSF4QFD "TTFU5ZQF 3".-0"4 "1*7FSTJPO W

    "TTFUWFSTJPO  .BOBHJOH5ZQF &OEQPJOUXJUI1SPYZ *NQMFNFOUBUJPO63* IUUQ<ZPVSBQQ>DMPVEIVCJPBQJ 1SPYZEFQMPZNFOUUBSHFU $MPVE)VC 1BUI BQJ $IFDLUIJTCPYJGZPVSBSFNBOBHJOH UIJT"1*JO.VMFPS BCPWF ثؑحؙ
  10. "MMDPOUFOUTh.VMF4PGU*OD "1*هٔء٦׾鏣㹀 1. API ManagerAPI Policies  2. Apply New

    Policy Rate limiting -> 1.2.1    # of Req : 1 Time Period : 1 Time Unit : Minute
  11. "MMDPOUFOUTh.VMF4PGU*OD "1*هٔء٦ךⵖ䖴׾然钠ׅ׷ 1. ! ,*%  ( %.Shift + F5

    or ⌘R )&) 2. Quota!"   +- 3. 1$( #'  +-  : http://quickstore-xxx.jp-e1.cloudhub.io/api/products/1295527d-d3c7-11e7-9c84-06bf056d193e
  12. "MMDPOUFOUTh.VMF4PGU*OD 8IBUˏTOFYU • Tutorials & How Tos •  

     How to(!") • RAML$ 1 (RAML 100) – • https://qiita.com/mokamoto/items/9f5e6d0347564639fcc7 • Mule standalone #AnyPoint Runtime Manager   • https://qiita.com/mokamoto/items/6fc8f0c9c65efdb36dde https://developer.mulesoft.com/tutorials-and-how-tos