Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Conversation

@songxiaoyan
Copy link
Contributor

  1. Currently, only the gRPC interface invoking result is processed.
  2. If the puslar interface fails to be invoked,puslar will be repeatedly invoked until it is successfully invoked.
  3. On present, only the PM module processes the result.

songxiaoyan and others added 25 commits December 8, 2020 19:12
# Conflicts:
#	services/port_manager/src/main/java/com/futurewei/alcor/portmanager/processor/FixedIpsProcessor.java
#	services/port_manager/src/main/java/com/futurewei/alcor/portmanager/request/RequestManager.java
#	services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/controller/IpAddrController.java
#	services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/repo/IpAddrRangeRepo.java
#	services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/service/implement/IpAddrServiceImpl.java
# Conflicts:
#	services/port_manager/src/main/java/com/futurewei/alcor/portmanager/request/UpdatePortIpAddressRequest.java
@songxiaoyan songxiaoyan self-assigned this Feb 27, 2021
@songxiaoyan songxiaoyan added the enhancement New feature or request label Feb 27, 2021
@songxiaoyan songxiaoyan added the P1 Priority 1 label Feb 27, 2021
@codecov-io
Copy link

Codecov Report

Merging #549 (85c0831) into master (e26b494) will increase coverage by 0.09%.
The diff coverage is 65.21%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #549      +/-   ##
============================================
+ Coverage     34.34%   34.44%   +0.09%     
- Complexity     1229     1239      +10     
============================================
  Files           501      502       +1     
  Lines         12365    12407      +42     
  Branches       1558     1567       +9     
============================================
+ Hits           4247     4273      +26     
- Misses         7541     7556      +15     
- Partials        577      578       +1     
Impacted Files Coverage Δ Complexity Δ
...portmanager/service/implement/PortServiceImpl.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...wei/alcor/portmanager/service/PortServiceImpl.java 63.25% <42.30%> (-3.89%) 22.00 <3.00> (+3.00) ⬇️
...rewei/alcor/portmanager/entity/PortStatusEnum.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)
...lcor/portmanager/processor/DataPlaneProcessor.java 68.29% <100.00%> (+0.79%) 34.00 <4.00> (+2.00)
...ortmanager/request/CreateNetworkConfigRequest.java 72.72% <100.00%> (+2.72%) 4.00 <2.00> (+1.00)
...ortmanager/request/UpdateNetworkConfigRequest.java 80.00% <100.00%> (+2.22%) 4.00 <2.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e26b494...85c0831. Read the comment docs.

@xieus xieus added this to the Version 1.0.2021.02.28 milestone Mar 1, 2021
Copy link
Contributor

@xieus xieus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@songxiaoyan looks good with one minor comment.

@xieus xieus changed the title Handle internal DPM result list [Port Mgr] Handle internal DPM result list Mar 1, 2021
@xieus xieus self-requested a review March 2, 2021 04:29
Copy link
Contributor

@xieus xieus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xieus xieus merged commit 4722a3b into futurewei-cloud:master Mar 2, 2021
Comment on lines +48 to 51
@PostMapping({"/network-configuration", "v4/network-configuration"})
@DurationStatistics
public InternalDPMResultList updateNetworkConfiguration(@RequestBody NetworkConfiguration networkConfiguration) throws Exception {
checkNetworkConfiguration(networkConfiguration);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@songxiaoyan and @xieus This change will break dpm. There are two PostMapping with the same url after you change line48 from Put to Post.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request P1 Priority 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants