Skip to content

Commit

Permalink
Added enabled properties to version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 25, 2021
1 parent 006b7fb commit 6611a46
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export const BaseFilterDefinition = {
'@type': {
'ui:widget': 'hidden'
},
'resourceId': {
resourceId: {
'ui:widget': 'hidden'
},
filterEnabled: {
'ui:widget': 'hidden'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ export const EntityAttributesFilterEditor= {
'name',
'@type',
'resourceId',
'entityAttributesFilterTarget'
'entityAttributesFilterTarget',
'filterEnabled'
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export const NameIDFilterEditor = {
'name',
'@type',
'resourceId',
'nameIdFormatFilterTarget'
'nameIdFormatFilterTarget',
'filterEnabled'
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ export const BaseProviderDefinition = {
uiSchema: {
name: {
'ui:help': 'message.must-be-unique'
},
enabled: {
'ui:widget': 'hidden'
}
},
steps: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ export const DynamicHttpMetadataProviderEditor = {
'xmlId',
'metadataRequestURLConstructionScheme',
'requireValidMetadata',
'failFastInitialization'
'failFastInitialization',
'enabled'
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ export const FileBackedHttpMetadataProviderEditor = {
'requireValidMetadata',
'failFastInitialization',
'useDefaultPredicateRegistry',
'satisfyAnyPredicates'
'satisfyAnyPredicates',
'enabled'
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ export const FileSystemMetadataProviderEditor = {
'xmlId',
'@type',
'metadataFile',
'doInitialization'
'doInitialization',
'enabled'
],
override: {
'@type': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const LocalDynamicMetadataProviderEditor = {
'@type',
'xmlId',
'sourceDirectory',
'enabled'
],
override: {
'@type': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const SourceBase = {
type: '@MetadataProvider',
steps: [],
schema: `${API_BASE_PATH}/ui/MetadataSources`,
//schema: `/assets/schema/source/metadata-source.json`,
// schema: `/assets/schema/source/metadata-source.json`,

parser: (data) => removeNull(data, true),

Expand Down Expand Up @@ -158,6 +158,9 @@ export const SourceBase = {
}
]
},
serviceEnabled: {
'ui:widget': 'hidden'
},
contacts: {
"ui:options": {
orderable: false
Expand Down Expand Up @@ -307,7 +310,8 @@ export const SourceEditor = {
'serviceProviderName',
'entityId',
'organization',
'contacts'
'contacts',
'serviceEnabled'
]
},
{
Expand Down
3 changes: 3 additions & 0 deletions ui/src/testing/uiSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ const schema = {
],
"ui:widget": "hidden"
},
"serviceEnabled": {
"ui:widget": "hidden"
},
"contacts": {
"ui:options": {
"orderable": false
Expand Down

0 comments on commit 6611a46

Please sign in to comment.