Skip to content

Commit

Permalink
Merge pull request #1983 from spadgett/events-to-show
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Aug 29, 2017
2 parents 9e9fa0f + 128ec73 commit 72f8452
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 103 deletions.
45 changes: 25 additions & 20 deletions app/scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,44 +154,49 @@ angular.extend(window.OPENSHIFT_CONSTANTS, {
// TODO: Also consider an API_OBJECTS_TO_IGNORE
// map that can blacklist some, for example, if FailedCreate
// applies to many but we don't want to see all.
EVENTS_TO_SHOW: {
// CRUD events that apply to more than one api object
EVENTS_TO_SHOW: {
// General events that apply to more than one api object
FailedCreate: true,
FailedDelete: true,
FailedUpdate: true,
// Build
BuildStarted: true,
BuildCancelled: true,
BuildCompleted: true,
BuildFailed: true,
BuildCancelled: true,
BuildStarted: true,
// BuildConfig
//
BuildConfigInstantiateFailed: true,
// Deployment
DeploymentCancelled: true,
Failed: true,
ScalingReplicaSet: true,
DeploymentCancelled: true,
// DeploymentConfig
DeploymentCreated: true,
DeploymentCreationFailed: true,
// HorizontalPodAutoscaler
FailedRescale: true,
SuccessfulRescale: true,
// Pod
FailedSync: true,
BackOff: true,
FailedSync: true,
Unhealthy: true,
// Image/Pod
Pulling: true,
Pulled: true,
// SuccessfulDelete: true,
// Cron
//
// PodAutoscaler
SuccessfulRescale: true,
FailedRescale: true,
// Service
LoadBalancerUpdateFailed: true,
// PVC
VolumeDeleted: true,
FailedBinding: true,
ProvisioningFailed: true
ProvisioningFailed: true,
VolumeDeleted: true,
// Service
LoadBalancerUpdateFailed: true,
// Service Catalog
Deprovisioning: true,
ErrorAsyncOperationInProgress: true,
ErrorCallingProvision: true,
ErrorInjectingBindResult: true,
ProvisionedSuccessfully: true,
Provisioning: true,
ReferencesNonexistentInstance: true,
ReferencesNonexistentServiceClass: true,
ReferencesNonexistentServicePlan: true,
UnbindCallFailed: true
},

// href's will be prefixed with /project/{{projectName}} unless they are absolute URLs
Expand Down
Loading

0 comments on commit 72f8452

Please sign in to comment.