Skip to content

Commit

Permalink
Teams add health ep (demisto#36109)
Browse files Browse the repository at this point in the history
* Add health ep

* docker version bump.
release notes.
pack version bump.
  • Loading branch information
thefrieddan1 authored Sep 2, 2024
1 parent 0b698ee commit 0eed556
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2484,6 +2484,12 @@ def message_handler(integration_context: dict, request_body: dict, channel_data:
return


@APP.route('/health', methods=['GET'])
def health_check():
demisto.debug("Microsoft Teams Integration received a local health check")
return Response('Microsoft Teams long running integration server is up.', status=200, mimetype='text/plain')


@APP.route('/', methods=['POST'])
def messages() -> Response:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ configuration:
- Critical
required: false
hidden:
- marketplacev2
- marketplacev2
- display: Disable Automatic Notifications
name: auto_notifications
type: 8
Expand Down Expand Up @@ -711,7 +711,7 @@ script:
- description: Run this command if you need to rerun the authentication process.
name: microsoft-teams-auth-reset
arguments: []
dockerimage: demisto/teams:1.0.0.99724
dockerimage: demisto/teams:1.0.0.108119
longRunning: true
longRunningPort: true
script: ''
Expand Down
7 changes: 7 additions & 0 deletions Packs/MicrosoftTeams/ReleaseNotes/1_4_67.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Microsoft Teams

- Added support for health endpoint. Enables checking if the Microsoft Teams Long Running integration is operational.
- Updated the Docker image to: *demisto/teams:1.0.0.108119*.
2 changes: 1 addition & 1 deletion Packs/MicrosoftTeams/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Microsoft Teams",
"description": "Send messages and notifications to your team members.",
"support": "xsoar",
"currentVersion": "1.4.66",
"currentVersion": "1.4.67",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 0eed556

Please sign in to comment.