Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-NRF
Commits
4242ad39
Commit
4242ad39
authored
Jan 19, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for UUID validation
parent
b84d1cd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/common/utils/api_conversions.cpp
src/common/utils/api_conversions.cpp
+1
-1
src/nrf_app/nrf_app.cpp
src/nrf_app/nrf_app.cpp
+1
-1
No files found.
src/common/utils/api_conversions.cpp
View file @
4242ad39
...
...
@@ -400,6 +400,6 @@ patch_op_type_t api_conv::string_to_patch_operation(const std::string& str) {
bool
api_conv
::
validate_uuid
(
const
std
::
string
&
str
)
{
// should be verified with Capital letter
static
const
std
::
regex
e
(
"[a-f0-9]{8}-[a-f0-9]{4}-
4
[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}"
);
"[a-f0-9]{8}-[a-f0-9]{4}-
[0-5]
[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}"
);
return
regex_match
(
str
,
e
);
}
src/nrf_app/nrf_app.cpp
View file @
4242ad39
...
...
@@ -269,7 +269,7 @@ void nrf_app::handle_update_nf_instance(
// timer
if
(
sn
.
get
()
->
unsubscribe_heartbeat_timeout_nfregistration
())
{
// Sleep 10ms to avoid Boost connection related issue
unsigned
int
microsecond
=
10000
;
// 1
0ms
unsigned
int
microsecond
=
50000
;
// 5
0ms
usleep
(
microsecond
);
ms
=
std
::
chrono
::
duration_cast
<
std
::
chrono
::
milliseconds
>
(
std
::
chrono
::
system_clock
::
now
().
time_since_epoch
())
...
...
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