76 Commits

Author SHA1 Message Date
1c3555d8b7
Removed multistore
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 18:46:24 -06:00
d8604dc3cc
Adds inmemorystore to help refactor tests
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 18:16:47 -06:00
417a7cf982
Decouples routers and adds auth for plans and actions call
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 16:15:28 -06:00
ab1dab6619
jwt auth token return 2021-01-12 15:52:46 -06:00
262321a1e2
Adds auth route that checks username and password
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 12:43:45 -06:00
c8b8f87f6c
Change to select by username because that makes more sense 2021-01-12 11:36:44 -06:00
f59593e9e8
adds create user func 2021-01-12 11:17:03 -06:00
c8e33884c0
fixes lint issues
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-11 20:39:29 -06:00
55c8c739b0
fmt
A
2021-01-11 20:38:11 -06:00
1d45635530
adds no password return by default, model cares about password but nothing downstream does
Some checks failed
gitea-deepak/gogmagog/pipeline/head There was a failure building this commit
2021-01-11 20:37:35 -06:00
3ea8603368
Adds user table and adds support for config flag to drop DB on restart
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-11 20:15:36 -06:00
c0175fc9bc
fixes content-type for post and put on actions
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-10 11:58:16 -06:00
7e7558dd5e Merge pull request 'put_actions' (#2) from put_actions into master
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
Reviewed-on: #2
2021-01-10 17:35:20 +00:00
86a4a28aee
adds put action route
All checks were successful
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-10 11:27:32 -06:00
a5528be456
Adding new func
All checks were successful
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-10 10:38:03 -06:00
0faef20441 fmt changes
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-09 23:54:52 -06:00
395231e1bf adds test for errors in update
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 23:53:16 -06:00
bc68115ce1 adds update action method 2021-01-09 23:39:03 -06:00
dfb5ead740 Merge pull request 'actions_post' (#1) from actions_post into master
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
Reviewed-on: #1
2021-01-10 04:53:13 +00:00
2c630aff95 Adds additional postgres insert fields for action
Some checks are pending
gitea-deepak/gogmagog/pipeline/head This commit looks good
gitea-deepak/gogmagog/pipeline/pr-master Build queued...
2021-01-09 22:25:14 -06:00
dc18440821 Fixes test to improve coverage
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 22:10:44 -06:00
4b4070df98 Adds test for action post 2021-01-09 22:05:54 -06:00
325aa46cf2 Adds actions insert to store 2021-01-09 21:50:54 -06:00
ebee8a304b
codestyle fix
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 16:18:21 -06:00
3f13118312
Adds more error handling and sets plan date
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 16:11:43 -06:00
27cdde132d
Adds post endpoint for creating plans
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-03 20:28:46 -06:00
f8b1949c28
Adds route to create plans 2021-01-03 20:15:39 -06:00
9b276bd644
Adds route for filtering actions by planID
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-03 11:12:31 -06:00
70ddd91d6b
Adds actions, changes time to pointers to make nillable.
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-01 11:49:22 -06:00
95d945dda7
Added plan by id route and error handling and organisation 2021-01-01 08:41:17 -06:00
bbb0cf3f42
Adds way to check for not found error on id search
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-01 08:07:55 -06:00
cd7f919eb2
Removes calls to log.Fatal, adds check for null store
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-31 18:56:21 -06:00
e77d3c4d5e
Adds health check and test 2020-12-31 18:47:27 -06:00
0e16bb5361
Adds healthy check to model 2020-12-31 18:05:06 -06:00
2bda056ca7
Adds route to retrieve all plans and tests thereof, and json tags for model
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-31 11:20:00 -06:00
6d104dc72a
adds missing test from postgres select actions by plan id
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-30 11:11:52 -06:00
72e3fbe05b
adds test for commit failure check
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 19:16:13 -06:00
acf793ae41
Adds select actions by plan function 2020-12-29 19:10:54 -06:00
e6158e680f
Adds extra test for postgres case
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 19:02:15 -06:00
9f5f5413d1
Adds insert plan function
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 18:44:37 -06:00
9c56ea56e2
Adds insertplan to model 2020-12-29 18:20:28 -06:00
b6a6c9375f
Adds timezone to config 2020-12-29 18:12:04 -06:00
0c6f686ce5
added select plan by id
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 16:26:30 -06:00
ba18d011bd
Fixes Postgres to be postgres style bindvars
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 16:16:09 -06:00
ad47895597
Add select by action id 2020-12-29 16:08:31 -06:00
50bbcdc71d
adds full action fields to struct
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 15:05:00 -06:00
7ae7f294da
adds go fmt to do.sh commands and makes indents friendlier spaced 2020-12-29 15:04:41 -06:00
c0d5a543f0
No need for empty main_test file
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 13:59:08 -06:00
8f78b80043
Adds some db tests using sql mock and slightly reorganises to facilitate testing
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-29 13:43:32 -06:00
506e7f64b6
Moved os dependence to main.go and had db code return error 2020-12-29 10:39:42 -06:00