Find

Article
· Nov 13, 2024 3m read

IKO & IAM - recordad incluir un sidecar

IAM - InterSystems API Manager es una gran herramienta para monitorear vuestro tráfico. Si estáis intentando usarla en vuestro clúster de Kubernetes, es posible que hayáis intentado hacer un despliegue similar a este:

apiVersion: intersystems.com/v1alpha1
kind: IrisCluster
metadata:
  name: iris
spec:
  licenseKeySecret:
    name: iris-key-secret
  configSource:
    name: iris-cpf
  imagePullSecrets:
    - name: intersystems-pull-secret
  topology:
    data:
      image: containers.intersystems.com/intersystems/iris-arm64:2024.1
      compatibilityVersion: "2024.1.2"
      mirrored: false

    webgateway:
      replicas: 1
      image: containers.intersystems.com/intersystems/webgateway-nginx-arm64:2024.1
      type: nginx
      applicationPaths:
        - /csp/sys
        - /csp/broker
        - /api
        - /isc
        - /oauth2
        - /ui
        - /csp/healthshare
      alternativeServers: LoadBalancing
      loginSecret:
        name: iris-webgateway-secret

    iam: 
      image: containers.intersystems.com/intersystems/iam-arm64:3.4
      replicas: 1
  serviceTemplate:
    spec:
      type: LoadBalancer

Sin embargo, al ir al Panel de IAM veréis:

 

Estáis en modo gratuito. La licencia de IRIS no se pasó a Kong. Para hacer eso, necesitáis aseguraros de tener un sidecar configurado. Podéis añadir un sidecar:

apiVersion: intersystems.com/v1alpha1
kind: IrisCluster
metadata:
  name: iris
spec:
  licenseKeySecret:
    name: iris-key-secret
  configSource:
    name: iris-cpf
  imagePullSecrets:
    - name: intersystems-pull-secret
  topology:
    data:
      image: containers.intersystems.com/intersystems/iris-arm64:2024.1
      compatibilityVersion: "2024.1.2"
      mirrored: false

      webgateway:
        image: containers.intersystems.com/intersystems/webgateway-nginx-arm64:2024.1
        type: nginx
        applicationPaths:
          - /csp/sys
          - /csp/broker
          - /api
          - /isc
          - /oauth2
          - /ui
          - /csp/healthshare
        loginSecret:
          name: iris-webgateway-secret

    webgateway:
      replicas: 1
      image: irepo.intersystems.com/intersystems/webgateway-nginx-arm64:2024.1
      type: nginx
      applicationPaths:
        - /csp/sys
        - /csp/broker
        - /api
        - /isc
        - /oauth2
        - /ui
        - /csp/healthshare
      alternativeServers: LoadBalancing
      loginSecret:
        name: iris-webgateway-secret
        
    iam: 
      image: irepo.intersystems.com/intersystems/iam-arm64:3.4
      replicas: 1
  serviceTemplate:
    spec:
      type: LoadBalancer

o incluso podéis decidir que vuestro Web Gateway independiente no es necesario y que todo el trabajo puede ser realizado por el sidecar:

apiVersion: intersystems.com/v1alpha1
kind: IrisCluster
metadata:
  name: iris
spec:
  licenseKeySecret:
    name: iris-key-secret
  configSource:
    name: iris-cpf
  imagePullSecrets:
    - name: intersystems-pull-secret
  topology:
    data:
      image: containers.intersystems.com/intersystems/iris-arm64:2024.1
      compatibilityVersion: "2024.1.2"
      mirrored: false

      webgateway:
        image: containers.intersystems.com/intersystems/webgateway-nginx-arm64:2024.1
        type: nginx
        applicationPaths:
          - /csp/sys
          - /csp/broker
          - /api
          - /isc
          - /oauth2
          - /ui
          - /csp/healthshare
        loginSecret:
          name: iris-webgateway-secret
        
    iam: 
      image: irepo.intersystems.com/intersystems/iam-arm64:3.4
      replicas: 1
  serviceTemplate:
    spec:
      type: LoadBalancer

El resultado en términos de IAM es el mismo, aunque tened en cuenta que cada enfoque tiene ventajas y desventajas. Cualquiera que elijáis, ahora deberíais ver una licencia activa en IAM:

Discussion (0)1
Log in or sign up to continue
Article
· Nov 12, 2024 3m read

第十九章 TCP 客户端 服务器通信 - 数据包模式

第十九章 TCP 客户端 服务器通信 - 数据包模式

数据包模式

如果未指定模式,则默认为数据包模式。如果流模式被禁用,则该模式默认为分组模式。

在分组模式中,只要有一些数据要返回,读取命令就会完成。数据包模式允许在输出缓冲区中构建整个TCP数据段,然后通过发出WRITE*-3WRITE!命令。

如果在没有要发送的字符的情况下发出WRITE*-1来启动一个TCP发送操作,则会收到一个<WRITE>错误。如果发出WRITE OF空字符串,则会收到<COMMAND>错误。

在分组模式下可以发送的字符串的最大长度为1024个字符。如果在未刷新缓冲区的情况下超过此限制,则会收到<WRITE>错误。

Discussion (0)1
Log in or sign up to continue
Announcement
· Nov 12, 2024

[Video] Human Centered AI: Shaping a Just and Ethical Future in Health Technology

Hey Community,

Play the new video on InterSystems Developers YouTube:

⏯ Human Centered AI: Shaping a Just and Ethical Future in Health Technology @ Global Summit 2024

Learn about the role of artificial intelligence (AI) in advancing healthcare while ensuring health equity and justice. This video discusses the benefits of AI, such as improving access to healthcare and reducing provider burdens, but also warns of significant risks, including amplifying biases and worsening disparities in healthcare outcomes. The speaker emphasizes the importance of responsible AI development through inclusive representation, transparency, and a commitment to eliminating bias and harm. The text concludes with a call for strong governance and multi-layered responsibility within healthcare systems to ensure ethical AI use.

🗣  Presenter: Medell Briggs-Malonson, MD, MPH, MSHS, Chief of Health Equity, Diversity and Inclusion, UCLA Health

Enjoy watching, and expect more videos! 👍

Discussion (0)1
Log in or sign up to continue
Article
· Nov 12, 2024 1m read

Como colocar vídeo na sua postagem na Comunidade de Desenvolvedores InterSystems

Olá comunidade,

Aqui está um artigo curto sobre como colocar vídeo na sua publicação.

Há duas abordagens.

1️⃣ Com a With the atualização recente ao UI/UX da Comunidade de Desenvolvedores n[os implementamos uma nova abordagem. Agora, para inserir um vídeo você precisa clicar no botão YouTube

e preencher o formulário

Coloque uma URL do vídeo, ou cole o código embutido do passo 3 da próxima abordagem

2️⃣ Outra abordagem é fazer isso manualmente, só seguir os passos:

1. Abra o vídeo que você quer inserir no YouTube:

2. Cliqe em compartilhar e escolha embed (embutir):

3. Copie o os conteúdos da caixa de texto acima à direita ou apenas cliqeu no botão Copy no canto de baixo direito:

4. Na sua publicação na comunidade, mude para a visualização Source:

5. Insira o conteúdo copiado do passo 3 exatamente onde você o deseja:

6. Clique no botão Source novamente para retornar à visualização WYSIWYG e continue escrevendo sua publicação.

É isso - é assim que você pode embutir um vídeo do YouTube na sua publicação da Comunidade

Espero que isso responda uma das suas perguntas sobre como escrever para a Comunidade ;)


Deixe seus pensamentos sobre o assunto na sessão de comentários ou proponha outro tópico para um artigo sobre como escrever publicações na Comunidade de Desenvolvedores

Discussion (0)1
Log in or sign up to continue
Question
· Nov 12, 2024

Production messages visualization

To transfer data between production components I actively use messages of type Ens.StreamContainer class and its descendants. In many cases the content of the message content is not visualised (the 'Body' tab contains a table with a list of selected message properties but the 'Contents' tab is empty). Response messages are never visualised, and request messages are visualised with a fifty-fifty probability. What do I need to do to ensure that messages are always visualised?

3 Comments
Discussion (3)2
Log in or sign up to continue