File tree Expand file tree Collapse file tree 6 files changed +14
-197
lines changed
java/com/overops/udf/snapshot
my-udfs/src/main/java/com/example/udf/helloworld Expand file tree Collapse file tree 6 files changed +14
-197
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ subprojects {
33 apply plugin : ' maven'
44 apply plugin : ' eclipse'
55
6- group = ' com.example '
7- version = ' 1.0.5 '
6+ group = ' com.overops '
7+ version = ' 1.0.0 '
88
99 repositories {
1010 mavenCentral()
Original file line number Diff line number Diff line change 11apply plugin : ' eu.appsatori.fatjar'
22
3- archivesBaseName = ' my-udfs '
3+ archivesBaseName = ' force-snapshot '
44
55buildscript {
66 repositories {
@@ -26,16 +26,16 @@ fatJar {
2626 exclude ' META-INF/maven'
2727 exclude ' META-INF/*.example'
2828 manifest {
29- attributes ' Main-Class' : ' MyUDFs '
29+ attributes ' Main-Class' : ' ForceSnapshot '
3030 }
3131}
3232
3333uploadArchives {
3434 repositories {
3535 mavenDeployer {
3636 pom. project {
37- name ' my-udfs '
38- description ' My User Defined Functions extending OverOps '
37+ name ' force-snapshot '
38+ description ' Force Snapshot User Defined Function '
3939
4040 licenses {
4141 license {
@@ -45,9 +45,9 @@ uploadArchives {
4545 }
4646
4747 scm {
48- connection ' scm:git:https://github.com/takipi-field/udf/tree/master/my-udfs '
49- developerConnection ' scm:git:https://github.com/takipi-field/udf/tree/master/my-udfs '
50- url ' https://github.com/takipi-field/udf/tree/master/my-udfs '
48+ connection ' scm:git:https://github.com/takipi-field/udf/tree/force-snapshot/force-snapshot '
49+ developerConnection ' scm:git:https://github.com/takipi-field/udf/tree/force-snapshot/force-snapshot '
50+ url ' https://github.com/takipi-field/udf/tree/force-snapshot/force-snapshot '
5151 }
5252 }
5353 }
Original file line number Diff line number Diff line change 1- package com .example .udf .snapshot ;
1+ package com .overops .udf .snapshot ;
22
33import java .util .ArrayList ;
44import java .util .List ;
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<udf_manifest >
3- <version >1.0.2 </version >
4- <library_name >my-udfs </library_name >
3+ <version >1.0.0 </version >
4+ <library_name >force-snapshot </library_name >
55 <backwards_compatible >true</backwards_compatible >
66 <functions >
77 <function >
1111 Force a snapshot the next time an event occurs for every event that has occurred in the last {timespan} minutes.
1212 </description >
1313 <param_type >TEXT</param_type >
14- <class_file >com.example .udf.snapshot.ForceSnapshotFunction</class_file >
14+ <class_file >com.overops .udf.snapshot.ForceSnapshotFunction</class_file >
1515 <default_params >
1616 # Get events from the last {timespan} minutes
1717 timespan=5
1818 </default_params >
1919 <admin_function >true</admin_function >
2020 </function >
21- <function >
22- <function_type >CHANNEL</function_type >
23- <function_name >Hello World</function_name >
24- <description >
25- Simple "Hello, World!" UDF that applies a label to events.
26- </description >
27- <param_type >TEXT</param_type >
28- <class_file >com.example.udf.helloworld.HelloWorldFunction</class_file >
29- <default_params >
30- # Label to apply to events
31- label=Hello_World
32- </default_params >
33- </function >
3421 </functions >
3522</udf_manifest >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11rootProject. name = " udf"
2- include " my-udfs "
2+ include " force-snapshot "
You can’t perform that action at this time.
0 commit comments