Commit da8b5e7d authored by yangjian's avatar yangjian

update AccessAndMobilitySubscriptionData

parent c087d165
......@@ -43,6 +43,8 @@ void AccessAndMobilitySubscriptionDataDocumentApi::query_am_data_handler(const P
auto ueId = request.param(":ueId").as<std::string>();
auto servingPlmnId = request.param(":servingPlmnId").as<std::string>();
//std::cout<<"********* servingPlmnId ********* "<<servingPlmnId<<std::endl;
// Getting the query params
auto fieldsQuery = request.query().get("fields");
Pistache::Optional<std::vector<std::string>> fields;
......
......@@ -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) {
response.send(Pistache::Http::Code::Ok, "query_am_data\n");
//servingPlmnId pattern: "^[0-9]{5,6}$"
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment