reesporte
be66103c45
requirements when auth is enabled
...
postgres binding is turned off
TLS must be turned on
2021-12-29 11:20:19 -06:00
reesporte
42f3557c55
fix merge conflicts
2021-12-29 09:05:53 -06:00
Travis
ffd91137e1
Stop blocking API called when cluster is DOWN or DEGRADED
...
This commit effectively removes the API-level validation that was
blocking certain API methods when the cluster was in a particular state
(namely DOWN and DEGRADED). The thinking is that we shouldn't be
blocking these requests at the API level, but rather should let them
pass through and allow the fact that a node is ACTUALLY down dictate the
behavior.
With this change, two tests were modified. They were previously
expecting the error message from the API validation on DOWN, but now
they check for a "shard unavailable" error, which is what gets returned
for a particular query when the cluster is in an unhealthy state.
2021-12-28 13:52:04 -06:00
Samir Patel
fd7d905be2
fix formatting issues
2021-12-21 15:49:51 -06:00
Samir Patel
1c907281bf
authz changes
2021-12-20 18:03:18 -06:00
Samir Patel
3b374a62bf
Merge branch 'master' into 54mir/authentication
2021-12-20 16:42:11 -06:00
Samir Patel
6faa889bfb
move logout url to conf
2021-12-20 14:30:19 -06:00
Samir Patel
e7f4eb1e36
response codes
2021-12-20 12:28:17 -06:00
Samir Patel
daeebf98eb
more test cleanup
2021-12-20 09:43:30 -06:00
Samir Patel
67d438aab5
clean up
2021-12-20 01:29:11 -06:00
Samir Patel
0d52a952e0
resolve some comments
2021-12-19 23:33:44 -06:00
souhailanoor
e82088e086
Merge branch 'master' into fb1000
2021-12-19 11:38:08 -06:00
Souhaila Noor
c14bd08213
updated admin to be at the cluster level
2021-12-19 11:37:41 -06:00
Souhaila Noor
a606bd030a
addressed reviewer's feedback
2021-12-17 16:46:07 -06:00
Souhaila Noor
f05f1d0de2
added more authz functionality
2021-12-17 15:51:37 -06:00
Matthew Jaffee
1fd872b126
less write locks in fragment.importRoaring/row
2021-12-17 15:09:25 -06:00
Souhaila Noor
2ca29e6018
addressed reviewer's comments and added more tests
2021-12-17 11:45:35 -06:00
Samir Patel
e5866f5f9c
comment out string checking in test
2021-12-16 22:08:16 -06:00
Samir Patel
a793ebc3c4
update config internal test
2021-12-16 21:56:54 -06:00
Samir Patel
4565cb714b
update config internal test
2021-12-16 21:02:58 -06:00
Samir Patel
b37f13e5c5
rename
2021-12-16 20:33:23 -06:00
Samir Patel
10dbbb49c8
rename
2021-12-15 14:54:01 -06:00
Samir Patel
a1de086cd8
change scopes from string to slicee
2021-12-15 14:53:04 -06:00
Souhaila Noor
48913caafd
renamed package to authz, inmplemented reviewer's feedback
2021-12-15 13:36:27 -06:00
Samir Patel
4eee8a4245
change the way auth is instantiated, and send to handler
2021-12-13 23:12:04 -06:00
Samir Patel
ee9416d53a
move auth struct to config
2021-12-13 23:09:14 -06:00
Souhaila Noor
3c8a7384ba
added reviewer's suggestions
2021-12-13 13:05:35 -06:00
Souhaila Noor
9e2cf81127
added unit tests
2021-12-13 10:35:56 -06:00
souhailanoor
e5052a864b
Merge branch 'master' into fb1000
2021-12-10 14:09:39 -06:00
Souhaila Noor
01e4baab04
determine permission for user access to index
2021-12-10 14:07:24 -06:00
reesporte
48aef0c8a4
add copyright notice back in
...
```bash
for file in `cat diffys`; do
printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file;
done
```
2021-12-10 11:01:04 -06:00
reesporte
4c53f86e82
removed license from each go file
...
i used this script, a little clunky but it got the job done
```bash
for file in `find . -type f -print | grep '\.go'`; do
sed '1,/^\/\/ limitations under the License.$/d' $file > $file.tmp;
result=`cat $file.tmp`
if [[ result != "" ]]; then
gofmt $file.tmp &> /dev/null;
if [[ $? == 0 ]]; then
mv $file.tmp $file && gofmt -w $file;
else
rm $file.tmp;
fi
else
rm $file.tmp;
fi
done
```
2021-12-10 09:17:17 -06:00
reesporte
a0aaa0f371
don't start error messages with a capital letter
2021-12-06 16:40:13 -06:00
reesporte
b046ad5e8f
fixes some more staticcheck errors
2021-12-03 16:50:02 -06:00
Souhaila Noor
7bcbb5eaca
fixed indentation
2021-12-03 12:10:31 -06:00
Souhaila Noor
90c3c67ce4
fixed test for auth disabled
2021-12-03 12:00:07 -06:00
souhailanoor
e8f5458100
only validate config when auth is enabled
...
Co-authored-by: reese <45641995+reesporte@users.noreply.github.com>
2021-12-03 11:58:08 -06:00
Souhaila Noor
6425fc50fc
added identity provider scope url as parameter
2021-12-03 11:24:18 -06:00
Souhaila Noor
06fd65cb31
resolved reviewer's suggestions and made it pretty & user friendly
2021-12-03 10:56:21 -06:00
Souhaila Noor
978f236c59
resolved additional comments
2021-12-02 16:36:04 -06:00
Souhaila Noor
78e11e0fda
resolved reviewer's comments
2021-12-02 16:15:15 -06:00
Souhaila Noor
50d80f2f1c
fixed arg cli descriptions
2021-12-02 14:52:38 -06:00
Souhaila Noor
aebd4c4c62
fixed formatting
2021-12-02 14:22:08 -06:00
Souhaila Noor
7de3eaa935
resolved review's comment
2021-12-02 14:19:59 -06:00
Souhaila Noor
91c8bf5e05
fixed duplicated empty string
2021-12-02 14:04:21 -06:00
Souhaila Noor
64b31da4a1
resolved duplicated line
2021-12-02 14:00:51 -06:00
Souhaila Noor
b5ba3fb2ea
added auth arg validation and set up auth package
2021-12-02 13:09:13 -06:00
Souhaila Noor
dc1c39fd21
updated featurebase.conf
2021-11-29 16:46:55 -06:00
Souhaila Noor
28e1be7540
added AuthN/AuthZ parameters to featurebase server configuration
2021-11-29 09:40:05 -06:00
reesporte
7390ae072d
Merge branch 'master' into sup-102
2021-11-17 08:11:03 -06:00