Skip to content
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

createOptions split into createOptions01, 02, 03... if too long #580

Open
yahanda opened this issue May 20, 2021 · 2 comments
Open

createOptions split into createOptions01, 02, 03... if too long #580

yahanda opened this issue May 20, 2021 · 2 comments

Comments

@yahanda
Copy link
Member

yahanda commented May 20, 2021

When using a deployment manifest file generated by VS code extension for IoT Edge, the following error occurred in IoT Central.
https://docs.microsoft.com/en-us/answers/questions/396477/iot-central-not-upload-iot-edge-deployment-manifes.html

This is because the deployment manifest includes createOption01 when generating in VS code.

In VS Code, when right clicking a deployment.template.json file with a long createOptions and selecting Generate IoT Edge Deployment Manifest, this will create a deployment manifest file containing CreateOptions01. I have attached the samples.
deployment.template.json.txt
deployment.arm64v8.json.txt

IoT Central cannot accept the JSON definition that is split into createOptions and createOptions01.
Is it possible to change the specifications of the extension so that they are not split even when the createOptions string is too long?

Thanks,
Yasuhiro

@marianan
Copy link
Collaborator

thank you @yahanda for reporting this issue, we have added it to our backlog for investigation.

@iconics-pavels
Copy link

Hi, we encountered the same issue recently. I would like to know if You are going to change the client implementation, so the sections will be merged or if we should handle it in our code. If you are going to change, what's the time frame? Btw, may it happen also for some other parts of the device twin? Is it documented somewhere? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants