diff --git a/pom.xml b/pom.xml
index b627d25..3bb0537 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
jdt_apt
1.2.0.Final
1.16.18
- ${ENV_VAR}
+ local
target/classes/application.properties
src/main/environment/common_${environment}.properties
true
diff --git a/src/main/environment/common_local.properties b/src/main/environment/common_local.properties
index e59c4f5..739894e 100644
--- a/src/main/environment/common_local.properties
+++ b/src/main/environment/common_local.properties
@@ -5,17 +5,26 @@ fhir-url=/fhirapi-v1.0
tm-url=/tmapi-v1.0
##--------------------------------------------## Primary db-------------------------------------------------------------------
-spring.datasource.url=
-spring.datasource.username=
-spring.datasource.password=
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+server.port=8082
+
+spring.datasource.url=jdbc:mysql://localhost:3306/db_iemr
+spring.datasource.username=root
+spring.datasource.password=YesBank@123#
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
##--------------------------------------------## Secondary db-------------------------------------------------------------------
-secondary.datasource.username=
-secondary.datasource.password=
-secondary.datasource.url=
-secondary.datasource.driver-class-name=com.mysql.jdbc.Driver
+secondary.datasource.url=jdbc:mysql://localhost:3306/db_identity
+secondary.datasource.username=root
+secondary.datasource.password=YesBank@123#
+secondary.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
springdoc.api-docs.enabled=true
-springdoc.swagger-ui.enabled=true
\ No newline at end of file
+springdoc.swagger-ui.enabled=true
+
+spring.session.store-type=redis
+spring.redis.host=localhost
+spring.redis.password=123456
+spring.redis.port=6379
+jakarta.persistence.schema-generation.database.action=create
+spring.jpa.defer-datasource-initialization=true
\ No newline at end of file
diff --git a/src/main/java/com/iemr/flw/controller/AshaProfileController.java b/src/main/java/com/iemr/flw/controller/AshaProfileController.java
new file mode 100644
index 0000000..eb8daff
--- /dev/null
+++ b/src/main/java/com/iemr/flw/controller/AshaProfileController.java
@@ -0,0 +1,88 @@
+package com.iemr.flw.controller;
+
+import com.iemr.flw.domain.iemr.AshaWorker;
+import com.iemr.flw.domain.iemr.M_User;
+import com.iemr.flw.dto.iemr.UserServiceRoleDTO;
+import com.iemr.flw.repo.iemr.UserServiceRoleRepo;
+import com.iemr.flw.service.AshaProfileService;
+import com.iemr.flw.service.EmployeeMasterInter;
+import com.iemr.flw.service.UserService;
+import io.swagger.v3.oas.annotations.Operation;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+
+@RestController
+@RequestMapping(value = "/asha", headers = "Authorization", produces = "application/json")
+public class AshaProfileController {
+ private Logger logger = LoggerFactory.getLogger(this.getClass().getSimpleName());
+ @Autowired
+ AshaProfileService ashaProfileService;
+ private Map response = new HashMap<>();
+
+ @Autowired
+ private EmployeeMasterInter employeeMasterInter;
+ @CrossOrigin()
+ @Operation(summary = "Edit Asha Profile")
+
+
+ @RequestMapping(value = "editProfile", method = { RequestMethod.POST }, produces = {
+ "application/json" },consumes = "application/json" )
+ public ResponseEntity