generator-nokode 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,9 @@ import org.springframework.context.annotation.Configuration;
5
5
  import com.fasterxml.jackson.databind.ObjectMapper;
6
6
  import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
7
7
  import com.sixsprints.core.config.ParentBeans;
8
+ import org.springframework.context.MessageSource;
9
+ import com.sixsprints.core.utils.MessageSourceHolder;
10
+ import org.springframework.context.annotation.Bean;
8
11
 
9
12
  import <%= packageName %>.config.constants.<%= appNameTitleCase %>Constants;
10
13
  import <%= packageName %>.config.converters.ModulePermissionDefinitionModule;
@@ -30,4 +33,9 @@ public class <%= appNameTitleCase %>Beans extends ParentBeans {
30
33
  return mapper;
31
34
  }
32
35
 
36
+ @Bean
37
+ MessageSourceHolder messageSourceHolder(MessageSource messageSource) {
38
+ return new MessageSourceHolder(messageSource);
39
+ }
40
+
33
41
  }
@@ -3,16 +3,16 @@ spring.application.name=<%= appName %>
3
3
  server.port=8181
4
4
 
5
5
  ## Mongo
6
- spring.data.mongodb.uri=spring.data.mongodb.uri=mongodb+srv://user:shgw2YlzJOAKA6sd@kodly-test-cluster.q7ibmgi.mongodb.net/?appName=kodly-test-cluster
6
+ spring.data.mongodb.uri=mongodb+srv://user:shgw2YlzJOAKA6sd@kodly-test-cluster.q7ibmgi.mongodb.net/?appName=kodly-test-cluster
7
7
  spring.data.mongodb.database=<%= packageNameHyphen %>-<%= appNameSlug %>
8
8
  logging.level.<%= packageName %>=DEBUG
9
9
 
10
10
  ## Email
11
11
  email.from=<%= appName %>
12
- email.from.address=<%= appNameSlug %>@xxxxxxxxx.com
12
+ email.from.address=<%= appNameSlug %>@sixsprints.com
13
13
  email.hostname=email-smtp.ap-south-1.amazonaws.com
14
- email.username=xxxxxxxxxxxxxxxx
15
- email.password=xxxxxxxxxxxxxxxx
14
+ email.username=AKIAWRIQHPIGA2QL23FQ
15
+ email.password=BEmYZ+3CEd8fXYeZweelHVuTjrqwC86AerlHpRVDU+P6
16
16
  email.ssl.enabled=true
17
17
 
18
18
  ## AWS S3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nokode",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "A Yeoman generator for creating Spring Boot applications with Nokode framework",
5
5
  "main": "index.js",
6
6
  "type": "module",