Skip to content

Commit

Permalink
Add instructions for setting MET comment period in project (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolkamps1 authored Mar 26, 2024
1 parent 82f17a4 commit 1fb9a61
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,17 @@ oc get secrets
```

You will not be able to see the above value of the secret if you try examine it. You will only see the encrypted values. Approach your team member with admin access in the openshift project in order to get the access key and secret key values for the secret name you got from the above command. Make sure to ask for the correct environment (dev, test, prod) for the appropriate values.


## Enable MET Comment Periods for Project
1. Connect to Open Shift by copying login command
2. Choose project and get Pods
`oc get pods`
3. Port-forward
`oc port-forward eagle-api-mongodb-5-tj22g 5555:27017`
4. Connect to db with mongoshell
`mongo "mongodb://admin:pw@localhost:27017/epic?authSource=admin"`
5. Query for project
Eg. `db.epic.find({_id : ObjectId("65c661a8399db00022d48849")})`
6. Set `hasMetCommentPeriods` to `true` for the project.
Eg. `db.epic.updateOne( { _id: ObjectId("65c661a8399db00022d48849") }, { $set: { "legislation_2018.hasMetCommentPeriods": true } })`

0 comments on commit 1fb9a61

Please sign in to comment.