Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Code Block |
---|
@Modified public booleanvoid modified(ComponentContext context) { Dictionary<?, ?> properties = context.getProperties(); String s = Tools.get(properties, "newMaxEvents"); maxEvents = Strings.isNullOrEmpty(s) ? DEFAULT_MAX_EVENTS : Integer.parseInt(s.trim()) s = Tools.get(properties, "notificationEmail"); notificationEmail = Strings.isNullOrEmpty(s) ? DEFAULT_EMAIL : s; ... } |
...
Code Block |
---|
<plugins> ... <plugin> <groupId>org.onosproject</groupId> <artifactId>onos-maven-plugin</artifactId> <version>1.4-SNAPSHOT<9</version> <executions> <execution> <id>app</id> <phase>generate-resources</phase> <goals> <goal>cfg</goal> </goals> </execution> </executions> </plugin> ... </plugins> |
...