Compare commits
2
Commits
9586742316
...
2ba2711bf1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ba2711bf1 | ||
|
|
9e63ed6f4f |
@@ -12,7 +12,7 @@ public class BiInitMain {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
ConnectionFactory factory = new ConnectionFactory();
|
ConnectionFactory factory = new ConnectionFactory();
|
||||||
factory.setHost("47.121.181.112");
|
factory.setHost("localhost");
|
||||||
factory.setVirtualHost("/bi");
|
factory.setVirtualHost("/bi");
|
||||||
factory.setUsername("wonder");
|
factory.setUsername("wonder");
|
||||||
factory.setPassword("Dn293830");
|
factory.setPassword("Dn293830");
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ spring:
|
|||||||
# 大小限制
|
# 大小限制
|
||||||
max-file-size: 10MB
|
max-file-size: 10MB
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
host: 47.121.181.112
|
host: localhost
|
||||||
port: 5672
|
port: 5672
|
||||||
password: Dn293830
|
password: Dn293830
|
||||||
username: wonder
|
username: wonder
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package com.wonder.bi;
|
package com.wonder.bi;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package com.wonder.bi.bizmq;
|
package com.wonder.bi.bizmq;
|
||||||
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class MyMessageProducerTest {
|
class MyMessageProducerTest {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package com.wonder.bi.manager;
|
package com.wonder.bi.manager;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package com.wonder.bi.manager;
|
package com.wonder.bi.manager;
|
||||||
|
|
||||||
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class OpenAiManagerTest {
|
class OpenAiManagerTest {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
package com.wonder.bi.manager;
|
package com.wonder.bi.manager;
|
||||||
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class RedisLimiterManagerTest {
|
class RedisLimiterManagerTest {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
package com.wonder.bi.mapper;
|
package com.wonder.bi.mapper;
|
||||||
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package com.wonder.bi.service;
|
package com.wonder.bi.service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
import jakarta.annotation.Resource;
|
||||||
import org.junit.jupiter.api.Assertions;
|
import org.junit.jupiter.api.Assertions;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|||||||
Reference in New Issue
Block a user