Skip to content

Commit

Permalink
rename package com.alibaba.oneagent to io.oneagent. alibaba#43
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc committed Mar 31, 2023
1 parent c170c57 commit 56d1716
Show file tree
Hide file tree
Showing 145 changed files with 302 additions and 257 deletions.
4 changes: 2 additions & 2 deletions bytekit-demo-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -13,7 +13,7 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.activator.test.bytekit;

import com.alibaba.bytekit.ByteKit;
import com.alibaba.oneagent.plugin.PluginActivator;
import com.alibaba.oneagent.plugin.PluginContext;

import io.oneagent.plugin.PluginActivator;
import io.oneagent.plugin.PluginContext;

/**
* 测试基它插件 import com.alibaba.bytekit 时,使用的是否本插件里的类
Expand Down
2 changes: 1 addition & 1 deletion demo-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand Down
4 changes: 2 additions & 2 deletions demo-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

import com.alibaba.bytekit.ByteKit;
import com.alibaba.fastjson.JSON;
import com.alibaba.oneagent.plugin.PluginActivator;
import com.alibaba.oneagent.plugin.PluginContext;
import com.alibaba.oneagent.plugin.config.BinderUtils;

import io.oneagent.plugin.PluginActivator;
import io.oneagent.plugin.PluginContext;
import io.oneagent.plugin.config.BinderUtils;

public class DemoActivator implements PluginActivator {
private Logger logger = LoggerFactory.getLogger(DemoActivator.class);
Expand Down
4 changes: 2 additions & 2 deletions demo-plugin/src/main/java/com/activator/test/DemoConfig.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.activator.test;

import com.alibaba.oneagent.plugin.config.Config;
import com.alibaba.oneagent.plugin.config.NestedConfig;
import io.oneagent.plugin.config.Config;
import io.oneagent.plugin.config.NestedConfig;

@Config
public class DemoConfig {
Expand Down
4 changes: 2 additions & 2 deletions dubbo-test-instrument/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -26,7 +26,7 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>dubbo-test-plugin-common</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
6 changes: 3 additions & 3 deletions dubbo-test-plugin-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -11,14 +11,14 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* RpcUtils的ClassLoader是
* {@linkplain com.alibaba.oneagent.plugin.classloader.PluginClassLoader},演示在被增强的Dubbo代码里加载其它类。
* {@linkplain io.oneagent.plugin.classloader.PluginClassLoader},演示在被增强的Dubbo代码里加载其它类。
*
* @author hengyunabc 2021-08-26
*
Expand Down
10 changes: 5 additions & 5 deletions dubbo-test-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -11,30 +11,30 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent</artifactId>
<version>${project.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>dubbo-test-instrument</artifactId>
<version>${project.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>dubbo-test-plugin-common</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.test.dubbo;

import com.alibaba.oneagent.plugin.PluginActivator;
import com.alibaba.oneagent.plugin.PluginContext;
import com.alibaba.oneagent.service.ClassLoaderHandlerManager;
import io.oneagent.plugin.PluginActivator;
import io.oneagent.plugin.PluginContext;
import io.oneagent.service.ClassLoaderHandlerManager;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.test.dubbo;

import com.alibaba.oneagent.service.ClassLoaderHandler;
import io.oneagent.service.ClassLoaderHandler;

/**
*
Expand Down
4 changes: 2 additions & 2 deletions fastjson-demo-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -13,7 +13,7 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.activator.test.json;

import com.alibaba.fastjson.JSON;
import com.alibaba.oneagent.plugin.PluginActivator;
import com.alibaba.oneagent.plugin.PluginContext;

import io.oneagent.plugin.PluginActivator;
import io.oneagent.plugin.PluginContext;

public class FastjsonActivator implements PluginActivator {

Expand Down
4 changes: 2 additions & 2 deletions grpc-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -11,7 +11,7 @@

<dependencies>
<dependency>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-plugin</artifactId>
<version>${project.version}</version>
<optional>true</optional>
Expand Down
2 changes: 1 addition & 1 deletion one-agent-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand Down
2 changes: 1 addition & 1 deletion one-agent-service/src/main/proto/OneAgentService.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "google/protobuf/any.proto";
import "google/protobuf/empty.proto";


package com.alibaba.oneagent.api;
package io.oneagent.api;


message StringKey {
Expand Down
2 changes: 1 addition & 1 deletion one-java-agent-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alibaba.oneagent</groupId>
<groupId>io.oneagent</groupId>
<artifactId>one-java-agent-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.LinkedHashSet;
import java.util.Set;

import com.alibaba.oneagent.env.convert.ConfigurableConversionService;
import com.alibaba.oneagent.env.convert.DefaultConversionService;
import io.oneagent.env.convert.ConfigurableConversionService;
import io.oneagent.env.convert.DefaultConversionService;

/**
* Abstract base class for resolving properties against any underlying source.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import com.alibaba.oneagent.env.convert.ConfigurableConversionService;
import io.oneagent.env.convert.ConfigurableConversionService;

/**
* Configuration interface to be implemented by most if not all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

/**
* A service interface for type conversion. This is the entry point into the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

/**
* A {@link PropertySource} implementation capable of interrogating its
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.oneagent.env;
package io.oneagent.env;

public interface Environment extends PropertyResolver {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.LinkedHashSet;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.Iterator;
import java.util.LinkedList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.security.AccessControlException;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.Map;
import java.util.Properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.HashMap;
import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

/**
* Interface for resolving properties against any underlying source.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.alibaba.oneagent.env;
package io.oneagent.env;

import java.util.Arrays;

Expand Down
Loading

0 comments on commit 56d1716

Please sign in to comment.