Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.94 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.94 KB

Salary

Salary is also a java based application which creates and manages employedde's salary information.

Database

  • [Elasticsearch]](../elasticsearch) => Salary application stores information in easticsearch

Endpoints

The available endpoints for this application are:---

ENDPOINT*dd 222 REQUEST TYPE DESCRIPTION
/salary/search/all GET search will fetches the salary of all users.
/salary/healthz GET healthz will check the DB connectivity and return the status of application that whether it can serve the requests or not.

Environment Variable

ENVIRONMENT VARIABLE DESCRIPTION
ELASTIC_APM_SERVICE_NAME Service name of elastic APM configuration
ELASTIC_APM_SERVER_URL APM service URL for sending metrics and insights
SPRING_ELASTICSEARCH_REST_URIS URL for elasticsearch database for interaction
SPRING_ELASTICSEARCH_REST_USERNAME Username for elasticsearch database
SPRING_ELASTICSEARCH_REST_PASSWORD Password for elasticsearch database

Gitleakes

AWS_ACCESS_KEY_ID=ASIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
password=root
https://bitbucket.org/site/oauth2/authorize?client_id=xxxxxxx&response_type=code
database.url=jdbc:mysql://mysql.okts.tk:3306/employeedb
database.user=root
database.password=password