Skip to content

Created UNR folder and proto definition. - #109

Merged
bstover74 merged 12 commits into
mainfrom
108-add-unr-definition
Aug 14, 2026
Merged

bstover74 merged 12 commits into
mainfrom
108-add-unr-definition

Conversation

@bstover74

Copy link
Copy Markdown
Contributor

Created UNR folder and proto definition.

@bstover74 bstover74 self-assigned this Aug 14, 2026
@bstover74 bstover74 linked an issue Aug 14, 2026 that may be closed by this pull request
@bstover74
bstover74 requested a review from ukandula August 14, 2026 15:14
@bstover74

Copy link
Copy Markdown
Contributor Author

A little rusty - fixed a few var naming misses - my bad.

@bstover74

Copy link
Copy Markdown
Contributor Author

Fixing validation errors now.

@jacob-curley-fnal jacob-curley-fnal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's a good start! Here are some things I'd suggest taking a second look at

Comment thread proto/controls/service/grpc-unr/unr.proto Outdated
Comment thread proto/controls/service/grpc-unr/unr.proto Outdated
Comment thread proto/controls/service/grpc-unr/unr.proto Outdated
@jacob-curley-fnal

Copy link
Copy Markdown
Contributor

Ah, one other thing! The create and update rpcs for both files should take the full definition as input, otherwise we won't know what to put in the database lol

@bstover74

bstover74 commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Also delete needs a boolean response.

Comment thread proto/controls/service/grpc-unr/v1/base-info.proto

@jacob-curley-fnal jacob-curley-fnal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@bstover74

Copy link
Copy Markdown
Contributor Author

I need one more approval :)

@bstover74
bstover74 requested a review from mguzman04 August 14, 2026 18:10
@bstover74
bstover74 merged commit 1928d09 into main Aug 14, 2026
1 check passed
@bstover74
bstover74 deleted the 108-add-unr-definition branch August 14, 2026 19:19
Comment on lines +18 to +25
message RelationshipInfo {
string parent_id = 1;
repeated string child_ids = 2;
}

message RelationshipResponse {
repeated RelationshipInfo relationship_info = 1;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

FYI, looks like the double repeated snuck back in here after a refactor @bstover74

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.

add unr definition

4 participants