0% found this document useful (0 votes)
4 views

JSON Publisher

Alfred P provided instructions to Subodh Sawrav regarding the execution of a management command to publish JSON to devices. The steps include converting a file extension, copying it to a specific directory, checking its presence, and executing the command. An updated JSON message and execution logs will indicate the count of completed and remaining devices.

Uploaded by

subodhvideo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

JSON Publisher

Alfred P provided instructions to Subodh Sawrav regarding the execution of a management command to publish JSON to devices. The steps include converting a file extension, copying it to a specific directory, checking its presence, and executing the command. An updated JSON message and execution logs will indicate the count of completed and remaining devices.

Uploaded by

subodhvideo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

02/08/2024, 22:18 Re:

 Reply all |  Delete Junk |  

Re:

Alfred P
  Reply all | 
Thu 14-09-2023, 09:51
Subodh Sawrav; Anusha K J 

Inbox

Flag for follow up. Start by 05 May 2024. Due by 05 May 2024.

publish_json_to_devices.…
3 KB

Show all 1 attachments (3 KB) Download

Thanks & Regards,


Alfred P
Wi-Fi | Communications BU
HFCL Limited
Mobile: +91 - 9487665622
www.hfcl.com | www.io.hfcl.com

From: Alfred P
Sent: Thursday, September 14, 2023 7:49:57 AM
To: Subodh Sawrav
Subject: Re:

file is updated, while execution logs will be printed telling Completed devices count and
Remaining devices count

Thanks & Regards,


Alfred P
Wi-Fi | Communications BU
HFCL Limited
Mobile: +91 - 9487665622
www.hfcl.com | www.io.hfcl.com

From: Alfred P
Sent: Wednesday, September 13, 2023 10:29:00 PM
To: Subodh Sawrav
Subject: Re:

Updated json message

https://mail.hfcl.com/owa/projection.aspx 1/2
02/08/2024, 22:18 Re:

 |  |
Thanks & Regards,
Alfred P
Wi-Fi | Communications BU
HFCL Limited
Mobile: +91 - 9487665622
www.hfcl.com | www.io.hfcl.com

From: Alfred P
Sent: Wednesday, September 13, 2023 9:50:38 PM
To: Subodh Sawrav
Subject:

Step 1: Convert file extension from .txt to .py

Step 2: Copy the file inside api pod to below directory


kubectl cp publish_json_to_devices.py api-55dc4cffb-
5nbt5:/hfci_cnms_backend/devices/management/commands/

Step 3: Check whether the copied file is present

Step 4: Execute the management command python manage.py publish_json_to_devices

Thanks & Regards,


Alfred P
Wi-Fi | Communications BU
HFCL Limited
Mobile: +91 - 9487665622
www.hfcl.com | www.io.hfcl.com

https://mail.hfcl.com/owa/projection.aspx 2/2

You might also like