Nova postagem

Pesquisar

Pergunta
· Ago. 21, 2024

Invalid CSP response cookie. SameSite cannot be set to None without Secure. : CSP Error

We have a CSP pages script, which gets and sets a cookie for email tracking purposes, we had problems with cookies not being passed to this script when the URL was opened from an email client due to being cross-site, so I set Session Cookie Scope & User Cookie Scope to None instead of Strict.

This solved the issue with cookies not being passed, however the script entirely does not work anymore due to the error:

"Invalid CSP response cookie. SameSite cannot be set to None without Secure. : CSP Error"

Which doesn't make sense to me since the connection is indeed secure, I also have error logs from Application Logs if this could be helpful.

I've looked and read everywhere, and the interesting part is that our script works on Caché 2017, but since we're migrating we've stumbled upon this issue when we deployed Ensemble 2018, I also noticed that the Cookie Scope options on a web application is new, and is not present in Caché 2017, so I'm stumbed.

3 Comments
Discussão (3)1
Entre ou crie uma conta para continuar
Artigo
· Ago. 21, 2024 29min de leitura

Texto para IRIS SQL com LangChain

Um experimento sobre como usar a framework LangChain, Busca por Vetor IRIS e LLMs para gerar SQL compatível com IRIS de prompts de usuários.

Esse artigo foi baseado neste notebook. Você pode rodar com um ambiente pronto para uso com esta aplicação no OpenExchange.

Setup

Primeiro, precisamos instalar as livrarias necessárias:

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Ago. 21, 2024

How to rewrite API URL paths on the fly so that they include the IRIS instance name ?

Hello, 
A customer whose Ensemble code contains lots of hardwired API URL calls is running into issues because of the IRIS instance name insertion in the URL path since IRIS v 2024.1.

What are the best solutions to revert to the previous URL path or automatically and dynamically rewrite this path (Apache mod_rewrite ? Proxies ?). Any examples ? 

Thanks for your help, 
Bertrand Cayzac

Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· Ago. 21, 2024 3min de leitura

2023年の応募作品紹介:第1回 InterSystems Japan 技術文書ライティングコンテスト

開発者の皆さんこんにちは!

9月2日から、🖋第2回 InterSystems Japan 技術文書ライティングコンテスト🖋 が始まります!応募の準備はばっちりでしょうか?👀

この記事では、昨年開催したコンテストに応募いただいた作品を審査員コメントを添えてご紹介します。

(審査員コメントは昨年11月に開催したミートアップ内で行ったコンテスト表彰式で紹介した内容です)

@Akio Hashimoto さんが投稿された DockerにIRISを構築する簡単なチュートリアル

審査員コメント:

  • IRISのコンテナを作成する手順を必要十分に、かつシンプルに説明されている。
  • まずはコンテナ版IRISを動かしてみたい!と思っている方に最適なチュートリアルだと思いました。

@Junichi Sakata さんが投稿された  Embedded Pythonの使い所は?

審査員コメント:

  • Embedded Pythonを使うと何がうれしいのか?について、具体的に試された内容とまとめがかかれていてとても参考になる記事

@Yuji Ohata さんが投稿された AWS環境を用いたCI/CDの仕組みの紹介。

審査員コメント:

  • 普遍的なトピック(CI/CD)を、IRISでのケースに当てはめながら分かりやすく説明されていた。
  • 実運用環境が非コンテナであっても、CI/CDをコンテナで実現する方法とメリットを示していただきました。
  • 「本番環境に更新IRISルーチンを反映させる処理を自動化」という、誰もがえがく夢を、様々な技術を利用しながら具体的な手法にまで落とし込み、かつ実際に運用されているところに、IRISにまつわる技術文書としてまさしくふさわしいと思った。

@Kosaku Ikeda さんが投稿された FHIRリポジトリ導入時の備忘録として

審査員コメント:

  • FHIRリポジトリ導入について、多くのサンプルコードを交えながら分かりやすく説明されていた
  • IRISのFHIR/RESTクライアント使用例を初めて見ました!
  • ドキュメントとポータルの記載が異なる部分をコミュニティメンバーのためにわかりやすい図で示していただきありがとうございました。

昨年開催のコンテスト順位や贈られた賞品について詳しくは👉 ★受賞者発表!★ 第1回 InterSystems Japan 技術文書ライティングコンテスト をご参照ください。

第2回開催も投稿いただいた方全員に参加賞👚、そして、1位~3位の作品には素敵な🎁賞品🎁を予定しております。

皆様が日頃お使いの良い方法、便利な使い方、試して面白かった機能などありましたら、ぜひコミュニティメンバーに共有いただければと思います。

ご応募お待ちしております!

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Ago. 20, 2024

Using Parameters in RuleDefinition

I've been trying unsuccessfully to use a parameter function within a routing rule. I can see the function %GetParameter available in the WYSIWIG rule editor, but I cannot seem to get the inputs for it correct, e.g.

Which gives the error

 

I have also tried unsuccessfully in code

Is what I am doing possible, and I have a syntax issue? Or is getting a parameter like this not something that can be done in a class of type Ens.Rule.Definition

Thanks

4 Comments
Discussão (4)2
Entre ou crie uma conta para continuar