検索

記事
· 2024年11月13日 7m read

IRIS+WSGIでOAuth2クライアントを実行する方法

以前、Azure用にOAouth2クライアントをセットアップする記事を書いた時に思ったのですが、各IdPはサンプルコードとしてPythonコードや専用のモジュールを提供しているので、それがそのまま使用できれば効率が良いのにな、と思いました。

IRISが埋め込みPython機能としてWSGIをサポートしたことにより、これが簡単に実現しそうなので、その方法をご紹介したいと思います。

導入方法

今回は、IdPとしてOKTAを使用してAuthorization Codeフローを行います。

OKTAでの設定内容

参考までに、今回使用した環境を後半に記載しています。

アプリケーションの起動

コンテナ化してありますので、コンテナのビルド環境をお持ちの方は、下記を実行してください。

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年11月13日

Developer Community AI: InterSystems IRIS Documentation added

Hey Community,

We’re excited to announce a new upgrade to Developer Community AI!

Now, in addition to Community posts and comments, Developer Community AI also pulls information from official InterSystems IRIS documentation to answer your questions. This new feature lets you customise your search sources so you get the most relevant answers tailored to your needs.

Just choose the sources and ask the question:

  • Community posts
  • InterSystems IRIS Documentation
  • or both! 

With the documentation now added to the knowledge base, feel free to ask your questions again – you might receive a different, more accurate answer.

Check it out and share your thoughts in the comments below!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年11月13日

Monitoring - Adding multiple labels to a custom metric

Hello,

I want to upload a "custom" metric in prometheus (queue).

For now, in version 2022, I have the impression that we cannot add multiple labels and yet the basic metrics know how to do it.

ex: standard metric

iris_interop_messages_per_sec{cluster="1", host="xxxx", id="API", instance="xxxx:80", job="SAM", production="xxxx"}

my current example: I would like to be able to at least add the production, just to have the source of the measurement.

my_iris_queue{cluster="1", id="xxxx", instance="xxx", job="SAM"}
Do you have any idea how to do this? I remind you that in version 2022, we don't have the SetSensorsLabel method!

Thanks in advance

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年11月13日

Production "Update" activation which prevents tasks from running

Good morning,

We frequently have the "Update" button that activates when launching scheduled tasks in our feeds.

This prevents the flow of this launch at the scheduled time. See image below

  Does anyone have any idea where this behavior comes from? How to fix it? 

Thanks in advance for your help,

1 Comment
ディスカッション (1)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年11月13日

Bonuses for InterSystems Tech Video Challenge

Hi Community,

A huge thank you to everyone who joined our InterSystems Tech Video Challenge! We’re thrilled to have all these interesting videos.

Don’t forget to check out the bonuses for the videos below:

Video Author(s) Topic Article Application Video Translation Shorts LinkedIn post
Using Character Slice Index in InterSystems IRIS @Robert Cemper             
Genes in DNA Sequences as vector representation using IRIS vector database @Filip Kašpar  +    +  
IrisGoogleChat @Daniel Aguilar   + +  +      
Mapping a Custom File to SDA @Andre Ribera   +  +      +
IRIS External Language Gateway, Java Edition @Iryna Mykhailova  + +   +  +
TheraSense Adarsh Ashok, Ashwin Accapadi, Shantikiran Chanal            
EduVerse: Inclusion & Innovation in Education 🌍 @Rolano Rebelo, Darshan Karkera, Parth Bhanderi, Pavlo Bondarenko   +     +  +
SOUR (Smart Optics for Understanding Reality) Thang Truong, Caleb Devon, Vivek Keval, Anik Patel            
FHIRworks @Elise Swinehart  +        +

Bonuses are subject to change upon update. 

Please claim your bonuses in the comments below!

9 Comments
ディスカッション (9)3
続けるにはログインするか新規登録を行ってください