<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
- Send
integrationChannelId
(eg. Backend channel, Frontend Channel) in Appointment Check-In datatable response. - Create client-integration-connector module. (Middleware) 2.1-> because, if some changes needs to be reflected in bheri integrated apis .. only reflect change in bheri-integraiton-connector and not the entire application.
- For,
integrationChannelId
of Backend Channel for a provided 'client_id & feature_code', call it's corresponding integration module's service. 3.1 -> Perhaps a switch case. - i.e., Call check-in service of bheri hospital
- Create a
QueryCreator
class inquery
package of client-integratoin-connector. - Create a query to construct a requestBody as expected by Client's API and set the values in
ClientCheckInRequestDTO
. 6.1 -> Also, addhospitalNumber
in the REQUEST DTO.
This file contains hidden or 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
package com.maharshi.practice; | |
import lombok.extern.slf4j.Slf4j; | |
import org.springframework.boot.ApplicationRunner; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.context.annotation.Bean; | |
import java.util.Scanner; |
This file contains hidden or 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
package com.hawa; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
/** | |
* Define the n-upcount of an array to be the number of times the partial sum goes from less | |
* than or equal to 'n' to greater than 'n' during the calculation of the sum of the elements of the array. | |
*/ | |
public class NUpCountProblem { |
This file contains hidden or 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
package com.hawa.practice; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
public class IsCentered15 { | |
public static void main(String[] args) { | |
int[] arrayOfNumbers = {3, 4, 2, 10, 4, 1, 6, 9, 1}; | |
// int [] arrayOfNumbers = {1, 1, 15, -1, -1}; | |
// int [] arrayOfNumbers = {5, 5, 5}; |
This file contains hidden or 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
package com.hawa.practice; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
public class NUnique { | |
public static void main(String[] args) { | |
int[] arrayOfNumbers = {2, 1, 3, 4}; | |
int nUniqueNumber = 5; |
This file contains hidden or 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
package com.hawa.practice; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
public class IsSquare { | |
public static void main(String[] args) { | |
int number = 0; | |
log.info("Checking if {} has a square. Result: {}", number, isSquare(number)); | |
} |
This file contains hidden or 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
package com.hawa.practice; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
public class MinMaxDisjoint { | |
public static void main(String[] args) { | |
// int[] arrayOfNumbers = {5, 4, 3, 2, 1}; | |
int[] arrayOfNumbers = {18, -1, 3, 4, 0}; |
This file contains hidden or 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
package com.hawa.practice; | |
import lombok.extern.slf4j.Slf4j; | |
@Slf4j | |
public class VanillaArray { | |
public static void main(String[] args) { | |
// int[] arrayOfNumbers = {1}; | |
// int[] arrayOfNumbers = {11, 22, 13, 34, 125}; |