Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4ca993c
api swagger categories changes
niteshbhardwaj02 Mar 19, 2025
9208188
fix swagger implementation
niteshbhardwaj02 Mar 21, 2025
7e29512
fix not allowed apis
niteshbhardwaj02 Mar 24, 2025
23d1da5
updated readme
niteshbhardwaj02 Mar 26, 2025
28053ca
giga meter rebrading
niteshbhardwaj02 Mar 26, 2025
5080cdf
Merge pull request #137 from unicef/hotfix/giga-meter-rebrading
niteshbhardwaj02 Mar 26, 2025
d080f55
Merge pull request #140 from unicef/fix/package-lock-ignore
vipulbhavsar94 Mar 26, 2025
9344a4f
Merge branch 'staging' of https://github.com/unicef/giga-meter-backen…
niteshbhardwaj02 Mar 27, 2025
e8d3b5c
fix category access
niteshbhardwaj02 Apr 3, 2025
0aecef3
category config changes
niteshbhardwaj02 Apr 10, 2025
09edcc6
updated category
niteshbhardwaj02 Apr 15, 2025
69ad4b3
removed unused code
niteshbhardwaj02 Apr 15, 2025
1601f20
dynamic server name and refactor
niteshbhardwaj02 Apr 15, 2025
7ee97d3
has write access updated category
niteshbhardwaj02 Apr 16, 2025
89be99a
fix response data and config
niteshbhardwaj02 Apr 16, 2025
a134972
ssh_config updates
shubhamgoel02 Apr 17, 2025
c54fcae
category lowercase
niteshbhardwaj02 Apr 17, 2025
7a25580
default category
niteshbhardwaj02 Apr 17, 2025
88a8be0
fix category config api issue
niteshbhardwaj02 Apr 17, 2025
325491f
fix test cases
niteshbhardwaj02 Apr 18, 2025
52f37be
fix swagger method config
niteshbhardwaj02 Apr 22, 2025
d95ad8f
patch invalid id error
niteshbhardwaj02 Apr 23, 2025
ad42644
fix include filter response
niteshbhardwaj02 Apr 23, 2025
fb28801
Merge branch 'feature/api-swagger-categories' into category-and-perfo…
niteshbhardwaj02 Apr 24, 2025
2fdb7b6
add missing license info
niteshbhardwaj02 Apr 24, 2025
c5b714f
Merge branch 'feature/api-swagger-categories' into category-and-perfo…
niteshbhardwaj02 Apr 24, 2025
bb5de5c
isSuper check removed
niteshbhardwaj02 Apr 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ pids

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

#package-lock.json
package-lock.json
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ RUN npm install \
&& npm run build

# ssh
ENV SSH_PASSWD "root:Docker!"
ARG SSH_PASSWD
ENV SSH_PASSWD $SSH_PASSWD
RUN apt-get update \
&& apt-get install -y --no-install-recommends dialog \
&& apt-get update \
Expand All @@ -17,4 +18,6 @@ RUN apt-get update \

COPY sshd_config /etc/ssh/

ENTRYPOINT ["/bin/bash", "./start.sh"]
EXPOSE 2222

ENTRYPOINT ["/bin/bash", "./start.sh"]
24 changes: 16 additions & 8 deletions azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,26 @@ stages:
-Dsonar.host.url=$(SONAR_HOST) \
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info \
-Dsonar.exclusions=**/*/*.spec.ts,**/prisma/**
- job: Build
- job: BuildAndPush
dependsOn: Test
steps:
- task: Docker@2
displayName: Build image
inputs:
command: buildAndPush
repository: $(imageRepository)
containerRegistry: $(dockerRegistryServiceConnection)
dockerfile: $(dockerfilePath)
tags: |
$(tag)
containerRegistry: '$(dockerRegistryServiceConnection)'
repository: '$(imageRepository)'
command: 'build'
Dockerfile: '**/Dockerfile'
tags: '$(tag)'
arguments:
--build-arg=SSH_PASSWD=$(SSH_PASSWD)
- task: Docker@2
displayName: Push image
inputs:
containerRegistry: '$(dockerRegistryServiceConnection)'
repository: '$(imageRepository)'
command: 'push'
tags: '$(tag)'
- stage: dev_deploy
displayName: Deploy To Development
dependsOn: build_test
Expand Down Expand Up @@ -140,4 +148,4 @@ stages:
DockerNamespace: 'uniconnectacr.azurecr.io'
DockerRepository: 'main/giga-meter-backend'
DockerImageTag: '$(Build.BuildId)'
AppSettings: '-DAILY_CHECK_APP_API_CODE $(DAILY_CHECK_APP_API_CODE) -DATABASE_URL $(DATABASE_URL) -PCDC_APP_DOWNLOAD_URL $(PCDC_APP_DOWNLOAD_URL) -PROJECT_CONNECT_SERVICE_URL $(PROJECT_CONNECT_SERVICE_URL) -SENTRY_DSN $(SENTRY_DSN) -USE_AUTH $(USE_AUTH) -WEBSITES_PORT $(WEBSITES_PORT) -NODE_ENV $(NODE_ENV)'
AppSettings: '-DAILY_CHECK_APP_API_CODE $(DAILY_CHECK_APP_API_CODE) -DATABASE_URL $(DATABASE_URL) -PCDC_APP_DOWNLOAD_URL $(PCDC_APP_DOWNLOAD_URL) -PROJECT_CONNECT_SERVICE_URL $(PROJECT_CONNECT_SERVICE_URL) -SENTRY_DSN $(SENTRY_DSN) -USE_AUTH $(USE_AUTH) -WEBSITES_PORT $(WEBSITES_PORT) -NODE_ENV $(NODE_ENV)'
Loading