0.124.0
Version: 0.124.0
Package ID: 04tKB000000Y053YAC
Code Coverage: 85%
Author: nocturnalnematode
Comment: new kafka reception
Changelog
- 2f2df9e - Merge pull request #301 from navikt/sf-pdl-kafka
- 9896be1 - rename, and clarify comments for, persondok-tests
- 6c1b435 - rename tests
- 1a6442e - minor
- af86150 - cleanup
- 9b6c5bf - trim unnecessary sharing rules
- 3d16bce - clarify method names
- 5550f9c - expand non-loop single character variables
- 063d93e - clarify assignIdent
- d3b98b1 - clarify constants
- 72dfbb3 - clarify need for SandboxOverrideTopic__c
- be1f62f - test for IsSandbox in top level of classes
- 4b457cf - clarify test in KafkaMessageHandlerTest
- c52675f - bump prettier and prettier-plugin-apex
- 92b459b - apply some of the advice from npx prettier
- 22268ac - update README
- dc02d24 - fix exception when coordinates are null
- 7c6a000 - drop unnecessary soql queries
- 46c2cec - typo
- 569d6c3 - add field also to layout and list view
- d683957 - run sandbox test only in sandboxes
- dcd295c - minor cleanup
- 9548f23 - read correct job type and priority
- ca91efc - write failing test for priority
- d2f6d22 - slightly increase pdl kafka handler priority
- 799dd99 - fix PD_TOPIC in tests
- 41e96d5 - use separate metadata for sandboxes. breaks tests.
- fa6344b - minor refactor KafkaMessageHandler
- 240d9b1 - minor refactor KafkaMessageService
- 1642eb4 - regardless, don't put the '-tagged' in the handler
- 6cac04b - (minor) clean up todos
- 5e58b9c - add test for multiple interpreter languages
- 968dd70 - get topics from metadata instead of hardcoding
- 5660179 - rename handler bindings, move test for both pdl+gt
- e2cc8f3 - minor
- 0408357 - write test for handling dupes in pd topic, passes
- 6eded53 - remove some debug prints
- 9ff6f6f - get rid of nonexistent domain PDL, instead use CRM
- 671a487 - pass test by only upserting latest message
- 3dd59be - minor comments
- 7b91f92 - add test for duplicate keys
- 1ff5e33 - set Error on kafka message upon person upsert fail
- 5c1ce41 - minor
- fe416de - add failing test for upsert fail
- 8e01c9f - instantiate logger immediately
- 3613aed - factor out upsertion of new/modified persons
- 21848a3 - remove debug print
- 7f84f0e - remove unused method getPersonLastUpdatedMap
- fe8f4fe - reorder, comment
- a66436c - shorten a bit
- baaa568 - remove shady reliance on ordering
- c91ac68 - rewrite the rest of the fields
- 07cc67f - rewrite address protection (ugly, loosely typed)
- 20966ac - rewrite fields similarly to bostedsadresse
- 4e94523 - clarify comments, use application domain PDL
- cbdda38 - drop warning about list sizes not being 1
- 57faf0f - pass test by ordering metadata first
- 543539d - inherit PdlObject in all PdlHentperson attributes
- 7748be8 - pass test by adding new parent class with metadata
- d8a4274 - add failing historical-differentiating test
- 8269fc6 - clarify some comments / variable names
- 2ddfe7f - touch up README
- 37b03ee - delete prints of massive information
- 9129e6d - validate some more
- 42307b4 - validate some sizes on freg-ident and -status
- 7346154 - whitespace
- debc52b - minor
- 513849d - instantiate logger in constructor, minor refactor
- ce9eefe - set correct OwnerId when processing manually
- 4899d3f - update setPersonDocAfterGt to include new address
- cfa76f3 - remove obsolete tests
- b25a8af - add test for nulling obsolete municipality
- 6022cba - pass test
- 3f073f1 - add failing test for nulling obsolete dist/mpty
- 07a220f - pass test by fetching gt for existing actors
- fffe2ab - write failing test for keeping address info
- c2e4bf6 - also pass municipality test again
- a90c40b - pass
- 22a0883 - fill out the district test
- ae24b49 - fail minimal test setting GT from district number
- b108c8d - add passing test for municipality number
- 0d279bf - GT: test creating a person
- 043d375 - minor
- 0339f31 - pass setOppholdVegadresse
- 9448e48 - remove misleading error messages
- 792cc21 - add test for address of residence
- a0bd427 - add test for address protection
- ca54cc2 - pass setBostedCadastralAddress
- 2f5f3f5 - add test for cadastral ("matrikkel-") address
- 36953b3 - drop class/methods for Key, which is now a string
- d9ae791 - add INT_Coordinates__c, now doubles, not strings
- 06be87b - add some more fields
- 1261ca5 - fix address trimming, factor out stringValidator
- 8802701 - set road address
- 7174664 - minor
- ae16493 - add and fail setBostedVegadresse (test method)
- edd68b5 - shorten, comment tests a bit
- ac7a2cb - minor
- 5815690 - explain why we empty the fields
- 9d20253 - map INT_DateOfDeath__c
- 8dbcb44 - be explicit: System.Test rather than Test
- 1edfa51 - minor
- 9ae0716 - test for error when passing bad grading
- e1c53a7 - comprehensive test and fix for INT_Confidential__c
- 3e63152 - clarify person ident error
- d8a5de8 - specify value of INT_GuardianshipOrFuturePowerO...
- 765de1a - map INT_GuardianshipOrFuturePowerOfAttorney__c
- 2e66732 - substitute more specific tests for "not null" ones
- 536924c - map INT_PowerOfAttorney__c
- 9d8e988 - map INT_SpokenLanguageIntepreter__c
- 8484484 - map INT_MovedToCountry__c and INT_MovedToPlace__c
- c3e43b7 - improve assert clarity
- f9b6d14 - map INT_Phone1__c and INT_Phone2__c
- d901386 - save death for when we have better tests
- 32c2501 - map INT_Sex__c
- a9a3ec0 - map INT_MaritalStatus__c
- 3cf7c52 - map/rewrite INT_Citizenships__c
- 6830f36 - simplify clearanceLevel until comprehensive test
- 06f8dfb - map INT_Confidential__c
- 47ec59b - map INT_MovedFromPlace__c
- add069c - remove confusing error messages
- eb9966e - rename System.assertFoo to Assert.foo
- b37eb92 - map INT_LegalStatus__c
- efcbd70 - minor
- 83df322 - run and fail mapFieldValuesExcludingAddresses test
- 20e3c5e - add/pass insertKafkaMessageNpidPersonFromNpidToFnr
- c0ef5bd - more descriptive missing ident error message
- 5960628 - add and fail insertKafkaMessageNpidPerson
- e7cc349 - add and pass insertKafkaMessageUpdateError
- 121b5bd - realistic actor ids
- 46aea71 - delete no longer used or never used test code
- ea90983 - readd security measures, pass test
- 74704d9 - add failing test insertKafkaMessageWarning
- 7476baf - look at error messages and add a comment
- 6e76862 - ditch the non-actorid-looking actorids
- 9e0ad9b - add insertKafkaMessageProcessed test which fails
- b518d00 - add and pass insertKafkaMessageDefault
- 24e4b03 - fix logic, pass test
- 1e413fa - add and pass setNameTest
- 1667c74 - set everything else
- 08446a9 - add setName test, create person, set status & more
- 16c9492 - simple tombstone check
- 5c956bf - these weren't meant to be tombstones
- 995b455 - minor
- cea4185 - add more tombstone tests, 3 fail
- 10864a5 - add tombstone test, probably false negative
- 529f1e6 - make setFolkeregisterIdents a bit more readable
- f3504d0 - clarify NPID and other idents
- 498a674 - POC tombstone handling
- e957352 - add empty document for testing, register handler
- 41797c9 - set actor id and pass aforementioned test
- 83edb5b - have name
- 018c792 - also allow being born in just a year
- e77783a - be born
- a7d3639 - create person with fnr
- fe109bb - delete other tests for now; they use KafkaPerson2
- 2929860 - write failing test testCreatePersonFromPersonDo...
- 38a80b2 - POC – create person from GeografiskTilknytning
- 86c7340 - add a little test data for new pdl and gt topics
- d59b5b6 - minor readme fix