Skip to content

Add ProjectId to triggerUseageLogArgs and check if set and update ProjectId #511

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

Conversation

IsakNaslundBh
Copy link
Contributor

Issues addressed by this PR

Add support for retreiving projectId from events fired. If projectId is set upon return from TriggerUseageLog, then Id is used for the current file and set to update and stored for future useage.

Test files

Changelog

Additional comments

@IsakNaslundBh IsakNaslundBh added the type:feature New capability or enhancement label Mar 20, 2025
@IsakNaslundBh IsakNaslundBh self-assigned this Mar 20, 2025
Copy link
Contributor

@michaelhoehn michaelhoehn 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 tested with multiple project and non-project files in both Excel and Rhino 7 and have found this solution functional. Happy to approve.

Copy link
Member

@adecler adecler left a comment

Choose a reason for hiding this comment

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

Approving based on code review and testing in Excel and Rhino 7

@adecler
Copy link
Member

adecler commented Mar 20, 2025

@BHoMBot check required

Copy link

bhombot-ci bot commented Mar 20, 2025

@adecler to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

There are 1 requests in the queue ahead of you.

@IsakNaslundBh
Copy link
Contributor Author

@BHoMBot check copyright-compliance
@BHoMBot check ready-to-merge

Copy link

bhombot-ci bot commented Mar 20, 2025

@IsakNaslundBh to confirm, the following actions are now queued:

  • check copyright-compliance
  • check ready-to-merge

@IsakNaslundBh
Copy link
Contributor Author

@BHoMBot check ready-to-merge

Copy link

bhombot-ci bot commented Mar 20, 2025

@IsakNaslundBh to confirm, the following actions are now queued:

  • check ready-to-merge

@IsakNaslundBh IsakNaslundBh merged commit f88dc6a into develop Mar 20, 2025
10 checks passed
@IsakNaslundBh IsakNaslundBh deleted the BuroHappold_BHoMAnalytics_Toolkit-#72-TryExtractProjectIDFromFileName branch March 20, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New capability or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants