forked from cerc-io/snowballtools-base
List deployer LRNs in deployment configuration step (#11)
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) - Fix request Id being set to `null` while fetching build logs - Populate deployer LRNs dropdown with LRNs fetched from registry in configure delpoyment step     Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Co-authored-by: Neeraj <neeraj.rtly@gmail.com> Reviewed-on: cerc-io/snowballtools-base#11
This commit is contained in:
@@ -424,4 +424,12 @@ export class GQLClient {
|
||||
|
||||
return data.getAuctionData;
|
||||
}
|
||||
|
||||
async getDeployers(): Promise<types.GetDeployersResponse> {
|
||||
const { data } = await this.client.query({
|
||||
query: queries.getDeployers,
|
||||
});
|
||||
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@ query ($projectId: String!) {
|
||||
prodBranch
|
||||
auctionId
|
||||
deployers {
|
||||
deployerApiUrl
|
||||
deployerId
|
||||
deployerLrn
|
||||
deployerId
|
||||
deployerApiUrl
|
||||
}
|
||||
fundsReleased
|
||||
framework
|
||||
@@ -81,9 +81,9 @@ query ($organizationSlug: String!) {
|
||||
framework
|
||||
auctionId
|
||||
deployers {
|
||||
deployerApiUrl
|
||||
deployerId
|
||||
deployerLrn
|
||||
deployerId
|
||||
deployerApiUrl
|
||||
}
|
||||
fundsReleased
|
||||
prodBranch
|
||||
@@ -145,9 +145,9 @@ query ($projectId: String!) {
|
||||
commitMessage
|
||||
url
|
||||
deployer {
|
||||
deployerLrn
|
||||
deployerId
|
||||
deployerLrn,
|
||||
deployerApiUrl,
|
||||
deployerApiUrl
|
||||
}
|
||||
environment
|
||||
isCurrent
|
||||
@@ -208,9 +208,9 @@ query ($searchText: String!) {
|
||||
framework
|
||||
auctionId
|
||||
deployers {
|
||||
deployerApiUrl
|
||||
deployerId
|
||||
deployerLrn
|
||||
deployerId
|
||||
deployerApiUrl
|
||||
}
|
||||
fundsReleased
|
||||
prodBranch
|
||||
@@ -307,3 +307,13 @@ query ($auctionId: String!) {
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const getDeployers = gql`
|
||||
query {
|
||||
deployers {
|
||||
deployerLrn
|
||||
deployerId
|
||||
deployerApiUrl
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -117,9 +117,9 @@ export type Deployment = {
|
||||
};
|
||||
|
||||
export type Deployer = {
|
||||
deployerApiUrl: string;
|
||||
deployerId: string;
|
||||
deployerLrn: string;
|
||||
deployerId: string;
|
||||
deployerApiUrl: string;
|
||||
}
|
||||
|
||||
export type OrganizationMember = {
|
||||
@@ -233,6 +233,10 @@ export type GetDomainsResponse = {
|
||||
domains: Domain[];
|
||||
};
|
||||
|
||||
export type GetDeployersResponse = {
|
||||
deployers: Deployer[];
|
||||
};
|
||||
|
||||
export type SearchProjectsResponse = {
|
||||
searchProjects: Project[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user