diff options
-rw-r--r-- | server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java b/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java index 4308e9f5..8fd59c26 100644 --- a/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java +++ b/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java @@ -35,6 +35,7 @@ import org.onap.usecaseui.server.util.UuiCommonUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.EnableAspectJAutoProxy; +import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -47,6 +48,7 @@ import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; @RestController +@CrossOrigin(origins="*") @org.springframework.context.annotation.Configuration @EnableAspectJAutoProxy public class PackageDistributionController { |