Skip to content

Commit

Permalink
add code of testing template
Browse files Browse the repository at this point in the history
  • Loading branch information
monxxi committed Jun 15, 2020
1 parent d7774c5 commit 08bc33b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 300 deletions.
2 changes: 1 addition & 1 deletion generators/app/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function writeFiles(generator) {
}
};

if (generator.props.cleanup) {
if (isCleanup(generator)) {
shelljs.rm('-rf', `${generator.javaDir}service/kafka/`, `${generator.javaDir}web/rest/kafka/`);
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,21 @@ jhipster:

kafka:
bootstrap.servers: ${KAFKA_BOOTSTRAP_SERVERS:localhost:9092}
producer:
foo:
enabled: false
'[key.serializer]': org.apache.kafka.common.serialization.StringSerializer
'[value.serializer]': com.mycompany.myapp.service.kafka.serde.FooSerializer
polling.timeout: 10000
consumer:
foo:
name: queuing.message_broker_with_entities.foo
enabled: false
'[key.deserializer]': org.apache.kafka.common.serialization.StringDeserializer
'[value.deserializer]': com.mycompany.myapp.service.kafka.serde.FooDeserializer
'[group.id]': message-broker-with-entities
'[auto.offset.reset]': earliest
producer:
foo:
name: queuing.message_broker_with_entities.foo
enabled: false
'[key.serializer]': org.apache.kafka.common.serialization.StringSerializer
'[value.serializer]': com.mycompany.myapp.service.kafka.serde.FooSerializer
topic:
foo: queuing.message_broker_with_entities.foo
# ===================================================================
# Application specific properties
# Add your own application properties here, see the ApplicationProperties class
Expand Down

0 comments on commit 08bc33b

Please sign in to comment.