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

Jonmv/assume azure services #2634

Merged
merged 12 commits into from
Jun 5, 2024
132 changes: 132 additions & 0 deletions clients/go/zms/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions clients/go/zms/zms_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions clients/go/zts/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions clients/go/zts/zts_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions core/zms/src/main/java/com/yahoo/athenz/zms/Domain.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ public class Domain {
public String azureSubscription;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureTenant;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureClient;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProject;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
Expand Down Expand Up @@ -226,6 +232,20 @@ public Domain setAzureSubscription(String azureSubscription) {
public String getAzureSubscription() {
return azureSubscription;
}
public Domain setAzureTenant(String azureTenant) {
this.azureTenant = azureTenant;
return this;
}
public String getAzureTenant() {
return azureTenant;
}
public Domain setAzureClient(String azureClient) {
this.azureClient = azureClient;
return this;
}
public String getAzureClient() {
return azureClient;
}
public Domain setGcpProject(String gcpProject) {
this.gcpProject = gcpProject;
return this;
Expand Down Expand Up @@ -376,6 +396,12 @@ public boolean equals(Object another) {
if (azureSubscription == null ? a.azureSubscription != null : !azureSubscription.equals(a.azureSubscription)) {
return false;
}
if (azureTenant == null ? a.azureTenant != null : !azureTenant.equals(a.azureTenant)) {
return false;
}
if (azureClient == null ? a.azureClient != null : !azureClient.equals(a.azureClient)) {
return false;
}
if (gcpProject == null ? a.gcpProject != null : !gcpProject.equals(a.gcpProject)) {
return false;
}
Expand Down
26 changes: 26 additions & 0 deletions core/zms/src/main/java/com/yahoo/athenz/zms/DomainData.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ public class DomainData {
public String azureSubscription;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureTenant;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String azureClient;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public String gcpProject;
@RdlOptional
@JsonInclude(JsonInclude.Include.NON_EMPTY)
Expand Down Expand Up @@ -222,6 +228,20 @@ public DomainData setAzureSubscription(String azureSubscription) {
public String getAzureSubscription() {
return azureSubscription;
}
public DomainData setAzureTenant(String azureTenant) {
this.azureTenant = azureTenant;
return this;
}
public String getAzureTenant() {
return azureTenant;
}
public DomainData setAzureClient(String azureClient) {
this.azureClient = azureClient;
return this;
}
public String getAzureClient() {
return azureClient;
}
public DomainData setGcpProject(String gcpProject) {
this.gcpProject = gcpProject;
return this;
Expand Down Expand Up @@ -400,6 +420,12 @@ public boolean equals(Object another) {
if (azureSubscription == null ? a.azureSubscription != null : !azureSubscription.equals(a.azureSubscription)) {
return false;
}
if (azureTenant == null ? a.azureTenant != null : !azureTenant.equals(a.azureTenant)) {
return false;
}
if (azureClient == null ? a.azureClient != null : !azureClient.equals(a.azureClient)) {
return false;
}
if (gcpProject == null ? a.gcpProject != null : !gcpProject.equals(a.gcpProject)) {
return false;
}
Expand Down
Loading