Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
okeanos-LoD
Commits
23b579d1
Commit
23b579d1
authored
Apr 08, 2016
by
Georgios Ouzounis
Browse files
Change kafka topics conflict message
parent
b7db7e91
Changes
2
Hide whitespace changes
Inline
Side-by-side
webapp/frontend/app/controllers/create-lambda-instance.js
View file @
23b579d1
...
...
@@ -48,7 +48,7 @@ export default Ember.Controller.extend({
kafkaOutputTopics
:
[
"
batch-output
"
,
"
stream-output
"
],
conflictingKafkaTopics
:
false
,
kafkaTopicsValidityReported
:
false
,
kafkaTopicsConflictMessage
:
"
Using
the same name for input and output topic
will result only in input topic creation
!
"
,
kafkaTopicsConflictMessage
:
"
You cannot use
the same name for
both an
input and
an
output topic!
"
,
actions
:
{
saveLambdaInstance
:
function
(
newLambdaInstance
){
...
...
webapp/frontend/app/templates/create-lambda-instance.hbs
View file @
23b579d1
...
...
@@ -97,13 +97,13 @@
<style>
.tokenfield.form-control
{
height
:
auto
;
}
</style>
<div
class=
"row"
>
<div
class=
"form-group col-sm-6
{{
if
conflictingKafkaTopics
'has-
warning
'
}}
"
>
<div
class=
"form-group col-sm-6
{{
if
conflictingKafkaTopics
'has-
error
'
}}
"
>
<label
for=
"kafka_topics"
>
Apache Kafka input topics:
</label>
{{
kafka-topics
topics
=
kafkaInputTopics
id
=
"kafka-input-topics"
}}
<span
id=
"helpBlock"
class=
"help-block"
>
Names of Apache Kafka input topics
<br>
Default input topic, if no names are given: "input"
</span>
</div>
<div
class=
"form-group col-sm-6 pull-right
{{
if
conflictingKafkaTopics
'has-
warning
'
}}
"
>
<div
class=
"form-group col-sm-6 pull-right
{{
if
conflictingKafkaTopics
'has-
error
'
}}
"
>
<label
for=
"kafka_topics"
>
Apache Kafka output topics:
</label>
{{
kafka-topics
topics
=
kafkaOutputTopics
id
=
"kafka-output-topics"
}}
<span
id=
"helpBlock"
class=
"help-block"
>
Names of Apache Kafka output topics
<br>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment