-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1567 from memphisdev/RND-381-rbac-for-client-type…
…-users RND-381-rbac-for-client-type-users
- Loading branch information
Showing
10 changed files
with
835 additions
and
299 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
export const memphis = { | ||
Sink: [ | ||
{ | ||
name: 'name', | ||
display: 'Connector name', | ||
type: 'string', | ||
required: true, | ||
description: 'Note that the sink connector name is also consumer group name' | ||
}, | ||
{ | ||
name: 'route_strategy', | ||
display: 'Route Strategy', | ||
type: 'select', | ||
options: ['Station Name', 'Header'], | ||
required: true, | ||
children: true, | ||
'Station Name': [ | ||
{ | ||
name: 'station_name', | ||
display: 'Station Name', | ||
type: 'string', | ||
required: true, | ||
description: 'The name of the station to route messages to (all messages will be routed to the station)' | ||
} | ||
], | ||
Header: [ | ||
{ | ||
name: 'header_name', | ||
display: 'Header Name', | ||
type: 'string', | ||
required: true, | ||
description: 'The name of the header in Memphis message, to take the station name from. for multiple stations use comma separated values ex. station1,station2' | ||
} | ||
] | ||
}, | ||
{ | ||
name: 'dest_station_config', | ||
display: 'Destination Station Config', | ||
type: 'select', | ||
options: ['Default Station', 'Custom Station'], | ||
required: true, | ||
description: 'if a station dose not exist, it will be created with the chosen configuration - Default / Custom', | ||
children: true, | ||
'Default Station': [], | ||
'Custom Station': [ | ||
{ | ||
name: 'partition_number', | ||
display: 'Partition Number', | ||
type: 'string', | ||
required: true, | ||
description: 'The number of partitions in the station' | ||
}, | ||
{ | ||
name : 'retention_policy', | ||
display : 'Retention Policy', | ||
type : 'select', | ||
options : ['Time', 'Size', 'Messages', 'Ack'], | ||
required : true, | ||
description : 'choose retention policy', | ||
children : true, | ||
Time : [ | ||
{ | ||
name: 'retention_value', | ||
display: 'Value', | ||
type: 'string', | ||
required: true, | ||
description: 'retention time value in seconds', | ||
placeholder: 0 | ||
} | ||
], | ||
Size : [ | ||
{ | ||
name: 'retention_value', | ||
display: 'Value', | ||
type: 'string', | ||
required: true, | ||
description: 'retentnion size in bytes', | ||
placeholder: 0 | ||
} | ||
], | ||
Messages : [ | ||
{ | ||
name: 'retention_value', | ||
display: 'Value', | ||
type: 'string', | ||
required: true, | ||
description: 'retention messages number', | ||
placeholder: 0 | ||
} | ||
], | ||
Ack: [] | ||
} | ||
] | ||
} | ||
] | ||
}; |
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
Oops, something went wrong.