Commit graph

17802 commits

Author SHA1 Message Date
erik 41e12d09ef WIP create User from person 2024-02-10 15:09:55 +01:00
erik c8456d57ff Add thoughts on user creation 2024-02-10 15:09:54 +01:00
erik c61be31c72 Remove redundant person implementation 2024-02-10 15:09:53 +01:00
erik 22ba03ae4d Don't use redundant implementation of person 2024-02-10 15:09:51 +01:00
erik b00b5fa7af Add some thoughts on repo testing 2024-02-10 15:09:49 +01:00
Michael Jerger eab016e896 add threat analyses 2024-02-10 15:09:43 +01:00
erik a8d5e7ba77 Fix typos and format 2024-02-10 15:09:41 +01:00
erik d43c4ba739 Use person generation 2024-02-10 15:09:38 +01:00
erik 9f016d3673 Move to extra var 2024-02-10 15:09:37 +01:00
erik 7071117864 Implement Person creation 2024-02-10 15:09:36 +01:00
erik fde8de4f90 Rename to ParseActorIDFromStarActivity 2024-02-10 15:09:35 +01:00
erik 2c4089ba1d Add star json with links to lokalhost 2024-02-10 15:09:34 +01:00
erik ede86df685 Remove todo 2024-02-10 15:09:34 +01:00
erik 7529b9da91 Note ToDos for setting up useful tests 2024-02-10 15:09:33 +01:00
erik e60d89cb67 Use correct target for get request 2024-02-10 15:09:33 +01:00
erik 0388240039 WIP Use non generated HTTP client 2024-02-10 15:09:32 +01:00
erik 4b490802d7 Test creation of client only 2024-02-10 15:09:32 +01:00
erik 61afc65377 Implement Get method on Client struct 2024-02-10 15:09:31 +01:00
erik 56d11bbff4 Don't hardcode method in NewRequest function 2024-02-10 15:09:31 +01:00
erik 8a53331283 Add ToDo 2024-02-10 15:09:30 +01:00
erik 93d79646de Fix api url 2024-02-10 15:09:30 +01:00
erik 9568eab62a Fix tests 2024-02-10 15:09:29 +01:00
erik 6284355e1e Remove redundant ValidateStar and err check, call coorect function 2024-02-10 15:09:29 +01:00
erik 43ac3ddca9 Remove star validation as it happens in actor validation now 2024-02-10 15:09:29 +01:00
erik 566b3bc459 Parse Actor from star activity, Update function declaration order 2024-02-10 15:09:28 +01:00
erik 3a938b6c3f Use and validate source in ActorID struct 2024-02-10 15:09:28 +01:00
erik 546ce50337 Use PanicIfInvalid in repository.go 2024-02-10 15:09:27 +01:00
erik 9566e9bc5d Change tests to use IsValid method 2024-02-10 15:09:27 +01:00
erik fccf5c37ca Add IsValid and PanicIfInvalid methods for ActorID 2024-02-10 15:09:26 +01:00
erik 8300d3fbde Add ToDos from code review 2024-02-10 15:09:25 +01:00
erik 34c511ae98 Use data from actor, improve formatting 2024-02-10 15:09:24 +01:00
erik aee2ee2596 Also log error on person creation 2024-02-10 15:09:24 +01:00
erik 91baf2be32 Add get functions for userId and HostAndPort 2024-02-10 15:09:23 +01:00
erik 92c089a4e2 Add a test for getting host and port 2024-02-10 15:09:23 +01:00
erik 863b340622 Update dev notes with create repo curl cmd 2024-02-10 15:09:22 +01:00
erik 8657f70960 Add todo 2024-02-10 15:09:21 +01:00
erik 5efce01f6f Make test messages consistent 2024-02-10 15:09:21 +01:00
erik ad8adc880f Create easier to read tests for parser and validator 2024-02-10 15:09:20 +01:00
erik 62eae6564f Fix bug in validation 2024-02-10 15:09:20 +01:00
erik d205c50a43 Implement generic validation on ActorID 2024-02-10 15:09:19 +01:00
erik 7b5d13a625 Split check for schema and host 2024-02-10 15:09:19 +01:00
erik 3d2b5115ad Implement and use Validatable interface 2024-02-10 15:09:18 +01:00
erik 235ed7cd1e Rename to actorID 2024-02-10 15:09:18 +01:00
Michael Jerger 5e111f14ef use the swagger-api 2024-02-10 15:09:17 +01:00
Michael Jerger 109dbd7d75 swager generated api 2024-02-10 15:09:16 +01:00
Michael Jerger 07bd30cf20 exosy has moved this package to service 2024-02-10 15:09:16 +01:00
Michael Jerger 604f0a2477 swagger client generation 2024-02-10 15:09:14 +01:00
Michael Jerger 9e74de829e swagger client generation 2024-02-10 15:09:13 +01:00
Michael Jerger bc1ff23b23 swagger client generation 2024-02-10 15:09:12 +01:00
Michael Jerger d81647b36e wip: swagger client generation 2024-02-10 15:09:11 +01:00