本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →CData JDBC Driver for AAS はAzure Analysis Services データをMule アプリケーションと連携することで、読みといった機能をおなじみのSQL クエリを使って実現します。JDBC ドライバーを使えば、Azure Analysis Services データをバックアップ、変換、レポート作成、分析するMule アプリケーションをユーザーは簡単に作成できます。
本記事では、Mule プロジェクト内でCData JDBC Driver for AAS を使用して、Azure Analysis Services データのWeb インターフェースを作成する方法を紹介します。作成したアプリケーションを使えば、HTTP 経由でAzure Analysis Services データをリクエストして、JSON 形式で結果を取得できます。まったく同様の手順で、すべてのCData JDBC Driver で240 を超えるデータソースのWeb インターフェースを作成できます。手順は以下のとおりです。
To connect to Azure Analysis Services, set the Url property to a valid server, for instance, asazure://southcentralus.asazure.windows.net/server, in addition to authenticating. Optionally, set Database to distinguish which Azure database on the server to connect to.
Azure Analysis Services uses the OAuth authentication standard. OAuth requires the authenticating user to interact with Azure Analysis Services using the browser. You can connect without setting any connection properties for your user credentials. See the Help documentation for more information.
JDBC 用のURL の作成にサポートが必要な場合は、Azure Analysis Services JDBC Driver に組み込まれた接続文字列デザイナを使用できます。JAR ファイルをダブルクリックするか、コマンドラインからJAR ファイルを実行してください。
java -jar cdata.jdbc.aas.jar
接続プロパティを入力して、接続文字列をクリップボードにコピーします。
SELECT Country, Education FROM Customer WHERE Country = 'Australia'
。
%dw 2.0 output application/json --- payload
これで、カスタムアプリケーションおよび他のさまざまなBI、帳票、ETL ツールからAzure Analysis Services データを(JSON データとして)扱うための簡易なWeb インターフェースを作成できました。Mule アプリケーションからお好みのデータソースにアクセスできる、JDBC Driver for AAS の30日の無償評価版のダウンロードはこちらから。