Feature: Limit rules for to a particular duration
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- backend-api-design
Direzione di ricerca
Inizia leggendo la specifica delle policy e il comportamento esistente della durata delle policy, quindi esamina la proposta sulla durata ISO 8601 in questo issue. Definisci come deve essere rappresentata e rispettata durante gli audit la durata di una regola, inclusi gli intervalli ricorrenti. Il lavoro è completato quando la specifica delle policy descrive chiaramente la nuova funzionalità delle regole e il relativo impatto sulla compatibilità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Motivation
There are restrictions to usage of public curb which vary over the year.
E. g. in Germany, there is the famous Oktoberfest (which we'll be assuming to happen in October during the course of this issue, though it's not ;) ).
Currently, the policy features the ability to be limited to a particular duration. However, the rule inside a policy does not.
Therefore, if an agency currently wants to publish special set of rules which will be valid starting and ending within an already known timeframe, the agency needs to
- terminate the current policy before start of the additional rules
- create a new policy which includes the additional rules at the very top
- re-install the original policy after the end of the period
This is error prone, hard to visualize on a UI and tricky for operators.
Solution proposal
The rule could feature a duration property as per ISO_8601. This would not only allow to define a duration, but also recurring intervals.
Adding the duration to the rule of the same policy does not largely increase complexity as it is only respected during auditing.
Is this a breaking change
This is not breaking in the sense of technical breaking changes. However, those new restrictions to a rule would create effort at the provider's end => a major version bump is probably necessary.
Impacted Spec
For which spec is this feature being requested?
policy
Describe alternatives you've considered
Another option was to add a relationship between policies (e. g. "this special policy extends the following one"). If a rule from a special policy is applicable, the rules of the extended policy would not be evaluated. However, this idea was discarded as it introduces a new level of complexity.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 753
- Fork
- 255
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openmobilityfoundation/mobility-data-specification
-
documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
openmobilityfoundation/mobility-data-specification#994 · 4 reazioni ·
-
Policy
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
openmobilityfoundation/mobility-data-specification#996 · 1 reazione ·
-
Move Provider/Agency List out of MDS repoForse di nuovo libera @schnuerle l’ha presa 37 giorni fa e non c’è nessuna pull request aperta. Apertaidentifier change
openmobilityfoundation/mobility-data-specification#995 · 1 assegnatario ·
-
Agency Provider
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
openmobilityfoundation/mobility-data-specification#993 · 1 commento ·
-
Agency Delivery Policy Provider
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di openmobilityfoundation/mobility-data-specification
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
G-nn-r/lg_heatpump#52 ·
-
area: core bug priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
griffinwork40/agent-afk#4872 ·
I maintainer di solito rispondono entro 1 giorno
-
fleet size/m
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sipyourdrink-ltd/bernstein#7517 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
BUG-MERGE-TO-HDR-RESULT-NAMEForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
storytold/photocraft#14025 ·
I maintainer di solito rispondono entro 1 giorno