BAEL-3636 Change package name and format xml according to feedback

This commit is contained in:
Amit Bhave 2021-02-09 19:18:23 +05:30
parent 18d754bda4
commit 8cbc8d5a3a
5 changed files with 39 additions and 36 deletions

View File

@ -1,5 +1,7 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-sentinel</artifactId>

View File

@ -1,4 +1,4 @@
package org.spring.cloud.sentinel;
package com.baeldung.spring.cloud.sentinel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package org.spring.cloud.sentinel.config;
package com.baeldung.spring.cloud.sentinel.config;
import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import com.alibaba.csp.sentinel.slots.block.RuleConstant;

View File

@ -1,10 +1,11 @@
package org.spring.cloud.sentinel.controller;
package com.baeldung.spring.cloud.sentinel.controller;
import org.spring.cloud.sentinel.service.GreetingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baeldung.spring.cloud.sentinel.service.GreetingService;
@RestController
public class GreetingController {

View File

@ -1,4 +1,4 @@
package org.spring.cloud.sentinel.service;
package com.baeldung.spring.cloud.sentinel.service;
import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;