Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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-UDR
Commits
da8b5e7d
Commit
da8b5e7d
authored
Jan 07, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update AccessAndMobilitySubscriptionData
parent
c087d165
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
+3
-1
impl/AccessAndMobilitySubscriptionDataDocumentApiImpl.cpp
impl/AccessAndMobilitySubscriptionDataDocumentApiImpl.cpp
+1
-1
No files found.
api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
View file @
da8b5e7d
...
@@ -43,6 +43,8 @@ void AccessAndMobilitySubscriptionDataDocumentApi::query_am_data_handler(const P
...
@@ -43,6 +43,8 @@ void AccessAndMobilitySubscriptionDataDocumentApi::query_am_data_handler(const P
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
auto
servingPlmnId
=
request
.
param
(
":servingPlmnId"
).
as
<
std
::
string
>
();
auto
servingPlmnId
=
request
.
param
(
":servingPlmnId"
).
as
<
std
::
string
>
();
//std::cout<<"********* servingPlmnId ********* "<<servingPlmnId<<std::endl;
// Getting the query params
// Getting the query params
auto
fieldsQuery
=
request
.
query
().
get
(
"fields"
);
auto
fieldsQuery
=
request
.
query
().
get
(
"fields"
);
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
fields
;
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
fields
;
...
...
impl/AccessAndMobilitySubscriptionDataDocumentApiImpl.cpp
View file @
da8b5e7d
...
@@ -25,7 +25,7 @@ AccessAndMobilitySubscriptionDataDocumentApiImpl::AccessAndMobilitySubscriptionD
...
@@ -25,7 +25,7 @@ AccessAndMobilitySubscriptionDataDocumentApiImpl::AccessAndMobilitySubscriptionD
void
AccessAndMobilitySubscriptionDataDocumentApiImpl
::
query_am_data
(
const
std
::
string
&
ueId
,
const
std
::
string
&
servingPlmnId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifNoneMatch
,
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifModifiedSince
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
void
AccessAndMobilitySubscriptionDataDocumentApiImpl
::
query_am_data
(
const
std
::
string
&
ueId
,
const
std
::
string
&
servingPlmnId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifNoneMatch
,
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifModifiedSince
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"query_am_data
\n
"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"query_am_data
\n
"
);
//servingPlmnId pattern: "^[0-9]{5,6}$"
}
}
}
}
...
...
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