Reaktiverer webapp-script for arkivering av gamle nyheter #2255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enabler webapp scriptet fra denne PR'en: #2236
Slår av noen event-handlere før denne for sikkerhets skyld, for å hindre overbelastning når vi gjør et par tusen avpubliseringer+arkiveringer på kort tid. Bør derfor ta denne litt utenfor vanlig arbeidstid, for ikke å forvirre redaktørene pga manglende cache-invalidering etc.
Huskeliste for prodsetting av denne:
Avpubliser og arkiver gamle nyheter/pressemeldinger
fra https://portal-admin.oera.no/webapp/no.nav.navnoFjern avpublisert innhold fra alle innholdslister
,Oppdater alle dokumenter for eksternt søk
ogSlett frontend-cache
fra webappResultatene av arkiveringsjobbene persisteres til
/batch-archiving-jobs
i nav.no.misc repo'et.