Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
page_type languages products description urlFragment
sample
java
Azure Spring Apps
Azure Database for PostgreSQL
Azure Cache for Redis
Azure Active Directory
Deploy Microservice Apps to Azure
acme-fitness-store

ACME Fitness Store

ACME Fitness Store は、架空のスポーツ用品を販売するオンライン・ショップです。このリポジトリで、ACME Fitness Store アプリケーションのソース・コードとデプロイ用スクリプトを提供しています。

ハイ・レベルのアーキテクチャ

An image showing the services involved in the ACME Fitness Store. It depicts the applications and their dependencies

このアプリケーションは、下記の複数のサービスから構成されています。

  • Java Spring Boot アプリケーション:

    • カタログサービス:利用可能な製品を取得
    • 支払いサービス:ユーザーの注文に対する支払い処理と承認
    • ID サービス:認証されたユーザーを参照
    • 支援サービス:フィットネス・ストアに AI を適用
  • Python アプリケーション:

    • カートサービス:購入用に選択されたユーザーのアイテムを管理
  • ASP .NET Core アプリケーション:

    • 注文サービス:ユーザーのカートに入っている商品の購入処理
  • Node.js & 静的 HTML

    • フロントエンド:フロントエンド・ショッピング・アプリケーション

このサンプルは、Azure Spring Apps Enterprise または Tanzu Application Platform にデプロイできます。

レポジトリの構成

ディレクトリ 目的
apps/ 各サービスのソースコード
azure-spring-apps-enterprise/ Azure Spring Apps Enterprise にデプロイするためのドキュメントとスクリプト
tanzu-application-platform/ Tanzuアプリケーションプラットフォームにデプロイするためのドキュメントとスクリプト

Azure Spring Apps Enterprise (ASA-E) へのアプリのデプロイ

Azure Spring Apps Enterprise を使用すると、Azure 上で Spring Boot や 多言語のアプリケーションを動作させることができます。 azure-spring-apps-enterprise/README.md のクイックスタート ガイドでは、ACME Fitness ストア・アプリケーションを Azure Spring Apps Enterprise にデプロイする方法について記載しています。

Tanzuアプリケーションプラットフォーム(TAP)へのアプリのデプロイ

Tanzuアプリケーションプラットフォーム(TAP) を使用すると、多言語アプリを CNCF に準拠する Kubernetes クラスター上に、簡単に構築して実行できます。 tanzu-application-platform/README.md の記載内容に従い、アプリケーションを TAP にデプロイします。