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

Create Measurement Plug-In Client generator using One line approach #841

Merged

Conversation

Jotheeswaran-Nandagopal
Copy link
Contributor

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal commented Aug 14, 2024

What does this Pull Request accomplish?

  • Re-structured the Measurement Plugin SDK generator folder .
  • Added ni-measurement-plugin-client-generator command.
  • Implemented one-line approach (creation of a Measurement Plug-In client-module with a single-line command) for Measurement Plug-in Client generation. [Enum support is not included in this implementation, whereas other datatypes - Integer, Float, Double, String, Arrays, Path, IO Resource, Pin and Doublexydatatypes are supported ]
  • Implemented Measure API in Measurement Plug-in Client
  • Added acceptance testing for the Measurement Plug-in Client generation

Why should this Pull Request be merged?

  • Implemented Measurement Plug-in Client generation and Measure API for the users to interact with measurement in CLI

What testing has been done?

  • Manually created Measurement Plug-in Client and tested
  • Executed existing and new automated tests

Copy link

github-actions bot commented Aug 14, 2024

Test Results

    30 files  ±0      30 suites  ±0   41m 12s ⏱️ + 4m 12s
   648 tests ±0     648 ✅ ±0      0 💤 ±0  0 ❌ ±0 
16 060 runs  ±0  14 990 ✅ ±0  1 070 💤 ±0  0 ❌ ±0 

Results for commit dfdf3f8. ± Comparison against base commit 55a4ad7.

♻️ This comment has been updated with latest results.

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal force-pushed the users/jothees/measurement-client-one-line-approach branch from 0c431e5 to 7e70e38 Compare August 14, 2024 12:59
@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal changed the title Create Measurement Plugin Client generator using One line approach Create Measurement Plug-In Client generator using One line approach Aug 14, 2024
Copy link
Contributor

@jayaseelan-james jayaseelan-james left a comment

Choose a reason for hiding this comment

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

I've only made it to the _support.py file. I'll look into the remaining files on Friday.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

FYI, I'm still not done with my initial review of this PR.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

I still need to review the tests.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

I think I'm done with the 1st round of review.

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal merged commit 84af8a7 into main Aug 29, 2024
15 checks passed
@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal deleted the users/jothees/measurement-client-one-line-approach branch September 13, 2024 09:07
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