Skip to content

Commit

Permalink
add proxy config for broadside
Browse files Browse the repository at this point in the history
  • Loading branch information
abe garcia committed Jun 28, 2023
1 parent da202f2 commit 30df486
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ export const ExecutionsTable = ({ executions, parameters, refreshExecutions }: I
<TableRow>
<TableCell colSpan={2}>
<ActionButtonsContainer>
<PauseResumeButton
<RetriggerButton
disabled={selectedExecutionIds.length === 0}
executionIds={selectedExecutionIds}
executions={executions.filter((e) => selectedExecutionIds.includes(e.id))}
refreshExecutions={refreshExecutions}
/>
<RetriggerButton
<PauseResumeButton
disabled={selectedExecutionIds.length === 0}
executions={executions.filter((e) => selectedExecutionIds.includes(e.id))}
executionIds={selectedExecutionIds}
refreshExecutions={refreshExecutions}
/>
</ActionButtonsContainer>
Expand Down
4 changes: 2 additions & 2 deletions spin-observatory-plugin-deck/src/services/BroadsideService.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { IExecution } from '@spinnaker/core';
import { REST } from '@spinnaker/core';
import { REST, SETTINGS } from '@spinnaker/core';
// http://broadside.cd:80
const BROADSIDE_URI = 'http://broadside.cd:80/v1/broadsides';
const BROADSIDE_URI = `${SETTINGS.gateUrl}/proxies/broadside/v1/broadsides`;

// See https://github.com/one-thd/broadside/blob/main/api/swagger.yml#L206
export const retriggerExecutions = ({ executions }: { executions: IExecution[] }) => {
Expand Down

0 comments on commit 30df486

Please sign in to comment.