Skip to content

Implement sample notifications server #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kpalang opened this issue Apr 8, 2025 · 9 comments · Fixed by #79 · May be fixed by #114
Closed

Implement sample notifications server #24

kpalang opened this issue Apr 8, 2025 · 9 comments · Fixed by #79 · May be fixed by #114
Assignees
Labels
good first issue Good for newcomers

Comments

@kpalang
Copy link
Contributor

kpalang commented Apr 8, 2025

Administrator has the ability to query and display dynamic notifications. We should write a reference implementation.

kpalang added a commit that referenced this issue Apr 8, 2025
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
kpalang added a commit that referenced this issue Apr 8, 2025
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
@jonbartels jonbartels added the good first issue Good for newcomers label Apr 10, 2025
@jonbartels
Copy link
Contributor

This is a good PR for anyone with any programming skills. It should be a very simple REST API.

Key acceptance criteria:

  • Messages should be able to be created through normal release or PR processes
  • Reading from existing processes will be helpful - example can the code read from an "Announcements.md" in the repo or GitHub releases?
  • Target URLs should be configurable with other branding configs, see Centralized branding #23 . That way vendors or resellers or other takers can set up their own notifications

The implementation could be EITHER a server or serverless thing OR changes to the Mirth code to just read from GitHub or openintegrationengine.org

@leovander
Copy link

leovander commented Apr 11, 2025

Repos have a few atom feeds to read from, potentially for this issue using this feed could function as the source of truth for https://github.com/OpenIntegrationEngine/engine/releases.atom.

Here is a sample entry returned from above:

<entry>
    <id>tag:github.com,2008:Repository/956275223/4.5.2</id>
    <updated>2024-09-10T06:12:21-07:00</updated>
    <link rel="alternate" type="text/html" href="https://github.com/OpenIntegrationEngine/engine/releases/tag/4.5.2"/>
    <title>4.5.2</title>
    <content type="html">&lt;p&gt;Tagged &lt;a class=&quot;commit-link&quot; data-hovercard-type=&quot;commit&quot; data-hovercard-url=&quot;https://github.com/OpenIntegrationEngine/engine/commit/6ce3a9f0e3d84841f0b1e07c2808cf0bdb3d0a78/hovercard&quot; href=&quot;https://github.com/OpenIntegrationEngine/engine/commit/6ce3a9f0e3d84841f0b1e07c2808cf0bdb3d0a78&quot;&gt;&lt;tt&gt;6ce3a9f&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;</content>
    <author>
      <name>tonygermano</name>
    </author>
    <media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/39179051?s=60&amp;v=4"/>
  </entry>

Seems like all the relevant metadata that the current service uses to display notifications is already there

  • id -> id
  • name -> title
  • date -> updated?
  • content -> content

notification.setId(childNode.get("id").asInt());
notification.setName(childNode.get("name").asText());
notification.setDate(childNode.get("date").asText());
notification.setContent(childNode.get("content").asText());

Would obviously need to convert that XML to JSON or update the implementation to parse the xml feed instead.


And NG's as an example: https://github.com/nextgenhealthcare/connect/releases.atom

<entry>
    <id>tag:github.com,2008:Repository/136395597/4.5.2</id>
    <updated>2025-03-25T14:41:58-07:00</updated>
    <link rel="alternate" type="text/html" href="https://github.com/nextgenhealthcare/connect/releases/tag/4.5.2"/>
    <title>Mirth Connect 4.5.2</title>
    <content type="html">&lt;p&gt;Mirth® Connect 4.5.2 is a patch release that includes enhancements, bug fixes, and security improvements. For more details, visit our See What&#39;s New and Release Notes pages linked below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTICE: In 2025, Mirth® Connect will move to Java 17 as the minimum supported Java version.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/nextgenhealthcare/connect/wiki/4.5.2---What&#39;s-New&quot;&gt;See What&#39;s New&lt;/a&gt; | &lt;a href=&quot;https://github.com/nextgenhealthcare/connect/wiki/Upgrading&quot;&gt;Upgrade Guide&lt;/a&gt; | &lt;a href=&quot;https://github.com/nextgenhealthcare/connect/milestone/85?closed=1&quot;&gt;Release Notes&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Downloads&lt;/h1&gt;
&lt;h3&gt;Connect&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;OS&lt;/th&gt;
&lt;th&gt;Arch&lt;/th&gt;
&lt;th&gt;Download Link&lt;/th&gt;
&lt;th&gt;SHA256&lt;/th&gt;
&lt;th&gt;MD5&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x86&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-windows-x32.exe&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;3ddedb8b4bfc4a349ac12b87a6b5dcb24337126366cbd47594cf59f1916e9483&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;80bc1ffc2991928e5cadeffe0d4dab20&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x86&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-windows-x32.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;57ed2f9fa29bfc5b58de51e365eda305937f54e80ecaa4d617a935a0b4118663&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;24d612154ee204f7729ec463a8b4d2e6&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-windows-x64.exe&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;69bb832d56f28c2c840e523efa4d7c72d47cd0b2bcd2babed16abe41e4d1a535&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;98bee7d33e85a6209305a5a08b3faf80&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-windows-x64.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;60470a8fc817f690c5250707523e886f37e0a8a6c76f7e8352dd198f8b2610ea&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;29268fba06aa3a2ef96ae4a781ca9d78&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-linux.rpm&quot; rel=&quot;nofollow&quot;&gt;RPM&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;9c2a72c4ec2a3ebc24ca1a3027cf16ddb2cf894fc54028693a822bc27b7197c9&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ec11a9b64194e829b65143d34e8c2207&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-unix.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;800f9dd73db3268d180eca46c3ea6ad46cc95c7bbaf5740804a9755600b46e5d&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;47757d532e68dfe06d751db071e15f2f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-unix.sh&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;fbef4553f1fe4ddd47e7385d0997a5f86842cc860e503dc7e7fa55d1f914b694&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8c53e69a9260af3eb75c69d7cd402acf&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-macos.dmg&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;11f265e45be9333a7c081f021d42b9f5788b20c05eb6f3fad109b978ca117111&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;25457701e6fe4a66f0ad82f3b027600c&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnect-4.5.2.b363-unix.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;800f9dd73db3268d180eca46c3ea6ad46cc95c7bbaf5740804a9755600b46e5d&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;47757d532e68dfe06d751db071e15f2f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Command Line Interface&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;OS&lt;/th&gt;
&lt;th&gt;Arch&lt;/th&gt;
&lt;th&gt;Download Link&lt;/th&gt;
&lt;th&gt;SHA256&lt;/th&gt;
&lt;th&gt;MD5&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x86&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnectcli-4.5.2.b363-windows-x32.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;af5a5eae5ba554f09cc06aa795715bdec9d41f1526fe606a1253e22edef4db14&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;fa1350eb554658e6af1ca4355d9a9c2e&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnectcli-4.5.2.b363-windows-x64.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0a6aadafa6669ce11c49ecac9d1ebdbcfe90d19cef735bac287e06bceda28683&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;47e2016aca05dfbdf1c6d5dee432a772&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnectcli-4.5.2.b363-unix.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;59d7cb355fe4a35f725bfbf9e4dc35df08e70d5ed3957fbd19a115c0ad61ea4b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;02df14d0cc77fc6911660b98071b7588&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.amazonaws.com/downloads.mirthcorp.com/connect/4.5.2.b363/mirthconnectcli-4.5.2.b363-unix.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;59d7cb355fe4a35f725bfbf9e4dc35df08e70d5ed3957fbd19a115c0ad61ea4b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;02df14d0cc77fc6911660b98071b7588&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Mirth Connect Administrator Launcher (MCAL) 1.4.2&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;OS&lt;/th&gt;
&lt;th&gt;Arch&lt;/th&gt;
&lt;th&gt;Download Link&lt;/th&gt;
&lt;th&gt;SHA256&lt;/th&gt;
&lt;th&gt;MD5&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x86&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-windows-x32.exe&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;c52eb29f36a57846fac9ff6d49eeb034d38a52cd3d63f4e96c1df6244260336b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;a6e6f18b25e4db83121ac5eec8e9a9cd&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x86&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-windows-x32.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;8efb1bcce0d42f10f63d5f222b0cc389108b635ca990c1a0e5195177f9682ad8&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0eeaeff70d786b9fb5c8a65b600269d9&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-windows-x64.exe&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;35df4bd913b7e9350d1269668ef7aee764caced32f73eac93472c0362e627b8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;3278dd4ab199dc351cc43743472f615f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/91b8abb97238d6cfb2ce12a0b567c66d38d383c3796a6039f01357f9ad9fb313/68747470733a2f2f692e696d6775722e636f6d2f5a6776554559672e706e67&quot; alt=&quot;Windows&quot; data-canonical-src=&quot;https://i.imgur.com/ZgvUEYg.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-windows-x64.zip&quot; rel=&quot;nofollow&quot;&gt;Zip&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;a68ab448cbfd212154ba7bceade79492ef0273453c4ef573fd126862d0082824&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;989e1f73e7c07e339d9826cd0b98f34e&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-linux.rpm&quot; rel=&quot;nofollow&quot;&gt;RPM&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;fef3d2d8c99236493c3aff6cd96b1b219513e8c83e5f0710a1a4627f5e6463d9&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;191b6100cc39a103657e72ef0d0d36b2&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-unix.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;d41d8cd98f00b204e9800998ecf8427e&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/186711517a7d0a58c3171272688565b2edd04871f355612e9289c39401b5a310/68747470733a2f2f692e696d6775722e636f6d2f5a4164593138702e706e67&quot; alt=&quot;Linux&quot; data-canonical-src=&quot;https://i.imgur.com/ZAdY18p.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-unix.sh&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;3b2e2536d1613fd63c52202f3409a5df9e914b5f38e645fcdaffc553c0b75c3b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;6a1c9f3ab5acd480b711f9eaa7079a0c&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-macos.dmg&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;da5c6775bb7f3690d7dc76bc3fc44dc731e2110a5c8e267f3a0b3910e0650fb3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;49661157bd100c93f77c3697b7c6145f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-macos.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;85afae8ea8afd7f59529ed3d03e036bdcc249599aa22394b10b2bdc7914647b6&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;2636fa6390150429d8b960782609053d&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;aarch64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-macos-aarch64.dmg&quot; rel=&quot;nofollow&quot;&gt;Installer&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;e3cceb9049915b6841d19e46054e90b36e77ec447a58fdcb77abd4be729a4248&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;89e88641ba268b1025239585557d11d5&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot;&gt;&lt;img src=&quot;https://camo.githubusercontent.com/a41ca92f9e722c374ca2522a3668f670c1d345971fa61505b6f62ada180413d9/68747470733a2f2f692e696d6775722e636f6d2f386858625373412e706e67&quot; alt=&quot;Mac OS X&quot; data-canonical-src=&quot;https://i.imgur.com/8hXbSsA.png&quot; style=&quot;max-width: 100%;&quot;&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;aarch64&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://s3.us-east-1.amazonaws.com/downloads.mirthcorp.com/connect-client-launcher/mirth-administrator-launcher-1.4.2-macos-aarch64.tar.gz&quot; rel=&quot;nofollow&quot;&gt;Tar.gz&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;4edb8a827b97920e945ed599c6221e08d24f485848189b584542ec3acb437580&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;32ff6437156d368256e6263b752616fb&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</content>
    <author>
      <name>jdonextgen</name>
    </author>
    <media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/100001865?s=60&amp;v=4"/>
  </entry>

And what the parsed contents looks like: https://github.com/nextgenhealthcare/connect/releases/tag/4.5.2

@kpalang
Copy link
Contributor Author

kpalang commented Apr 11, 2025

I like @leovander's idea! Using RSS or Atom would be quite ideal for this.

@leovander
Copy link

leovander commented Apr 11, 2025

Few more notes:
This was potentially another phone home attempt providing a server id. re: #5

https://github.com/OpenIntegrationEngine/engine/blob/main/server/src/com/mirth/connect/client/core/ConnectServiceUtil.java#L101-L103

Since they were originally using the version number to send back to the server, we can chop up the semver version to filter out the returned entries in either the title (if that convention stays) or for what would appear more consistently, the version provided at the end of the id or link.

<id>tag:github.com,2008:Repository/956275223/4.5.2</id>
<updated>2024-09-10T06:12:21-07:00</updated>
<link rel="alternate" type="text/html" href="https://github.com/OpenIntegrationEngine/engine/releases/tag/4.5.2"/>
<title>4.5.2</title>

That filtering could happen in the ConnectService that fetches the entries.

A few other things to need to test out or confirm:

  • Is the feed paginated? It doesn't appear so and only the last 5 entries are returned

There actually is a REST API, no credentials needed: https://api.github.com/repos/nextgenhealthcare/connect/releases and supports pagination: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#list-releases

I think that answers that.

  • It defaults to 100 items returned
  • If there are more than 100 items and it starts paginating, they provide next links in the response headers
  • There are some draft and prerelease fields in that response that can be used to filter on as well.

@kpalang
Copy link
Contributor Author

kpalang commented Apr 12, 2025

This was potentially another phone home attempt providing a server id. re: #5

https://github.com/OpenIntegrationEngine/engine/blob/main/server/src/com/mirth/connect/client/core/ConnectServiceUtil.java#L101-L103

This path should be disabled in a round-about way in #23 with 4dc8f29 such that the notifications buttons and dialog are never shown and called. But now that I think of it, a much better band-aid would have been to return early from getNotifications() with an empty/hardcoded list...

@kelaompachai
Copy link
Contributor

I'd like to take a crack at this. From what I can tell, the current setup is for the getNotifications function to get information from NG, but we want to get it from the a github releases api tied to the OIE engine repo. Is that broadly correct?

@kpalang
Copy link
Contributor Author

kpalang commented Apr 21, 2025

@kelaompachai Please do!

I think the feed url should be configurable. #23 has a new class called BrandingConstants in the works for such hard-coded static values.
Technically speaking it doesn't really matter if the feed is GH's releases or someone's cooking blog. It just has to be configurable at compile-time. The main effort would be reading the feed and displaying it prettily.

@kelaompachai
Copy link
Contributor

Ok, I'm on it.

kpalang added a commit that referenced this issue May 1, 2025
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
kpalang added a commit that referenced this issue May 1, 2025
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
@kpalang kpalang mentioned this issue May 6, 2025
@jonbartels jonbartels added this to the Technical Preview 2 milestone May 6, 2025
kpalang added a commit that referenced this issue May 6, 2025
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
jonbartels added a commit to kelaompachai/engine that referenced this issue May 20, 2025
jonbartels added a commit to kelaompachai/engine that referenced this issue May 20, 2025
@mgaffigan
Copy link
Contributor

I'm including here for reference the existing HTTP Request made by 37e0f4c08845afc682c9ff36b19f9fbaf4081b8a, and the response from NextGen as of right now.

NotificationServerlet getNotificationCount

Request:

POST https://connect.mirthcorp.com/NotificationServlet HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Apache-HttpClient/4.5.13 (Java/21.0.7)
Host: connect.mirthcorp.com
Content-Length: 2116

op=getNotificationCount&serverId=49885e13-4f2e-41a6-b66a-8e65f5492d9a&version=4.5.2&extensionVersions=%7B%22Server+Log%22%3A%224.5.2%22%2C%22File+Writer%22%3A%224.5.2%22%2C%22Delimited+Data+Type%22%3A%224.5.2%22%2C%22HTTP+Sender%22%3A%224.5.2%22%2C%22HTTP+Authentication+Settings%22%3A%224.5.2%22%2C%22Image+Viewer%22%3A%224.5.2%22%2C%22Data+Pruner%22%3A%224.5.2%22%2C%22Database+Writer%22%3A%224.5.2%22%2C%22TCP+Sender%22%3A%224.5.2%22%2C%22JavaScript+Filter+Rule%22%3A%224.5.2%22%2C%22Channel+Reader%22%3A%224.5.2%22%2C%22Mapper+Transformer+Step%22%3A%224.5.2%22%2C%22JMS+Listener%22%3A%224.5.2%22%2C%22Message+Builder+Transformer+Step%22%3A%224.5.2%22%2C%22DICOM+Sender%22%3A%224.5.2%22%2C%22External+Script+Transformer+Step%22%3A%224.5.2%22%2C%22External+Script+Filter+Step%22%3A%224.5.2%22%2C%22File+Reader%22%3A%224.5.2%22%2C%22HTTP+Listener%22%3A%224.5.2%22%2C%22DICOM+Listener%22%3A%224.5.2%22%2C%22TCP+Connector+Service+Plugin%22%3A%224.5.2%22%2C%22JavaScript+Reader%22%3A%224.5.2%22%2C%22JSON+Data+Type%22%3A%224.5.2%22%2C%22JavaScript+Writer%22%3A%224.5.2%22%2C%22Web+Service+Sender%22%3A%224.5.2%22%2C%22Text+Viewer%22%3A%224.5.2%22%2C%22XML+Data+Type%22%3A%224.5.2%22%2C%22HL7v2+Data+Type%22%3A%224.5.2%22%2C%22Raw+Data+Type%22%3A%224.5.2%22%2C%22DICOM+Data+Type%22%3A%224.5.2%22%2C%22Destination+Set+Filter+Step%22%3A%224.5.2%22%2C%22Document+Writer%22%3A%224.5.2%22%2C%22Web+Service+Listener%22%3A%224.5.2%22%2C%22HL7v3+Data+Type%22%3A%224.5.2%22%2C%22JavaScript+Transformer+Step%22%3A%224.5.2%22%2C%22Dashboard+Connector+Status+Monitor%22%3A%224.5.2%22%2C%22DICOM+Viewer%22%3A%224.5.2%22%2C%22Directory+Resource+Plugin%22%3A%224.5.2%22%2C%22SMTP+Sender%22%3A%224.5.2%22%2C%22NCPDP+Data+Type%22%3A%224.5.2%22%2C%22Transmission+Mode+-+MLLP%22%3A%224.5.2%22%2C%22Rule+Builder+Filter+Rule%22%3A%224.5.2%22%2C%22Channel+Writer%22%3A%224.5.2%22%2C%22TCP+Listener%22%3A%224.5.2%22%2C%22Database+Reader%22%3A%224.5.2%22%2C%22PDF+Viewer%22%3A%224.5.2%22%2C%22EDI+Data+Type%22%3A%224.5.2%22%2C%22Global+Map+Viewer%22%3A%224.5.2%22%2C%22XSLT+Transformer+Step%22%3A%224.5.2%22%2C%22JMS+Sender%22%3A%224.5.2%22%7D

Response:

HTTP/1.1 200
Date: Sun, 01 Jun 2025 21:08:19 GMT
Content-Length: 10
Connection: close
Content-Type: text/plain; charset=UTF-8

[144,141]

NotificationServerlet getNotifications

Request:

POST https://connect.mirthcorp.com/NotificationServlet HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
User-Agent: Apache-HttpClient/4.5.13 (Java/21.0.7)
Host: connect.mirthcorp.com
Content-Length: 2112

op=getNotifications&serverId=49885e13-4f2e-41a6-b66a-8e65f5492d9a&version=4.4.0&extensionVersions=%7B%22Server+Log%22%3A%224.5.2%22%2C%22File+Writer%22%3A%224.5.2%22%2C%22Delimited+Data+Type%22%3A%224.5.2%22%2C%22HTTP+Sender%22%3A%224.5.2%22%2C%22HTTP+Authentication+Settings%22%3A%224.5.2%22%2C%22Image+Viewer%22%3A%224.5.2%22%2C%22Data+Pruner%22%3A%224.5.2%22%2C%22Database+Writer%22%3A%224.5.2%22%2C%22TCP+Sender%22%3A%224.5.2%22%2C%22JavaScript+Filter+Rule%22%3A%224.5.2%22%2C%22Channel+Reader%22%3A%224.5.2%22%2C%22Mapper+Transformer+Step%22%3A%224.5.2%22%2C%22JMS+Listener%22%3A%224.5.2%22%2C%22Message+Builder+Transformer+Step%22%3A%224.5.2%22%2C%22DICOM+Sender%22%3A%224.5.2%22%2C%22External+Script+Transformer+Step%22%3A%224.5.2%22%2C%22External+Script+Filter+Step%22%3A%224.5.2%22%2C%22File+Reader%22%3A%224.5.2%22%2C%22HTTP+Listener%22%3A%224.5.2%22%2C%22DICOM+Listener%22%3A%224.5.2%22%2C%22TCP+Connector+Service+Plugin%22%3A%224.5.2%22%2C%22JavaScript+Reader%22%3A%224.5.2%22%2C%22JSON+Data+Type%22%3A%224.5.2%22%2C%22JavaScript+Writer%22%3A%224.5.2%22%2C%22Web+Service+Sender%22%3A%224.5.2%22%2C%22Text+Viewer%22%3A%224.5.2%22%2C%22XML+Data+Type%22%3A%224.5.2%22%2C%22HL7v2+Data+Type%22%3A%224.5.2%22%2C%22Raw+Data+Type%22%3A%224.5.2%22%2C%22DICOM+Data+Type%22%3A%224.5.2%22%2C%22Destination+Set+Filter+Step%22%3A%224.5.2%22%2C%22Document+Writer%22%3A%224.5.2%22%2C%22Web+Service+Listener%22%3A%224.5.2%22%2C%22HL7v3+Data+Type%22%3A%224.5.2%22%2C%22JavaScript+Transformer+Step%22%3A%224.5.2%22%2C%22Dashboard+Connector+Status+Monitor%22%3A%224.5.2%22%2C%22DICOM+Viewer%22%3A%224.5.2%22%2C%22Directory+Resource+Plugin%22%3A%224.5.2%22%2C%22SMTP+Sender%22%3A%224.5.2%22%2C%22NCPDP+Data+Type%22%3A%224.5.2%22%2C%22Transmission+Mode+-+MLLP%22%3A%224.5.2%22%2C%22Rule+Builder+Filter+Rule%22%3A%224.5.2%22%2C%22Channel+Writer%22%3A%224.5.2%22%2C%22TCP+Listener%22%3A%224.5.2%22%2C%22Database+Reader%22%3A%224.5.2%22%2C%22PDF+Viewer%22%3A%224.5.2%22%2C%22EDI+Data+Type%22%3A%224.5.2%22%2C%22Global+Map+Viewer%22%3A%224.5.2%22%2C%22XSLT+Transformer+Step%22%3A%224.5.2%22%2C%22JMS+Sender%22%3A%224.5.2%22%7D

Response:

HTTP/1.1 200
Date: Sun, 01 Jun 2025 21:15:26 GMT
Connection: close
Content-Type: text/plain; charset=UTF-8
Content-Length: 9575

[{"id":130,"name":"Title","content":"<html></html>","date":"July 20, 2023"}]

tonygermano pushed a commit to kelaompachai/engine that referenced this issue Jun 3, 2025
tonygermano pushed a commit to kelaompachai/engine that referenced this issue Jun 3, 2025
tonygermano added a commit to kelaompachai/engine that referenced this issue Jun 3, 2025
- Added library java-semver-0.10.2.jar for version parsing and comparison.
- Refactored to use streams and added tests
- No longer calls a self-hosted service, so active extensions are no
  longer provided as part of the request.

Co-authored-by: Richard Ogin <rogin@users.noreply.github.com>
Co-authored-by: Jon Bartels <jon.bartels@teladochealth.com>
Co-authored-by: Tony Germano <tony@germano.name>
Signed-off-by: kelaompachai <141376761+kelaompachai@users.noreply.github.com>
Signed-off-by: Richard Ogin <rogin@users.noreply.github.com>
Signed-off-by: Tony Germano <tony@germano.name>
Issue: OpenIntegrationEngine#24
@tonygermano tonygermano linked a pull request Jun 3, 2025 that will close this issue
kayyagari pushed a commit that referenced this issue Jun 3, 2025
- Added library java-semver-0.10.2.jar for version parsing and comparison.
- Refactored to use streams and added tests
- No longer calls a self-hosted service, so active extensions are no
  longer provided as part of the request.

Co-authored-by: Richard Ogin <rogin@users.noreply.github.com>
Co-authored-by: Jon Bartels <jon.bartels@teladochealth.com>
Co-authored-by: Tony Germano <tony@germano.name>
Signed-off-by: kelaompachai <141376761+kelaompachai@users.noreply.github.com>
Signed-off-by: Richard Ogin <rogin@users.noreply.github.com>
Signed-off-by: Tony Germano <tony@germano.name>
Issue: #24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants