-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change API call for app status (#673)
* [1.4.2] change API call to improve performance and decrease lag * change some info message into debug * Change logging default level to error to match step * Update default version for image
- Loading branch information
Showing
5 changed files
with
57 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
query ApplicationsStatusesQuery( | ||
$runtime: String! | ||
$name: String! | ||
$namespace: String | ||
) { | ||
application(runtime: $runtime, name: $name, namespace: $namespace) { | ||
query appstatus ($name: String!) { | ||
applicationProxyQuery( | ||
name: $name | ||
){ | ||
metadata { | ||
runtime | ||
name | ||
namespace | ||
cluster | ||
__typename | ||
} | ||
healthStatus | ||
syncStatus | ||
syncPolicy | ||
status { | ||
health { | ||
status | ||
} | ||
sync { | ||
status | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
incubating/argo-cd-sync/queries/get_app_status.orig.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
query ApplicationsStatusesQuery( | ||
$runtime: String! | ||
$name: String! | ||
$namespace: String | ||
) { | ||
application(runtime: $runtime, name: $name, namespace: $namespace) { | ||
metadata { | ||
runtime | ||
name | ||
namespace | ||
cluster | ||
__typename | ||
} | ||
healthStatus | ||
syncStatus | ||
syncPolicy | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters