Skip to content

Support RPC v2/v3 cloud activation and deactivation - #3509

Draft
Rashika-Rajaraman wants to merge 8 commits into
mainfrom
CM-294
Draft

Support RPC v2/v3 cloud activation and deactivation#3509
Rashika-Rajaraman wants to merge 8 commits into
mainfrom
CM-294

Conversation

@Rashika-Rajaraman

Copy link
Copy Markdown

PR Checklist

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

The following changes are made in this PR:

  • Support cloud activation and deactivation for RPC v2/v3
  • Generate activation and deactivation command candidates for all supported versions and TLS modes.
  • Generate v2-style (-json, -tls-tunnel) and v3-style (--json, --tls-tunnel) flags.
  • For AMT ≤18, Support both TLS-tunnel and no-tunnel activation/deactivation paths.
  • For AMT >18, Support for TLS-tunnel variant only.
  • Added optional RPC_BINARY environment variable for local test execution.
  • Detect RPC version via RPC_VERSION environment variable.
  • Improved amtinfo parsing when RPC emits log records before the AMT JSON payload.

Anything the reviewer should know when reviewing this PR?

If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )

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.

1 participant