Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
de063483
Commit
de063483
authored
Nov 05, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
b36a86ff
0fedfa7a
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
32 additions
and
17 deletions
+32
-17
software/jstestnode/buildout.hash.cfg
software/jstestnode/buildout.hash.cfg
+1
-1
software/jstestnode/runTestSuite.in
software/jstestnode/runTestSuite.in
+1
-1
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+3
-3
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
+2
-2
software/ors-amarisoft/instance-epc.jinja2.cfg
software/ors-amarisoft/instance-epc.jinja2.cfg
+2
-2
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
+2
-2
software/theia/test/bogus/README.md
software/theia/test/bogus/README.md
+3
-0
software/theia/test/bogus/software.cfg.json
software/theia/test/bogus/software.cfg.json
+6
-0
software/theia/test/dummy/software.cfg.json
software/theia/test/dummy/software.cfg.json
+6
-0
software/theia/test/test.py
software/theia/test/test.py
+6
-6
No files found.
software/jstestnode/buildout.hash.cfg
View file @
de063483
...
@@ -27,4 +27,4 @@ md5sum = 98faa5ad8cfb23a11d97a459078a1d05
...
@@ -27,4 +27,4 @@ md5sum = 98faa5ad8cfb23a11d97a459078a1d05
[template-runTestSuite]
[template-runTestSuite]
filename = runTestSuite.in
filename = runTestSuite.in
md5sum =
54d585d50a3464100611774db68b72c0
md5sum =
2bb3d71a0e04bc8bc828bb3f726ef3ff
software/jstestnode/runTestSuite.in
View file @
de063483
...
@@ -122,7 +122,7 @@ def main():
...
@@ -122,7 +122,7 @@ def main():
if ('jio' in test_suite):
if ('jio' in test_suite):
url = f'{remote_access_url}/jio/test/tests.html'
url = f'{remote_access_url}/jio/test/tests.html'
else:
else:
url = f'{remote_access_url}/renderjs/test'
url = f'{remote_access_url}/renderjs/test
/
'
is_browser_running = True
is_browser_running = True
agent = browser.execute_script("return navigator.userAgent")
agent = browser.execute_script("return navigator.userAgent")
...
...
software/ors-amarisoft/buildout.hash.cfg
View file @
de063483
...
@@ -20,7 +20,7 @@ md5sum = 6e5c63c35b13f8920ea13e24c27d7b50
...
@@ -20,7 +20,7 @@ md5sum = 6e5c63c35b13f8920ea13e24c27d7b50
[template-lte-enb-epc]
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
md5sum =
7f8f92ff218c40c843a102953c7695f8
md5sum =
80a239305950ed76b5279647f422478f
[template-lte-enb]
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
...
@@ -28,11 +28,11 @@ md5sum = 04dbc8396cb112e86d5d1564df033b82
...
@@ -28,11 +28,11 @@ md5sum = 04dbc8396cb112e86d5d1564df033b82
[template-lte-gnb-epc]
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
md5sum = d
83b5569e258770774cb6028d93a4a70
md5sum = d
adb76e747faeea18c387109c3319dfd
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
md5sum =
d310dee0de054e10d77f036199297b3f
md5sum =
9ffc54bf10757403c4b1809d1102ea52
[template-lte-gnb]
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
View file @
de063483
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
log = ${:var}/log
log = ${:var}/log
[request-common-base]
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
@@ -67,7 +67,7 @@ software-type = mme
...
@@ -67,7 +67,7 @@ software-type = mme
config-name = mme
config-name = mme
{%- for key, value in slapparameter_dict.items() %}
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
config-slave-list = {{ dumps(slave_instance_list) }}
config-slave-list = {{ dumps(slave_instance_list) }}
return = monitor-base-url epc-ipv6
return = monitor-base-url epc-ipv6
...
...
software/ors-amarisoft/instance-epc.jinja2.cfg
View file @
de063483
...
@@ -47,7 +47,7 @@ promise = ${:etc}/promise
...
@@ -47,7 +47,7 @@ promise = ${:etc}/promise
log = ${:var}/log
log = ${:var}/log
[request-common-base]
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
@@ -67,7 +67,7 @@ software-type = mme
...
@@ -67,7 +67,7 @@ software-type = mme
config-name = mme
config-name = mme
{%- for key, value in slapparameter_dict.items() %}
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
config-slave-list = {{ dumps(slave_instance_list) }}
config-slave-list = {{ dumps(slave_instance_list) }}
[monitor-base-url-dict]
[monitor-base-url-dict]
...
...
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
View file @
de063483
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
...
@@ -48,7 +48,7 @@ promise = ${:etc}/promise
log = ${:var}/log
log = ${:var}/log
[request-common-base]
[request-common-base]
recipe = slapos.cookbook:request.serialised
recipe = slapos.cookbook:request
optional
.serialised
software-url = {{ slap_connection['software-release-url'] }}
software-url = {{ slap_connection['software-release-url'] }}
server-url = {{ slap_connection['server-url'] }}
server-url = {{ slap_connection['server-url'] }}
computer-id = {{ slap_connection['computer-id'] }}
computer-id = {{ slap_connection['computer-id'] }}
...
@@ -78,7 +78,7 @@ software-type = gnb
...
@@ -78,7 +78,7 @@ software-type = gnb
config-name = gnb
config-name = gnb
{%- for key, value in slapparameter_dict.items() %}
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
return = monitor-base-url
return = monitor-base-url
[monitor-base-url-dict]
[monitor-base-url-dict]
...
...
software/theia/test/bogus/README.md
0 → 100644
View file @
de063483
# Bogus Software
A bogus non-SR that only has a JSON schema so that requesting it works.
software/theia/test/bogus/software.cfg.json
0 → 100644
View file @
de063483
{
"name"
:
"Bogus"
,
"description"
:
"Bogus"
,
"serialisation"
:
"json-in-xml"
,
"software-type"
:
{}
}
software/theia/test/dummy/software.cfg.json
0 → 100644
View file @
de063483
{
"name"
:
"Dummy"
,
"description"
:
"Dummy"
,
"serialisation"
:
"xml"
,
"software-type"
:
{}
}
software/theia/test/test.py
View file @
de063483
...
@@ -275,9 +275,9 @@ class TestTheiaEmbeddedSlapOSShutdown(TheiaTestCase):
...
@@ -275,9 +275,9 @@ class TestTheiaEmbeddedSlapOSShutdown(TheiaTestCase):
class
TestTheiaWithEmbeddedInstance
(
TheiaTestCase
):
class
TestTheiaWithEmbeddedInstance
(
TheiaTestCase
):
sr_url
=
'~/bogus/sr/url.cfg'
sr_url
=
os
.
path
.
abspath
(
'dummy/software.cfg'
)
sr_type
=
'
bogus
-type'
sr_type
=
'
dummy
-type'
sr_config
=
{
"
bogus
"
:
"yes"
}
sr_config
=
{
"
dummy
"
:
"yes"
}
regexpr
=
re
.
compile
(
r"([\
w/
\-\
.]+)
\s+slaprunner\
s+
available"
)
regexpr
=
re
.
compile
(
r"([\
w/
\-\
.]+)
\s+slaprunner\
s+
available"
)
@
classmethod
@
classmethod
...
@@ -326,9 +326,9 @@ class TestTheiaWithEmbeddedInstance(TheiaTestCase):
...
@@ -326,9 +326,9 @@ class TestTheiaWithEmbeddedInstance(TheiaTestCase):
self
.
assertEmbedded
(
initial_sr_url
,
self
.
sr_type
,
self
.
sr_config
)
self
.
assertEmbedded
(
initial_sr_url
,
self
.
sr_type
,
self
.
sr_config
)
# Change parameters for embedded instance
# Change parameters for embedded instance
sr_url
=
'/bogus/sr/url-2.cfg'
sr_url
=
os
.
path
.
abspath
(
'bogus/software.cfg'
)
sr_type
=
'bogus-type
-2
'
sr_type
=
'bogus-type'
sr_config
=
{
"bogus
-2
"
:
"true"
}
sr_config
=
{
"bogus"
:
"true"
}
self
.
requestInstance
(
self
.
requestInstance
(
self
.
getInstanceParameterDict
(
sr_url
,
sr_type
,
sr_config
))
self
.
getInstanceParameterDict
(
sr_url
,
sr_type
,
sr_config
))
self
.
waitForInstance
()
self
.
waitForInstance
()
...
...
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