List of commits:
Subject Hash Author Date (UTC)
disable IIB api access b0b3ebfc82b85bcfe74cc575e70d816ccfcb13cc mandas04 2019-01-28 16:01:16
Adding custom exception class 7008923fecce4ddea63817a2ca28503c9ca88ebf mandas04 2019-01-28 13:56:58
Adding custom exception class 343917b1fb344128a0f9d24aba7067e2141467f5 mandas04 2019-01-28 13:56:56
RestTemplate addition with SSL support 22ff2e8c20c6a971100f0065dd010ef1e98b03de mandas04 2019-01-28 09:04:14
Refactor Jenkinsfile 8f034841202072fa31fc6fa43c6fb25949b8a815 mandas04 2019-01-27 14:40:17
Adding unit test cases 18fafbcc7ee0395422ab6a558483f5c828250841 mandas04 2019-01-26 19:25:11
Change in report UTF8 character replaced by \uxxx Report rows are sorted with ambiguous applications are placed at top fe3ed81569cf83faf59f8463b2e78a7c028dccd0 mandas04 2019-01-26 17:02:50
Adding constants as string in Swagger Config 905bc88787499ed8ed319fd7dfa246c1d49e06e1 mandas04 2019-01-26 15:14:53
Refactor packages 11f8bee99fad844c80f4a0d375fa416915694c12 mandas04 2019-01-26 15:05:50
Refactor Jenkinsfile and build.gradle fe1b806100e4a90f038c781d5a0ca1c3de99a3cf mandas04 2019-01-26 12:52:39
Get git commit of the current build 5b08ed72521e1df48c8d528c7dd0c9164c731117 mandas04 2019-01-25 09:27:24
Jenkinsfile docker run parameter change d2d996261f214bbe0b2985051519b59dc3ba3e07 mandas04 2019-01-24 20:47:57
Deactivating IIB api call 610b02552a202ba38c85092dbec92d2c8e72f77a mandas04 2019-01-24 20:43:26
port opening for docker 65eef8d7b89337b154bf0cd975567d198108b595 mandas04 2019-01-24 20:04:43
liquibase relative file path 5600e939642a7bee812b3d06b85e2638d92e8ee7 mandas04 2019-01-24 19:59:14
Unit and Integration test separation f525d0319a0601f0afeb85e1e6b58b9fd5252bbf mandas04 2019-01-24 19:15:04
Undo: Moving Jenkins file to Script directory 548d2cae1843a236b0e1e36720cfee28769712fd mandas04 2019-01-24 18:15:24
completion of jenkins pipeline upto deployment to dev 1eac6d9752013a6244433bfcaa8aad70659e9823 mandas04 2019-01-24 05:30:12
Refactor Dockerfile 6aec487ab4640605a6a720ade2f5bda51171d2e2 mandas04 2019-01-23 12:17:03
password encryption and parameterization 7f37eaf5635a314175c1a9f3a02ec8bfccbebce7 mandas04 2019-01-23 09:23:51
Commit b0b3ebfc82b85bcfe74cc575e70d816ccfcb13cc - disable IIB api access
Author: mandas04
Author date (UTC): 2019-01-28 16:01
Committer name: mandas04
Committer date (UTC): 2019-01-28 16:01
Parent(s): 7008923fecce4ddea63817a2ca28503c9ca88ebf
Signing key:
Tree: af7d871c8259764f3d83fae16df78cdc52c0bc05
File Lines added Lines deleted
src/main/java/com/kingfisher/deployment/audit/controller/DeploymentAuditController.java 0 10
src/main/java/com/kingfisher/deployment/audit/service/DeploymentAuditService.java 1 5
File src/main/java/com/kingfisher/deployment/audit/controller/DeploymentAuditController.java changed (mode: 100644) (index d162dfd..ae1c9b7)
1 1 package com.kingfisher.deployment.audit.controller; package com.kingfisher.deployment.audit.controller;
2 2
3 import java.io.IOException;
4 import java.net.URISyntaxException;
5 import java.security.InvalidAlgorithmParameterException;
6 import java.security.InvalidKeyException;
7 import java.security.NoSuchAlgorithmException;
8
9 import javax.crypto.BadPaddingException;
10 import javax.crypto.IllegalBlockSizeException;
11 import javax.crypto.NoSuchPaddingException;
12
13 3 import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
14 4 import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;
15 5 import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
File src/main/java/com/kingfisher/deployment/audit/service/DeploymentAuditService.java changed (mode: 100644) (index 96aac17..8d72e5a)
... ... public class DeploymentAuditService {
86 86 */ */
87 87 private Map<String, List<Deployment>> prepareDataForApplication(String application, String referenceEnv, List<String> reportingEnvs) throws DeploymentAuditException { private Map<String, List<Deployment>> prepareDataForApplication(String application, String referenceEnv, List<String> reportingEnvs) throws DeploymentAuditException {
88 88 Map<String, List<Deployment>> latestDeploymentsInEnvironmentForApplication = new HashMap<>(); Map<String, List<Deployment>> latestDeploymentsInEnvironmentForApplication = new HashMap<>();
89
90 89 latestDeploymentsInEnvironmentForApplication.put(referenceEnv, updateDeploymentsWithIIBapi(deploymentRepository.findLatestDeploymentByApplicationNameAndEnvironment(referenceEnv, application))); latestDeploymentsInEnvironmentForApplication.put(referenceEnv, updateDeploymentsWithIIBapi(deploymentRepository.findLatestDeploymentByApplicationNameAndEnvironment(referenceEnv, application)));
91
92 90 for (String reportingEnv : reportingEnvs) for (String reportingEnv : reportingEnvs)
93
94 91 latestDeploymentsInEnvironmentForApplication.put(reportingEnv, updateDeploymentsWithIIBapi(deploymentRepository.findLatestDeploymentByApplicationNameAndEnvironment(reportingEnv, application))); latestDeploymentsInEnvironmentForApplication.put(reportingEnv, updateDeploymentsWithIIBapi(deploymentRepository.findLatestDeploymentByApplicationNameAndEnvironment(reportingEnv, application)));
95
96 92 return latestDeploymentsInEnvironmentForApplication; return latestDeploymentsInEnvironmentForApplication;
97 93 } }
98 94
99 95 private List<Deployment> updateDeploymentsWithIIBapi(List<Deployment> deployments) throws DeploymentAuditException { private List<Deployment> updateDeploymentsWithIIBapi(List<Deployment> deployments) throws DeploymentAuditException {
100 96 for (Deployment deployment : deployments) { for (Deployment deployment : deployments) {
101 97 Instance instance = instanceRepository.findByInstanceName(deployment.getInstanceName()); Instance instance = instanceRepository.findByInstanceName(deployment.getInstanceName());
102 IIBDeploymentStatus iibDeploymentStatus = iibRestClient.getDeployemntProperties(deployment.getIntegrationServer(), deployment.getApplicationName(), instance.getHost(), instance.getApiPort(), instance.getApiUsername(), passwordCodec.decrypt(instance.getApiPassword()));
98 //IIBDeploymentStatus iibDeploymentStatus = iibRestClient.getDeployemntProperties(deployment.getIntegrationServer(), deployment.getApplicationName(), instance.getHost(), instance.getApiPort(), instance.getApiUsername(), passwordCodec.decrypt(instance.getApiPassword()));
103 99 } }
104 100 return deployments; return deployments;
105 101 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/Sumangal-IN/deployment-audit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/Sumangal-IN/deployment-audit

Clone this repository using git:
git clone git://git.rocketgit.com/user/Sumangal-IN/deployment-audit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main