Skip to content

Development registrar client #4

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

Merged
merged 25 commits into from
Mar 17, 2025
Merged

Conversation

SalmaElsoly
Copy link
Contributor

Description

implemented client for registrar :

  • farm(create/list/get/update)
  • account(create/get by public key / get by twin id / update)
  • node(register/list/get/update/ report uptime)
  • zos(get version)

Setup monorepo

used yarn with lerna + prettier + eslint

Related issues

#2 (comment)
#1 (comment)

@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 0f24159 to a546fa6 Compare February 18, 2025 13:34
@SalmaElsoly SalmaElsoly requested a review from xmonader February 18, 2025 13:35
Copy link

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

Great work ya Salma 👏

I have some suggestions :

  • I think we are going to use the module types in other places in the project rather than the module itself; IMO it's better to have an outer directory for types
  • we need some extra info about how to start the project what are the requirements how to build and how to run tests.

That was an overview of the code will test the functionality and comment back with the results.

@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from affd109 to 605877a Compare February 27, 2025 09:57
@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 605877a to 232d833 Compare February 27, 2025 09:57
@SalmaElsoly
Copy link
Contributor Author

Great work ya Salma 👏

I have some suggestions :

  • I think we are going to use the module types in other places in the project rather than the module itself; IMO it's better to have an outer directory for types
  • we need some extra info about how to start the project what are the requirements how to build and how to run tests.

That was an overview of the code will test the functionality and comment back with the results.

Thanks! I've addressed almost all the suggestions and comments.

@SalmaElsoly SalmaElsoly requested a review from 0oM4R February 27, 2025 16:21
@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 1acfd65 to 0d30268 Compare March 4, 2025 08:44
@SalmaElsoly SalmaElsoly requested a review from 0oM4R March 4, 2025 08:50
@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 960dd1c to 1b6ab88 Compare March 4, 2025 14:47
Copy link

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

The test keeps failing with me against https://registrar.dev4.grid.tf/v1
image

@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 8088dcc to 8ad4c7b Compare March 10, 2025 11:16
@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 8ad4c7b to 6b287e9 Compare March 10, 2025 11:39
@SalmaElsoly SalmaElsoly requested a review from 0oM4R March 10, 2025 13:57
Copy link

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

Some tiny enhncments,
also please update readmes to include the new added staller address

@SalmaElsoly SalmaElsoly requested a review from 0oM4R March 11, 2025 10:20
@SalmaElsoly SalmaElsoly marked this pull request as draft March 11, 2025 11:17
@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from e01e519 to 2674243 Compare March 11, 2025 12:13
@SalmaElsoly SalmaElsoly marked this pull request as ready for review March 12, 2025 10:52
Copy link

@0oM4R 0oM4R left a comment

Choose a reason for hiding this comment

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

thank you Salma

@SalmaElsoly SalmaElsoly force-pushed the development_registrar_client branch from 2674243 to 0bab692 Compare March 17, 2025 08:37
@SalmaElsoly SalmaElsoly merged commit 84ee6df into development Mar 17, 2025
@SalmaElsoly SalmaElsoly deleted the development_registrar_client branch March 17, 2025 08:41
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