Skip to content

Commit

Permalink
Updated external definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 28, 2022
1 parent 48b2e42 commit 9f82c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const ExternalMetadataProviderWizard = {
...BaseProviderDefinition,
label: 'ExternalMetadataProvider',
type: 'ExternalMetadataResolver',
schema: 'assets/schema/provider/external.schema.json',
// schema: 'assets/schema/provider/external.schema.json',
schema: `${API_BASE_PATH}/ui/MetadataResolver/ExternalMetadataResolver`,
steps: [
...BaseProviderDefinition.steps,
{
Expand All @@ -22,7 +23,7 @@ export const ExternalMetadataProviderWizard = {
},
{
id: 'summary',
label: 'label.summary',
label: 'label.finished',
index: 2,
initialValues: [],
fields: [
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/new/NewProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function NewProvider() {
</div>
</div>
<div className="section-body p-4 border border-top-0 border-info">
<MetadataProviderTypeSelector type={'provider'} types={[...data, 'ExternalMetadataResolver']}>
<MetadataProviderTypeSelector type={'provider'} types={[...data]}>
{(data, onRestart) =>
<MetadataSchema type={data.type} wizard={true}>
<MetadataWizard type="provider"
Expand Down

0 comments on commit 9f82c6a

Please sign in to comment.