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
8a491703
Commit
8a491703
authored
Dec 26, 2016
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
06d1b7d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
request_wendelin_instance.py
request_wendelin_instance.py
+44
-0
No files found.
request_wendelin_instance.py
0 → 100644
View file @
8a491703
import
json
computer_id
=
'local_computer'
parameter_dict
=
{
"timezone"
:
"JST-9"
,
"site-id"
:
"erp5"
,
"bt5"
:
"erp5_full_text_myisam_catalog erp5_configurator_standard erp5_wendelin_configurator"
,
"developer-list"
:
[
"zope"
],
"zope-partition-dict"
:
{
"admin"
:
{
"family"
:
"admin"
,
"thread-amount"
:
4
,
"port-base"
:
2220
,
"instance-count"
:
1
},
"activities-node"
:
{
"family"
:
"activities"
,
"thread-amount"
:
4
,
"instance-count"
:
1
,
"timerserver-interval"
:
1
,
"port-base"
:
2230
},
"distribution-node"
:
{
"family"
:
"distribution"
,
"thread-amount"
:
1
,
"instance-count"
:
1
,
"port-base"
:
2210
,
"timerserver-interval"
:
1
}
}
}
# Choose a title
title
=
"wendelin"
request
(
software_url
,
title
,
filter_kw
=
{
'computer_guid'
:
computer_id
},
software_type
=
'create-erp5-site'
,
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