Skip to content

Conversation

@rohilsurana
Copy link
Member

The purpose of this service is to act as a common way to expose version and build info of our services.
This will also house other common endpoints such as one to get server configurations.

@rohilsurana
Copy link
Member Author

@ravisuhag @AkarshSatija are we ok with service and package name common here ?

@ravisuhag
Copy link
Member

ravisuhag commented Sep 9, 2021

@ravisuhag @AkarshSatija are we ok with service and package name common here ?

Another one could be core?

@ravisuhag ravisuhag requested a review from kushsharma September 9, 2021 09:13
@kushsharma
Copy link
Member

LGTM 👍

I'll prefer common over core. core keyword looks a little restrictive and internal to the system and common looks like a utility package that is welcoming to all.

string commit = 2;
google.protobuf.Timestamp build_time = 3;
string lang_version = 4;
string os = 5;
Copy link
Member Author

Choose a reason for hiding this comment

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

what do we think about making some of these enums? Like OS and ARCH ?

Copy link
Member

Choose a reason for hiding this comment

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

That will be better.

Copy link
Member Author

Choose a reason for hiding this comment

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

Was checking for different languages have different ways to denote os and arch, everyone will need to maintain mappings for the same. Hence letting these be of string type.

Copy link
Member

@ravisuhag ravisuhag left a comment

Choose a reason for hiding this comment

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

LGTM

@rohilsurana rohilsurana merged commit 96716da into raystack:main Sep 9, 2021
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