Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nifi-processors
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gn4-3-wp8-t3.1 SOC
nifi-processors
Commits
a2b20835
Commit
a2b20835
authored
5 years ago
by
Arne Øslebø
Browse files
Options
Downloads
Patches
Plain Diff
Added support for / in field names
parent
89f30369
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/freq/freqProcessor.py
+3
-3
3 additions, 3 deletions
scripts/freq/freqProcessor.py
with
3 additions
and
3 deletions
scripts/freq/freqProcessor.py
+
3
−
3
View file @
a2b20835
...
@@ -64,9 +64,9 @@ class FreqProcessor(AbstractProcessor):
...
@@ -64,9 +64,9 @@ class FreqProcessor(AbstractProcessor):
self
.
logger
.
info
(
"
Sucessfully loaded frequency file
"
)
self
.
logger
.
info
(
"
Sucessfully loaded frequency file
"
)
# Get field names to work with (set in configuration)
# Get field names to work with (set in configuration)
self
.
input_field_name
=
context
.
getProperty
(
"
Input Field
"
).
getValue
()
self
.
input_field_name
=
context
.
getProperty
(
"
Input Field
"
).
getValue
()
[
1
:]
self
.
result1_field_name
=
context
.
getProperty
(
"
Result Field 1
"
).
getValue
()
self
.
result1_field_name
=
context
.
getProperty
(
"
Result Field 1
"
).
getValue
()
[
1
:]
self
.
result2_field_name
=
context
.
getProperty
(
"
Result Field 2
"
).
getValue
()
self
.
result2_field_name
=
context
.
getProperty
(
"
Result Field 2
"
).
getValue
()
[
1
:]
try
:
try
:
flowfile
=
session
.
get
()
flowfile
=
session
.
get
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment