AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

DeploymentRuleset: add matching logic for rules

Aperta
#830 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
deployment ruleset
Lingua principale
Java
Stelle
268
Fork
96
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Implement matching of rules according to https://docs.oracle.com/javase/10/deploy/deployment-rule-set.htm#GUID-413F29CF-81B5-4154-9C52-22D993819C2B

In the class `net.adoptopenjdk.icedteaweb.deploymentrules.Rule` there is a TODO in the method `matches`.

Please add the missing implementation and also include tests.

Inspiration can be drawn from the class `ParsedWhitelistEntry`

Decide how to react if a rule has any of the following elements or attributes set:
* title
* certificate
* checksum
* jnlp-checksum

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Read the TODO in net.adoptopenjdk.icedteaweb.deploymentrules.Rule.matches and compare its expected behavior with the Java deployment rule set specification. Use ParsedWhitelistEntry as the stated inspiration, then add tests covering matching and rules containing title, certificate, checksum, or jnlp-checksum; done means the missing logic is implemented and the tests pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
desktop
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.