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

add all available endpoints to zos environment #2415

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

Eslam-Nawara
Copy link
Contributor

Description

add all available endpoints to zos environment

Changes

add all available endpoints to zos environment

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstring

qemu/vm.sh Outdated
@@ -8,7 +8,7 @@ kernelargs=""
bridge=zos0
graphics="-nographic -nodefaults"
smp=1
Copy link
Member

Choose a reason for hiding this comment

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

why changing this file?
looks like need separate PR for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was by mistake, removed it

@Eslam-Nawara Eslam-Nawara force-pushed the add-all-available-endpoints-to-zos-env branch from dcb7b75 to ba93865 Compare September 5, 2024 07:09
@Eslam-Nawara Eslam-Nawara force-pushed the add-all-available-endpoints-to-zos-env branch from ba93865 to a900c92 Compare September 5, 2024 07:10
@Eslam-Nawara Eslam-Nawara force-pushed the add-all-available-endpoints-to-zos-env branch 2 times, most recently from 7d49b65 to 2664e82 Compare September 8, 2024 07:39
@Eslam-Nawara Eslam-Nawara force-pushed the add-all-available-endpoints-to-zos-env branch from 2664e82 to 88fae6c Compare September 8, 2024 08:04
pkg/environment/environment.go Show resolved Hide resolved
Str("terms and conditions link", termsAndConditionsLink).
Str("terms and conditions hash", termsAndConditionsHash).
Msg("method called")
g.mu.Lock()
defer g.mu.Unlock()
return g.sub.EnsureAccount(g.identity, activationURL, termsAndConditionsLink, termsAndConditionsHash)
for _, url := range activationURL {
if info, err = g.sub.EnsureAccount(g.identity, url, termsAndConditionsLink, termsAndConditionsHash); err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to check the error according to this threefoldtech/tfchain#986

@Eslam-Nawara
Copy link
Contributor Author

created new node to test supporting multiple activation service urls

image
image

rawdaGastan
rawdaGastan previously approved these changes Sep 9, 2024
@Eslam-Nawara Eslam-Nawara force-pushed the add-all-available-endpoints-to-zos-env branch from 1bd39d9 to 1247394 Compare September 9, 2024 13:55
@Eslam-Nawara Eslam-Nawara merged commit dbae7a5 into main Sep 9, 2024
23 of 24 checks passed
@Eslam-Nawara Eslam-Nawara deleted the add-all-available-endpoints-to-zos-env branch September 9, 2024 14:04
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