Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
a
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yusei Tahara
a
Commits
c0628fbb
Commit
c0628fbb
authored
Dec 26, 2016
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
d22f2f7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
request_fluentd_instance.py
request_fluentd_instance.py
+24
-0
No files found.
request_fluentd_instance.py
0 → 100644
View file @
c0628fbb
import
json
software_url
=
'https://lab.nexedi.cn/yusei/fluentd/raw/master/software.cfg'
computer_id
=
'local_computer'
parameter_dict
=
{
"input_format"
:
"none"
,
"wendelin_streamtool_uri"
:
"https://xxx/erp5/portal_ingestion_policies/xxx"
,
"wendelin_tag"
:
"xxx"
,
"wendelin_user"
:
"xxx"
,
"wendelin_password"
:
"xxx"
}
# Choose a title
title
=
"fluentd"
request
(
software_url
,
title
,
filter_kw
=
{
'computer_guid'
:
computer_id
},
software_type
=
'default'
,
partition_parameter_kw
=
{
'_'
:
json
.
dumps
(
parameter_dict
,
sort_keys
=
True
,
indent
=
2
),
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment