Skip to content

Commit 96bab78

Browse files
committed
ONS SDK Auto Released By wenting.ywt,Version:1.35.3
Signed-off-by: haowei.yao <[email protected]>
1 parent 55ec616 commit 96bab78

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+206
-201
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-03-29 Version: 1.35.3
2+
1, Add DLQ message openAPI.
3+
2, Add Query the subscription relational openAPI.
4+
3, Remove white list restrictions.
5+
16
2019-03-28 Version: 1.35.2
27
1, release bssopenapi
38

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.35.2
1+
1.35.3

ons/src/model/OnsConsumerAccumulateRequest.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsConsumerAccumulateRequest::getPreventCache()const
3333
void OnsConsumerAccumulateRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsConsumerAccumulateRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsConsumerAccumulateRequest::getInstanceId()const
4444
void OnsConsumerAccumulateRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsConsumerAccumulateRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsConsumerAccumulateRequest::getGroupId()const
5555
void OnsConsumerAccumulateRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
bool OnsConsumerAccumulateRequest::getDetail()const
@@ -66,6 +66,6 @@ bool OnsConsumerAccumulateRequest::getDetail()const
6666
void OnsConsumerAccumulateRequest::setDetail(bool detail)
6767
{
6868
detail_ = detail;
69-
setParameter("Detail", detail ? "true" : "false");
69+
setCoreParameter("Detail", detail ? "true" : "false");
7070
}
7171

ons/src/model/OnsConsumerGetConnectionRequest.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsConsumerGetConnectionRequest::getPreventCache()const
3333
void OnsConsumerGetConnectionRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsConsumerGetConnectionRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsConsumerGetConnectionRequest::getInstanceId()const
4444
void OnsConsumerGetConnectionRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsConsumerGetConnectionRequest::getGroupId()const
@@ -55,6 +55,6 @@ std::string OnsConsumerGetConnectionRequest::getGroupId()const
5555
void OnsConsumerGetConnectionRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

ons/src/model/OnsConsumerResetOffsetRequest.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsConsumerResetOffsetRequest::getPreventCache()const
3333
void OnsConsumerResetOffsetRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsConsumerResetOffsetRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsConsumerResetOffsetRequest::getInstanceId()const
4444
void OnsConsumerResetOffsetRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsConsumerResetOffsetRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsConsumerResetOffsetRequest::getGroupId()const
5555
void OnsConsumerResetOffsetRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
std::string OnsConsumerResetOffsetRequest::getTopic()const
@@ -66,7 +66,7 @@ std::string OnsConsumerResetOffsetRequest::getTopic()const
6666
void OnsConsumerResetOffsetRequest::setTopic(const std::string& topic)
6767
{
6868
topic_ = topic;
69-
setParameter("Topic", topic);
69+
setCoreParameter("Topic", topic);
7070
}
7171

7272
long OnsConsumerResetOffsetRequest::getResetTimestamp()const
@@ -77,7 +77,7 @@ long OnsConsumerResetOffsetRequest::getResetTimestamp()const
7777
void OnsConsumerResetOffsetRequest::setResetTimestamp(long resetTimestamp)
7878
{
7979
resetTimestamp_ = resetTimestamp;
80-
setParameter("ResetTimestamp", std::to_string(resetTimestamp));
80+
setCoreParameter("ResetTimestamp", std::to_string(resetTimestamp));
8181
}
8282

8383
int OnsConsumerResetOffsetRequest::getType()const
@@ -88,6 +88,6 @@ int OnsConsumerResetOffsetRequest::getType()const
8888
void OnsConsumerResetOffsetRequest::setType(int type)
8989
{
9090
type_ = type;
91-
setParameter("Type", std::to_string(type));
91+
setCoreParameter("Type", std::to_string(type));
9292
}
9393

ons/src/model/OnsConsumerStatusRequest.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsConsumerStatusRequest::getPreventCache()const
3333
void OnsConsumerStatusRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsConsumerStatusRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsConsumerStatusRequest::getInstanceId()const
4444
void OnsConsumerStatusRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
bool OnsConsumerStatusRequest::getNeedJstack()const
@@ -55,7 +55,7 @@ bool OnsConsumerStatusRequest::getNeedJstack()const
5555
void OnsConsumerStatusRequest::setNeedJstack(bool needJstack)
5656
{
5757
needJstack_ = needJstack;
58-
setParameter("NeedJstack", needJstack ? "true" : "false");
58+
setCoreParameter("NeedJstack", needJstack ? "true" : "false");
5959
}
6060

6161
std::string OnsConsumerStatusRequest::getGroupId()const
@@ -66,7 +66,7 @@ std::string OnsConsumerStatusRequest::getGroupId()const
6666
void OnsConsumerStatusRequest::setGroupId(const std::string& groupId)
6767
{
6868
groupId_ = groupId;
69-
setParameter("GroupId", groupId);
69+
setCoreParameter("GroupId", groupId);
7070
}
7171

7272
bool OnsConsumerStatusRequest::getDetail()const
@@ -77,6 +77,6 @@ bool OnsConsumerStatusRequest::getDetail()const
7777
void OnsConsumerStatusRequest::setDetail(bool detail)
7878
{
7979
detail_ = detail;
80-
setParameter("Detail", detail ? "true" : "false");
80+
setCoreParameter("Detail", detail ? "true" : "false");
8181
}
8282

ons/src/model/OnsConsumerTimeSpanRequest.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsConsumerTimeSpanRequest::getPreventCache()const
3333
void OnsConsumerTimeSpanRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsConsumerTimeSpanRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsConsumerTimeSpanRequest::getInstanceId()const
4444
void OnsConsumerTimeSpanRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsConsumerTimeSpanRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsConsumerTimeSpanRequest::getGroupId()const
5555
void OnsConsumerTimeSpanRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
std::string OnsConsumerTimeSpanRequest::getTopic()const
@@ -66,6 +66,6 @@ std::string OnsConsumerTimeSpanRequest::getTopic()const
6666
void OnsConsumerTimeSpanRequest::setTopic(const std::string& topic)
6767
{
6868
topic_ = topic;
69-
setParameter("Topic", topic);
69+
setCoreParameter("Topic", topic);
7070
}
7171

ons/src/model/OnsDLQMessageGetByIdRequest.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsDLQMessageGetByIdRequest::getPreventCache()const
3333
void OnsDLQMessageGetByIdRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsDLQMessageGetByIdRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsDLQMessageGetByIdRequest::getInstanceId()const
4444
void OnsDLQMessageGetByIdRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsDLQMessageGetByIdRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsDLQMessageGetByIdRequest::getGroupId()const
5555
void OnsDLQMessageGetByIdRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
std::string OnsDLQMessageGetByIdRequest::getMsgId()const
@@ -66,6 +66,6 @@ std::string OnsDLQMessageGetByIdRequest::getMsgId()const
6666
void OnsDLQMessageGetByIdRequest::setMsgId(const std::string& msgId)
6767
{
6868
msgId_ = msgId;
69-
setParameter("MsgId", msgId);
69+
setCoreParameter("MsgId", msgId);
7070
}
7171

ons/src/model/OnsDLQMessagePageQueryByGroupIdRequest.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsDLQMessagePageQueryByGroupIdRequest::getPreventCache()const
3333
void OnsDLQMessagePageQueryByGroupIdRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsDLQMessagePageQueryByGroupIdRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsDLQMessagePageQueryByGroupIdRequest::getInstanceId()const
4444
void OnsDLQMessagePageQueryByGroupIdRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsDLQMessagePageQueryByGroupIdRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsDLQMessagePageQueryByGroupIdRequest::getGroupId()const
5555
void OnsDLQMessagePageQueryByGroupIdRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
int OnsDLQMessagePageQueryByGroupIdRequest::getPageSize()const
@@ -66,7 +66,7 @@ int OnsDLQMessagePageQueryByGroupIdRequest::getPageSize()const
6666
void OnsDLQMessagePageQueryByGroupIdRequest::setPageSize(int pageSize)
6767
{
6868
pageSize_ = pageSize;
69-
setParameter("PageSize", std::to_string(pageSize));
69+
setCoreParameter("PageSize", std::to_string(pageSize));
7070
}
7171

7272
long OnsDLQMessagePageQueryByGroupIdRequest::getEndTime()const
@@ -77,7 +77,7 @@ long OnsDLQMessagePageQueryByGroupIdRequest::getEndTime()const
7777
void OnsDLQMessagePageQueryByGroupIdRequest::setEndTime(long endTime)
7878
{
7979
endTime_ = endTime;
80-
setParameter("EndTime", std::to_string(endTime));
80+
setCoreParameter("EndTime", std::to_string(endTime));
8181
}
8282

8383
long OnsDLQMessagePageQueryByGroupIdRequest::getBeginTime()const
@@ -88,7 +88,7 @@ long OnsDLQMessagePageQueryByGroupIdRequest::getBeginTime()const
8888
void OnsDLQMessagePageQueryByGroupIdRequest::setBeginTime(long beginTime)
8989
{
9090
beginTime_ = beginTime;
91-
setParameter("BeginTime", std::to_string(beginTime));
91+
setCoreParameter("BeginTime", std::to_string(beginTime));
9292
}
9393

9494
int OnsDLQMessagePageQueryByGroupIdRequest::getCurrentPage()const
@@ -99,7 +99,7 @@ int OnsDLQMessagePageQueryByGroupIdRequest::getCurrentPage()const
9999
void OnsDLQMessagePageQueryByGroupIdRequest::setCurrentPage(int currentPage)
100100
{
101101
currentPage_ = currentPage;
102-
setParameter("CurrentPage", std::to_string(currentPage));
102+
setCoreParameter("CurrentPage", std::to_string(currentPage));
103103
}
104104

105105
std::string OnsDLQMessagePageQueryByGroupIdRequest::getTaskId()const
@@ -110,6 +110,6 @@ std::string OnsDLQMessagePageQueryByGroupIdRequest::getTaskId()const
110110
void OnsDLQMessagePageQueryByGroupIdRequest::setTaskId(const std::string& taskId)
111111
{
112112
taskId_ = taskId;
113-
setParameter("TaskId", taskId);
113+
setCoreParameter("TaskId", taskId);
114114
}
115115

ons/src/model/OnsDLQMessageResendByIdRequest.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ long OnsDLQMessageResendByIdRequest::getPreventCache()const
3333
void OnsDLQMessageResendByIdRequest::setPreventCache(long preventCache)
3434
{
3535
preventCache_ = preventCache;
36-
setParameter("PreventCache", std::to_string(preventCache));
36+
setCoreParameter("PreventCache", std::to_string(preventCache));
3737
}
3838

3939
std::string OnsDLQMessageResendByIdRequest::getInstanceId()const
@@ -44,7 +44,7 @@ std::string OnsDLQMessageResendByIdRequest::getInstanceId()const
4444
void OnsDLQMessageResendByIdRequest::setInstanceId(const std::string& instanceId)
4545
{
4646
instanceId_ = instanceId;
47-
setParameter("InstanceId", instanceId);
47+
setCoreParameter("InstanceId", instanceId);
4848
}
4949

5050
std::string OnsDLQMessageResendByIdRequest::getGroupId()const
@@ -55,7 +55,7 @@ std::string OnsDLQMessageResendByIdRequest::getGroupId()const
5555
void OnsDLQMessageResendByIdRequest::setGroupId(const std::string& groupId)
5656
{
5757
groupId_ = groupId;
58-
setParameter("GroupId", groupId);
58+
setCoreParameter("GroupId", groupId);
5959
}
6060

6161
std::string OnsDLQMessageResendByIdRequest::getMsgId()const
@@ -66,6 +66,6 @@ std::string OnsDLQMessageResendByIdRequest::getMsgId()const
6666
void OnsDLQMessageResendByIdRequest::setMsgId(const std::string& msgId)
6767
{
6868
msgId_ = msgId;
69-
setParameter("MsgId", msgId);
69+
setCoreParameter("MsgId", msgId);
7070
}
7171

0 commit comments

Comments
 (0)