Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
77d8a14
Create README.md (#2)
mahimaeg Jun 5, 2023
f7b0706
updated code-of-conduct, copying, contributing, readme (#3)
swetatech24 Jun 8, 2023
c9635a4
Vulnerability fixes (#1)
ravishanigarapu Jun 9, 2023
96ea767
modified .gitignore file (#4)
Vidyaaa24 Jun 9, 2023
b50a032
Update gitignore (#5)
Vidyaaa24 Jun 9, 2023
49a1de3
Delete logs directory
Vidyaaa24 Jun 9, 2023
5bf6de4
Update pom.xml (#7)
swetatech24 Jun 13, 2023
5ba2416
Update README.md
harimohanr Jun 13, 2023
b6cf870
Sonarqube reported code smell fixes (#8)
harimohanr Jun 13, 2023
8a4c34f
Code smell fixes (#9)
harimohanr Jun 13, 2023
11824d1
Added copyright text (#10)
Anjana2310 Jun 15, 2023
57cbc5f
Adding swagger configuration changes (#11)
Anjana2310 Jun 16, 2023
ac4feb6
Create prod workflow (#12)
Vidyaaa24 Jun 21, 2023
ffbe0c0
1097 refferal sms changes
Jun 21, 2023
8f05229
Merge branch 'develop' of https://github.com/PSMRI/Common-API into bu…
Jun 21, 2023
0efec56
Merge pull request #13 from PSMRI/bugChanges
devikasuresh20 Jun 22, 2023
33b322d
removed test properties
Jun 22, 2023
439c861
Merge branch 'develop' into bugChanges
devikasuresh20 Jun 22, 2023
017d824
Merge pull request #14 from PSMRI/bugChanges
devikasuresh20 Jun 22, 2023
420cd86
Feature feedback (#17)
indraniBan Jun 22, 2023
4796381
Removing password encryption (#19)
Anjana2310 Jun 26, 2023
556fe4f
feedback details changes (#20)
indraniBan Jun 26, 2023
e17dcd1
Passing Environment Variable (#21)
swetatech24 Jun 28, 2023
1f81358
Workflow change (#22)
Vidyaaa24 Jun 30, 2023
179e424
CreatedDate Field changes in common & Identity api (#23)
mukul5947 Jun 30, 2023
309475c
property file changes
Jul 3, 2023
8d0cdec
properties file removed creds
Jul 10, 2023
af5ed00
removed properties
Jul 10, 2023
11233a4
property file changes (#24)
helenKaryamsetty Jul 10, 2023
ae2cc1e
close call time (#25)
mukul5947 Jul 10, 2023
6350672
Send SMS Null ID issue (#26)
mukul5947 Jul 10, 2023
9d9d3e1
Merge branch 'PSMRI:develop' into develop
helenKaryamsetty Jul 11, 2023
d09380b
mmu cr changes
Jul 11, 2023
2022520
Merge pull request #27 from helenKaryamsetty/develop
devikasuresh20 Jul 12, 2023
7b62b08
Merge branch 'PSMRI:develop' into develop
indraniBan Jul 13, 2023
4d84fd7
API Cleanup
swetatech24 Jul 13, 2023
c982245
API Cleanup
swetatech24 Jul 13, 2023
12871e4
emergencyRegistration field update
ravishanigarapu Jul 13, 2023
3b17cef
Merge pull request #29 from ravishanigarapu/develop
devikasuresh20 Jul 14, 2023
1d94ccc
Merge pull request #28 from swetatech24/develop
Vidyaaa24 Jul 14, 2023
5100899
mmu cr changes for registration, quick search and update api
Jul 14, 2023
2f1846d
merge conflict resolved
Jul 14, 2023
9501d67
changes mmu cr
Jul 14, 2023
2b6a9f4
API Cleanup (#30)
swetatech24 Jul 14, 2023
d989c45
changes mmu cr
Jul 14, 2023
fee3e6e
changes mmu cr
Jul 14, 2023
5566343
mmu cr change (#32)
indraniBan Jul 14, 2023
799f3d2
Merge branch 'PSMRI:develop' into develop
indraniBan Jul 17, 2023
4c1de6a
changes mmu cr
Jul 17, 2023
e1a5126
Merge branch 'develop' of https://github.com/indraniBan/Common-API in…
Jul 17, 2023
be8ac62
password encryption changes- strong algorithm modified
Jul 18, 2023
15f81c0
Update sast-and-package.yml
indraniBan Jul 18, 2023
9ac61fe
Update AESUtil.java
indraniBan Jul 18, 2023
3f5e71c
register service change
Jul 18, 2023
06617a6
Merge branch 'develop' of https://github.com/indraniBan/Common-API in…
Jul 18, 2023
5cc8608
MMU CR (#33)
indraniBan Jul 18, 2023
8751ac1
Merge branch 'develop' of https://github.com/indraniBan/Common-API in…
Jul 18, 2023
9b9e7b2
AES utils
Jul 18, 2023
43572ae
AES utils (#35)
indraniBan Jul 18, 2023
4b1c913
NHM_Agent_Real_Time_Data
ravishanigarapu Jul 18, 2023
c7a5516
AES utils
Jul 18, 2023
3feedce
AES utils padding stromg
Jul 18, 2023
c8aa022
registration change
Jul 18, 2023
1ab8b18
Merge pull request #36 from ravishanigarapu/develop
devikasuresh20 Jul 19, 2023
e520c63
AES Utils secret key algorithm and padding change (#37)
indraniBan Jul 19, 2023
ac41252
API Cleanup (#38)
swetatech24 Jul 20, 2023
84c6f16
Update SecurePassword.java
KpParth Jul 20, 2023
0f23b4d
Update1 SecurePassword.java
KpParth Jul 20, 2023
3a6a73e
Update RSAUtil.java
KpParth Jul 20, 2023
495ebab
Merge branch 'PSMRI:develop' into develop
indraniBan Jul 21, 2023
8898b11
caller Id modified, pwd encryption changes reverted
Jul 21, 2023
b3fc6ac
Update SecurePassword.java
KpParth Jul 21, 2023
120ebbd
Update2 RSAUtil.java
KpParth Jul 21, 2023
df4b6e2
nhm dashboard scheduler changes
Jul 21, 2023
22a8b8a
pwd enc changes-modified strong algorithm
Jul 24, 2023
4f70cea
Update RSAUtil.java
KpParth Jul 25, 2023
2b2b39d
Update AESUtil.java
KpParth Jul 25, 2023
f826b93
Search benificiary modification
Jul 25, 2023
2894de4
AES modification
Jul 25, 2023
65dc88f
Merge branch 'develop' of https://github.com/KpParth/Common-API into …
Jul 25, 2023
04620b6
Merge pull request #39 from indraniBan/develop
devikasuresh20 Jul 25, 2023
81758e7
Merge branch 'develop' into develop
devikasuresh20 Jul 25, 2023
c785d96
Merge pull request #40 from helenKaryamsetty/develop
devikasuresh20 Jul 25, 2023
0158130
Merge branch 'develop' into develop
devikasuresh20 Jul 25, 2023
a8662c2
Merge pull request #41 from KpParth/develop
devikasuresh20 Jul 25, 2023
6500e1b
NHM dashboard scheduler changes
Jul 25, 2023
4499716
pwd enc changes
Jul 26, 2023
c7abda0
Merge pull request #42 from indraniBan/develop
devikasuresh20 Jul 26, 2023
8c45e4d
1097 sms changes
Jul 26, 2023
5402414
Merge branch 'develop' of https://github.com/helenKaryamsetty/common-…
Jul 26, 2023
28e0330
pull req (#43)
helenKaryamsetty Jul 26, 2023
700a857
Update sast-and-package-prod.yml (#44)
Vidyaaa24 Aug 1, 2023
e1ffa86
update api changes (#45)
indraniBan Aug 4, 2023
4b148cc
changes made for czentrix (#46)
Vidyaaa24 Aug 9, 2023
5c76e81
pwd enc changes (#47)
indraniBan Aug 14, 2023
c38c2fe
Merge branch 'develop' of https://github.com/helenKaryamsetty/common-…
Aug 17, 2023
8ed9774
Swaasa Changes (#48)
swetatech24 Aug 22, 2023
534c634
Added call type Id zero
Aug 24, 2023
d14008f
Added call type Id zero (#49)
devikasuresh20 Aug 24, 2023
bf48ec5
Added call type Id 9999
Aug 24, 2023
3cacdfb
Merge branch 'develop' into develop
devikasuresh20 Aug 24, 2023
f7997ac
Merge pull request #50 from devikasuresh20/develop
devikasuresh20 Aug 24, 2023
6caaf7f
Czentrix Changes
swetatech24 Aug 25, 2023
0c47d26
call type null issue
ravishanigarapu Aug 30, 2023
5bdc642
Merge pull request #52 from ravishanigarapu/develop
devikasuresh20 Aug 30, 2023
bdd4885
controller name changes (#53)
Vidyaaa24 Sep 1, 2023
9f8e7e7
Merge branch 'PSMRI:develop' into develop
swetatech24 Sep 4, 2023
4338cc4
E-Sanjeevani requirement changes
Sep 5, 2023
c730b82
Merge branch 'develop' of https://github.com/helenKaryamsetty/common-…
Sep 5, 2023
2840e35
Merge pull request #54 from helenKaryamsetty/develop
devikasuresh20 Sep 5, 2023
2376158
Delete .github/workflows/sast-and-package-prod.yml
Vidyaaa24 Sep 15, 2023
da6cc94
Delete .github/workflows/sast-and-package.yml
Vidyaaa24 Sep 15, 2023
14875d4
Create package-prod.yml
Vidyaaa24 Sep 15, 2023
26a1607
Create package.yml
Vidyaaa24 Sep 15, 2023
7aa974d
Create sast.yml
Vidyaaa24 Sep 15, 2023
14c35ea
Request mapping modified for SWAASA (#57)
Anjana2310 Sep 28, 2023
5ba2682
E-Sanjeevani model class handling logic (#55)
helenKaryamsetty Oct 4, 2023
8d14a46
bhavya authentication api for plain text (#58)
mukul5947 Oct 4, 2023
2602025
Biometric changes (#56)
AncyRiju Oct 4, 2023
c2ce9af
esanjeevani changes (#59)
ravishanigarapu Oct 5, 2023
ea514b2
Merge branch 'PSMRI:develop' into develop
swetatech24 Oct 5, 2023
b7853da
Unused imports (#60)
AncyRiju Oct 5, 2023
cf8da2d
Merge branch 'PSMRI:develop' into develop
swetatech24 Oct 6, 2023
d35b916
Added Pull Request template, added placeholders in properties file, a…
swetatech24 Oct 6, 2023
9c9524e
modified ScheduleForCallCentre
swetatech24 Oct 6, 2023
906eaf2
Merge pull request #62 from swetatech24/develop
drtechie Oct 9, 2023
72641bb
develop to master merge and resolved merge conflicts
Oct 16, 2023
93108ab
resolved package file conflicts
Oct 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

# Type of change

- [ ] Bug fix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Documentation
- [ ] Other ( please specify )

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

- [ ] Test A
- [ ] Test B

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules


41 changes: 41 additions & 0 deletions .github/workflows/package-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Package-prod

on:
push:
branches: [ "master"]
paths-ignore:
- target/**

pull_request:
branches: [ "master" ]
paths-ignore:
- target/**

env:
ENV_VAR: prod

jobs:
Package-prod:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v3

- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build with Maven
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

- name: Create WAR file
run: mvn -B package --file pom.xml

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: Common-API
path: target/commonapi-v1.0.war
42 changes: 42 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Package

on:
push:
branches: [ "develop"]
paths-ignore:
- target/**

pull_request:
branches: [ "develop" ]
paths-ignore:
- target/**

env:
ENV_VAR: test

jobs:
Package-test:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v3

- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build with Maven
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

- name: Build WAR file
run: mvn -B package --file pom.xml

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: Common-API
path: target/commonapi-v1.0.war

51 changes: 24 additions & 27 deletions .github/workflows/sast-and-package.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
name: Static Code Analysis and Packaging
name: Package

on:
push:
branches: [ "master","develop" ]

branches: [ "develop"]
paths-ignore:
- target/**

pull_request:
branches: [ "develop" ]
paths-ignore:
- target/**

env:
ENV_VAR: test

jobs:
CodeQL:
Package-test:
runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -14,39 +25,25 @@ jobs:
strategy:
fail-fast: false
steps:

- name: Checkout code
uses: actions/checkout@v2

- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: Java

- name: Build with Maven
run: mvn clean install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
languages: Java

Packaging:
needs: codeql
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
- name: Create WAR file
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }}

- name: Build WAR file
run: mvn -B package --file pom.xml

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
with:
name: Common-API
path: target/commonapi-v1.0.war
path: target/commonapi-v1.0.war

52 changes: 52 additions & 0 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CodeQL

on:
push:
branches: [ "develop" ]
paths-ignore:
- target/**

pull_request:
branches: [ "develop" ]
paths-ignore:
- target/**

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

- name: Setup JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Build with Maven
run: mvn clean install

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ logs/
# Ignore specific files
swaasaPathcoughSoundAssessment1234567890121678177840715.wav
replay_pid89928.log
hs_err_pid89928.log
hs_err_pid89928.log

# Properties
src/main/environment/common_local.properties

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AMRIT - Common Service
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![branch parameter](https://github.com/PSMRI/Common-API/actions/workflows/sast-and-package.yml/badge.svg)


Common API is a microservice whch acts as a gateway for AMRIT. There are many APIs that are exposed by Common-API. It contains APIs of common integrators like c-Zentrix, Everwell, Openkm and some master APIs like location master, alerts, notification,language and location messages.
### Primary Features
Expand Down
Loading