Skip to content

Conversation

@gsanchietti
Copy link
Member

@gsanchietti gsanchietti commented Feb 10, 2026

The new my.nethesis.it portal should start receiving data for enterprise subscription: this a temporary change that will help the migration to the new platform

Implements: #1512
Requires: NethServer/python3-nethsec#113

@gsanchietti gsanchietti self-assigned this Feb 10, 2026
@gsanchietti gsanchietti marked this pull request as ready for review February 10, 2026 13:50
@gsanchietti gsanchietti requested a review from Copilot February 11, 2026 10:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds temporary “migration proxy” POSTs so enterprise systems also send heartbeat and inventory in the new phonehome format to my.nethesis.it/proxy/*, supporting the enterprise portal migration workflow.

Changes:

  • Send an additional enterprise-only heartbeat POST to https://my.nethesis.it/proxy/heartbeat.
  • Send an additional enterprise-only inventory POST (phonehome JSON) to https://my.nethesis.it/proxy/inventory.
  • Extend the phonehome inventory payload with extra inventory.info_* facts.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
packages/ns-plug/files/send-heartbeat Adds enterprise-only proxy heartbeat POST after existing heartbeat send.
packages/ns-phonehome/files/send-phonehome Adds enterprise-only proxy inventory POST using basic auth after existing phonehome send.
packages/ns-phonehome/files/phonehome Adds inventory.info_* data into the generated facts payload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI commented Feb 11, 2026

@gsanchietti I've opened a new pull request, #1516, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI commented Feb 11, 2026

@gsanchietti I've opened a new pull request, #1517, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI commented Feb 11, 2026

@gsanchietti I've opened a new pull request, #1518, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gsanchietti gsanchietti force-pushed the my_migration branch 3 times, most recently from 9240363 to db77a86 Compare February 11, 2026 14:05
The new my.nethesis.it portal should start receiving
data for enterprise subscription: this a temporary
change that will help the migration to th new platform

Add also new info to phonehome to mimic inventory of
NethServer 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants