-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paf 49 test cert 2 #112
Open
JHoldergov
wants to merge
100
commits into
master
Choose a base branch
from
PAF-49-test-cert-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Paf 49 test cert 2 #112
Changes from all commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
0b1f93f
rebased
JHoldergov 4926892
PAF-50 Deploy ims-resolver
sulthan-ahmed 2e1c161
PAF-50 add wsdl and endpoint as secrets
sulthan-ahmed 327035b
PAF-50 deploy ims-resolver
sulthan-ahmed 6fbdfea
PAF-50 deploy ims-resolver
sulthan-ahmed 10bc6b3
PAF-50 deploy ims-resolver
sulthan-ahmed 0a9e9df
PAF-50 deploy ims-resolver
sulthan-ahmed 9caff0f
PAF-50 deploy ims-resolver
sulthan-ahmed 5000ee4
PAF-50 deploy ims resolver
sulthan-ahmed d9f1078
PAF-50 update ims resolver key names as part of k8
sulthan-ahmed a9bb1f5
Update README about IMS API docs
sulthan-ahmed 770f078
PAF-49 Test the private link
sulthan-ahmed ec8203f
WIP
sulthan-ahmed f42aee7
Deploy resolver that doesn't run the commands
sulthan-ahmed 682282a
PAF-49 change the ims-resolver to use curl
sulthan-ahmed 803688c
WIP
sulthan-ahmed dfd8017
WIP
sulthan-ahmed be0695a
PAF-49 deploy resolver to test private link
sulthan-ahmed 1af3c6f
WIP
sulthan-ahmed f94adc5
Set NODE_TLS_REJECT_UNAUTHORIZED 0 in kube file
sulthan-ahmed 04c806d
WIP check we can set env variable for TLS being 0
sulthan-ahmed 2522fb0
PAF-135 use ims-resolver image for private link
sulthan-ahmed 0cda1ba
deploy tls cert - PAF-153
JHoldergov b3f6881
Pvt link add deploy branch
JHoldergov 9d96be8
error message fix
JHoldergov df14d43
self signed cert
JHoldergov d31ade3
redeploy
JHoldergov 01df855
redeploy
JHoldergov bb4e1a4
mounting cert volume
JHoldergov c73a189
deploy error
JHoldergov fba0c2c
disable cert bypass
JHoldergov b1f95d6
configmap trial
JHoldergov aa059b5
syntax fix
JHoldergov bb7e31b
corrrection
JHoldergov 919a470
error solve attempt
JHoldergov a3a9fb6
re-deployment
JHoldergov 4a1b24c
adjustments
JHoldergov b053d1e
timeout changes
JHoldergov 8b1e525
adding config map
JHoldergov 1fe6450
memory increase
JHoldergov 8c78f02
syntax
JHoldergov 56ec28d
config on node
JHoldergov e33f199
Added certificate
TemitopeAyokuHO 3f68d07
code changes for cert (trial)
JHoldergov 2c89d49
syntax
JHoldergov cedeb46
untrusted source cert
JHoldergov f0bc624
change directory
JHoldergov ff7e75b
dir correction
JHoldergov f52a57f
try two vol mounts
JHoldergov f790fe6
volume mounts testing
JHoldergov 8b3db71
typo
JHoldergov 4c5b3ce
testing branch 2
JHoldergov c6e67e2
fast build CI
JHoldergov 19cc41e
rebuild with yarn - redeploy
JHoldergov fb760dc
commenting out certs
JHoldergov 061b3ba
vol mount deployment
JHoldergov 4c0d625
alignment
JHoldergov 76d0f8c
alignment2
JHoldergov 5004c5f
imsrepo-change
JHoldergov 707627d
new ims image
JHoldergov 8181939
new ims image
JHoldergov 06f7005
new image - 1520
JHoldergov 9060da9
new ims iiage 1533
JHoldergov 8d9162f
new ims image 1559
JHoldergov cff81c7
Update to latest resolver image
jamiecarterHO f62a540
Fix merge conflicts part two
jamiecarterHO a504843
Remove changes from server.js
jamiecarterHO b0f0c3d
removed clear text cert
JHoldergov ffe263c
setting the cert in the hof config services
JHoldergov 00b00e7
revert the test changes
JHoldergov 6b6eca3
add cert from hof cofig
JHoldergov 3e17e38
cleaning up
JHoldergov 5f387d3
memory re-adjust
JHoldergov 8fe3514
merge conf
JHoldergov 8ba1bc3
indent error
JHoldergov 9ae20c1
Configmap1
JHoldergov b214c1f
cert mount
JHoldergov 30efb6c
adding a cert mount without indent
JHoldergov 555869f
trigger build
JHoldergov 02647a7
rebasing
JHoldergov bc41d40
Fix discrepancies between fv URLs across deployments and ingress (#122)
jamiecarterHO dd3fb90
rebase
JHoldergov eda5836
rebase
JHoldergov 413d5a2
PAF 166:Highlight sections on menu navigation (#95)
Rhodine-orleans-lindsay dae8055
PAF-129/ PAF-128 - Fix bug to add country from list and validate coun…
TemitopeAyokuHO 5552818
rebase branch
jamiecarterHO 1e46f8e
Update drone.yml and deploy.sh (#129)
jamiecarterHO 3c83662
rebase
JHoldergov 2ece81d
rebased
JHoldergov 043ec00
rebase
JHoldergov 82713c3
rebase
JHoldergov a5fcefd
rebase
JHoldergov 6588b20
rebase
JHoldergov 749407b
rebase
JHoldergov 31eae29
rebase
JHoldergov eaf74eb
ims cert image
JHoldergov 3fbe122
ims redeploy rebase
JHoldergov 07404db
cert code rebase
JHoldergov 912278c
merge conf
JHoldergov fafb9e0
file upload rebase
JHoldergov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
rebased | ||
|
||
# Please enter the commit message for your changes. Lines starting | ||
# with '#' will be ignored, and an empty message aborts the commit. | ||
# | ||
# On branch PAF-49-test-cert-2 | ||
# Your branch and 'origin/PAF-49-test-cert-2' have diverged, | ||
# and have 103 and 83 different commits each, respectively. | ||
# (use "git pull" to merge the remote branch into yours) | ||
# | ||
# Last commands done (13 commands done): | ||
# pick a79e1d1 Paf 210 work for british government (#131) | ||
# pick 0b1f93f rebased | ||
# Next commands to do (11 remaining commands): | ||
# pick 4926892 PAF-50 Deploy ims-resolver | ||
# pick a9bb1f5 Update README about IMS API docs | ||
# You are currently editing a commit while rebasing branch 'PAF-49-test-cert-2' on '51fa1a4'. | ||
# | ||
# Changes to be committed: | ||
# modified: server.js | ||
# |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
module.exports = superclass => class extends superclass { | ||
locals(req, res) { | ||
const locals = super.locals(req, res); | ||
const images = req.sessionModel.get('images'); | ||
if (images && images.length >= 3) { | ||
const locals = super.locals(req, res); | ||
const images = req.sessionModel.get('images'); | ||
if (images && images.length >= 3) { | ||
// disable file upload if attachment limit reached. | ||
req.form.options.fields['other-info-file-upload'].attributes = [{attribute: 'disabled'}]; | ||
return locals; | ||
} | ||
req.form.options.fields['other-info-file-upload'].attributes = []; | ||
req.form.options.fields['other-info-file-upload'].attributes = [{attribute: 'disabled'}]; | ||
return locals; | ||
} | ||
}; | ||
req.form.options.fields['other-info-file-upload'].attributes = []; | ||
return locals; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const https = require('https'); | ||
const fs = require('fs'); | ||
|
||
|
||
|
||
|
||
const getCertificate = function getRequest(){ | ||
https.get('https://ho-it-prp1-i-ie-ims.report-and-manage-intelligence.np.immigrationservices.phz/lagan/services/FL', options, (res) => { | ||
// Handle the response | ||
}); | ||
} | ||
|
||
const options = { | ||
ca: fs.readFileSync('/etc/ssl/certs/ims-prp1-ca.crt') | ||
}; | ||
|
||
module.exports = { | ||
getCertificate: getCertificate, | ||
options : options | ||
}; |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: cacert-store | ||
data: | ||
ims-prp1-ca.crt: | | ||
{{ file .CONFIGMAP1_VALUES }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ metadata: | |
{{ end }} | ||
data: | ||
{{ file .CONFIGMAP_VALUES | indent 2 }} | ||
{{ file .CONFIGMAP1_VALUES | indent 2 }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new line