Age | Commit message (Collapse) | Author | Files | Lines |
|
A module is created with specific class methods
to perform particular simulator services' lifecycle
operations.
Change-Id: I467360ab304a00f049bf53c3958e42f445f2d75b
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Improves testability (TBD)
Change-Id: I0c4845f85d14b49b4702270ffad537a19c1c7df7
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Main input options were turned into subcommands
for improved CLI user experience.
Input parameters handling and validation logic was
moved out of the code to argparse native facilities.
Updated the doc around script usage details.
Change-Id: Ifaa2a0e49f2a0b5b677020307dc74942c422bbe1
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Issue-ID: INT-1355
Change-Id: I3172f1aacebc7f226472dac1259d35c50f520473
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
|
|
Issue-ID: SECCOM-261
Change-Id: Id4d14cf0997310b7e039fe3f5e18ea72a4f3d71c
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Both closed and filtered ports should be droppped from scan results to
maintain compatibility with "check_for_nonssl_endpoints.sh" script.
Issue-ID: SECCOM-261
Change-Id: Ic422bebf6e46bcc42a3e5198e7702bb8b901287f
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Python method str.format allows easy templating using substitutions
identified by braces ('{' and '}'). Using two levels of nested
substitutions can be achieved by doubling braces ("{{" and "}}").
Hound configuration creator script was supposed to use two levels of
nested substitutions and still leave braced components within the
templated string for further substitution by the Hound tool. This would
require using multitude of braces which would decrease readability
significantly.
This is why code location template is appended to the code base URL at
the latest.
If there will be need for more levels of nested templates, this code
shall be further refactored to use only named fields, str.format_map()
(available in Python 3.2+) and SafeDict, e.g.
>>> class SafeDict(dict):
... def __missing__(self, key):
... return '{' + key + '}'
...
which would leave braced components within the processed template in
case given key is missing.
Issue-ID: ONAPARC-579
Change-Id: I420d076867aa891edb2a945a8cd58e168c892ac3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
|
|
Change-Id: I5bd36b364cd033d0d468c81f345be9255e7adb85
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Use formatted string literals to make the code more
readable.
Change-Id: I712f887d73c29aacc5766052835f377a63e9eb06
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ic8e9eab90c537584b2c771bdeb59c0b43deb992e
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This prevents obscured output when redirecting output to
a file descriptor.
Change-Id: Ie56b6f65b1d2adffc69d3f75a9c8f98c0444faa8
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Modified description of procedure to upload polcies
used for TD procedure and OOF.
Change-Id: I6e3760f2d2308a36388971e66280df3d3d35f224
Issue-ID: INT-1277
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
|
|
Issue-ID: INT-1585
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ia2682bc293ea403b56d3f4d27d6a1c219e6e90eb
|
|
Adds '--verbose' option and leverages 'logging' module
facilities.
Change-Id: I9b079c476949788678167afb1ed115ad4490d99c
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I43b1c47509afef0f25176e244ab2f6f565afbc3b
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
The hassle of casting and validating input options values is moved
from the script logic directly into the ArgumentParser's object
instantiation.
Change-Id: I79ed80286d1219f841d496538acdc50d2113d723
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I0c8cd452fbf740f3b1c7988bf7aa7341a747c75e
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Show usage if no option provided.
Change-Id: I1ed01464f4b689e6b716887e7719e8de6c0f1e42
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
ROP_file_creator.sh spawns 'sleep' cmd as a child
hence it needs to be killed as well on clean up.
Change-Id: Ic2007e710b6efa0028ebd239f26b7eff6a9e04ea
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
The update must be scoped by a lock on yang module
Other changes:
- 'action' field no longer deleted; handling CREATED/MODIFIED events on
this field
- Configurable delay on timed-transitions via SWUG_TIMED_TRANSITION_TO
environment variable
Issue-ID: INT-1516
Change-Id: I22fb7b558ae371b6cff487633eae606f8fe535e1
Signed-off-by: ebo <eliezio.oliveira@est.tech>
|
|
Issue-ID: VFC-1668
Change-Id: Id66215e9b12a5aa5ac8d99ab734bd51c0bb3b1fc
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
|
|
Issue-ID: INT-1572
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: If307c3028372fc729aa848ff8d2b4042442aa313
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Issue-ID: VFC-1668
Change-Id: I5fc41873f7a31e4c67669ea8bb07b674bc434cec
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
|
|
Issue-ID: INT-1285
Change-Id: I6a365b56207ae3d21e8a6601f1110914d841160c
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
|
|
The documentation for vFW Traffic Distributino use case
evolves to vFW InPlace Upgrade with TD one. There is
changed description of the use case purpose, the workflow,
the configuration procedure and information about the
way of testing.
Change-Id: I1e68d46871864b4e65df553355b3a11d86b4c9cb
Issue-ID: INT-1277
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
|
|
Issue-ID: INT-1564
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I32d9e25e4d4d0bfab7fdfa5979db266a0826604c
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
- Also updating openstack cli to py3 to fix import issues
Issue-ID: INT-1557
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I99cbc68614e0fcc8fd0572fd7c44c7cd431b215b
|
|
- fix json errors
- fix not related rst error
(due to a broken link as jira.opnfv.org is no more responding)
Issue-ID: INT-1285
Change-Id: I733a491c4204334fc532abcf9dbbdc2226900d5b
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Change-Id: Ia29f79227e21e623489a7b340496f18def5f7a52
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I0c0ea8612e0f0ac6b2198dc78908bd604f5ad61c
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I7218c5ca61669197d1e79189e841b0062524c02d
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I52079b276332c0bf2ffcea047ab8129066aff185
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Issue-ID: INT-1536
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: I27a213493377c4af80f914f3d8983b6d37ee6da1
|
|
The crash was caused by:
- the '--permanent' option while updating the ietf-keystore by
sysrepocfg
- missing some Yang modules on sysrepo installation
Other changes:
1. Added TLS integration tests, including reconfiguration
2. reconfigure-*.sh are now synchronous, only returnig after restart is
completed
Issue-ID: INT-1516
Change-Id: Iddc03fc968aaab60931596045437ba0c78448b08
Signed-off-by: ebo <eliezio.oliveira@est.tech>
|
|
Issue-ID: INT-1536
Signed-off-by: Marco Platania <platania@research.att.com>
Change-Id: Ic16b339332033cd487cf19458464c1dc86c61d65
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Functional test for verifying that the service handles
bad API prefix in URI string properly and returns appropriate
response to the client.
Change-Id: I5e5e8a9dcd6fe05bd2b4536790d16e825aa21679
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Functional test for verifying that the service handles
bad MOI class in URI string properly and returns appropriate
response to the client.
Change-Id: I606aaba5c400f81e8142a34f250bc249251feaf7
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Functional test for verifying that the service forbids
API access with proper http code and message should
the client provide wrong auth credentials.
Change-Id: I78d5f050e99c23fd7116468ff007078b3cd56987
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Should the URI prefix length in the request be incorrect
and not contain two "/" the service would fail with "empty
response" on client side due to unhandled "list index
out of range" in the server process while trying to get
the idName from pathlist[4] which throws IndexError.
Prefix validation, id and class variable assignment are
wrapped up in try-except clause to evaluate the prefix check
correctly, catch the exception and return appropriate response
to the client.
Change-Id: If6333228fbdd3a8075ade55436c3ca9bb8a97caa
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
The correct http code for wrong REST API url should
be http "404 Not Found", not "401 Unauthorized".
Change-Id: I78710fcd4c43926dbba3227c4099bf6239095f19
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
File layout was also restructured for better
readability.
Change-Id: Id1cba755127319c45ec50b08d12daa543c8c9ae5
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Pytest setup as entrypoint to gating job in CI.
Change-Id: If052af0f7c8272844f644cb3789dbc3a8451c629
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This adds additional unit tests for the service provider for
PATCH and DELETE request methods.
Change-Id: If0cce9c713f2999c859910661308c24ac68f04d6
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This adds pytest based unit tests for the service provider.
Testing PUT and GET requests is covered within this patch.
Change-Id: Id9bcb870b032c6fce64985a5fd501bbd44031f50
Issue-ID: INT-1529
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
- Modify the linter to use sphinx linters (no coala bean)
- Fix all broken links
- fix minor rst issue
- Add regex in ignore link (for ONAP URL and frankfurt doc)
The rst target defined in tox will execute 3 steps:
- local build of the documentation
- check of the url
Note 1: for the moment the Warning have not been turned into Error
Note 2: frankfurt exeption shall be removed when frankfurt branch is available
Issue-ID: INT-1523
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I6d7ad9d293a1b5c01f05a021d9a6f3767d04e62f
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
to aid troubleshooting integration with OpenDaylight
- Add more integration tests
- Defaults to generic subscriber
Issue-ID: INT-1516
Change-Id: Ib5bbf4cdbba6cdfee901f6c07dfa195a21cd8bbb
Signed-off-by: ebo <eliezio.oliveira@est.tech>
|
|
Change-Id: I430b3c8743d103f5e4bb6396a151495cc31843d6
Issue-ID: INT-1508
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Issue-ID: INT-1523
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056
Signed-off-by: mrichomme <morgan.richomme@orange.com>
|
|
Required change for the forthcoming fix on tox execution in
ci-management/jjb/integration/integration-docker.yaml
Issue-ID: INT-1124
Change-Id: I70c3351e5cf691a9eaeb7b49ec276d825016e0fa
Signed-off-by: ebo <eliezio.oliveira@est.tech>
|
|
This version was upgraded to 0.8.9 on 2020-04-09.
Fortunately the new 0.9.4 fixes the bug that was forcing us to use
the old 0.8.x
Issue-ID: INT-1124
Change-Id: I6dacac8925af047d2e5342a76da6eb221074ddd9
Signed-off-by: ebo <eliezio.oliveira@est.tech>
|