Loading apm-collector/apm-collector-baseline/collector-baseline-computing-define/pom.xml 0 → 100644 +33 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2017, OpenSkywalking Organization All rights reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ ~ Project repository: https://github.com/OpenSkywalking/skywalking --> <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"> <parent> <artifactId>apm-collector-baseline</artifactId> <groupId>org.skywalking</groupId> <version>3.2.4-2017</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>collector-baseline-computing-define</artifactId> </project> No newline at end of file apm-collector/apm-collector-baseline/collector-baseline-computing-define/src/main/java/org/skywalking/apm/collector/baseline/computing/ComputingModule.java 0 → 100644 +38 −0 Original line number Diff line number Diff line /* * Copyright 2017, OpenSkywalking Organization All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Project repository: https://github.com/OpenSkywalking/skywalking */ package org.skywalking.apm.collector.baseline.computing; import org.skywalking.apm.collector.core.module.Module; /** * The <code>ComputingModule</code> defines the required service interfaces. * * @author wu-sheng */ public class ComputingModule extends Module { public static final String NAME = "baseline-computing"; @Override public String name() { return NAME; } @Override public Class[] services() { return new Class[0]; } } apm-collector/apm-collector-baseline/collector-baseline-computing-define/src/main/resources/services/org.skywalking.apm.collector.core.module.Module 0 → 100644 +19 −0 Original line number Diff line number Diff line # # Copyright 2017, OpenSkywalking Organization All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Project repository: https://github.com/OpenSkywalking/skywalking # org.skywalking.apm.collector.baseline.computing.ComputingModule No newline at end of file apm-collector/apm-collector-baseline/collector-baseline-computing-provider/pom.xml 0 → 100644 +44 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2017, OpenSkywalking Organization All rights reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ ~ Project repository: https://github.com/OpenSkywalking/skywalking --> <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"> <parent> <artifactId>apm-collector-baseline</artifactId> <groupId>org.skywalking</groupId> <version>3.2.4-2017</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>collector-baseline-computing-provider</artifactId> <dependencies> <dependency> <groupId>org.skywalking</groupId> <artifactId>collector-baseline-computing-define</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.skywalking</groupId> <artifactId>collector-baseline-computing-define</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project> No newline at end of file apm-collector/apm-collector-baseline/collector-baseline-computing-provider/src/main/java/org/skywalking/collector/baseline/computing/provider/ComputingProvider.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright 2017, OpenSkywalking Organization All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Project repository: https://github.com/OpenSkywalking/skywalking */ package org.skywalking.collector.baseline.computing.provider; import java.util.Properties; import org.skywalking.apm.collector.baseline.computing.ComputingModule; import org.skywalking.apm.collector.core.module.Module; import org.skywalking.apm.collector.core.module.ModuleProvider; import org.skywalking.apm.collector.core.module.ServiceNotProvidedException; /** * The <code>ComputingProvider</code> is the default implementation of {@link ComputingModule} * * @author wu-sheng */ public class ComputingProvider extends ModuleProvider { public static final String NAME = "default"; @Override public String name() { return NAME; } @Override public Class<? extends Module> module() { return ComputingModule.class; } @Override public void prepare(Properties config) throws ServiceNotProvidedException { } @Override public void start(Properties config) throws ServiceNotProvidedException { } @Override public void notifyAfterCompleted() throws ServiceNotProvidedException { } @Override public String[] requiredModules() { return new String[0]; } } Loading
apm-collector/apm-collector-baseline/collector-baseline-computing-define/pom.xml 0 → 100644 +33 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2017, OpenSkywalking Organization All rights reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ ~ Project repository: https://github.com/OpenSkywalking/skywalking --> <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"> <parent> <artifactId>apm-collector-baseline</artifactId> <groupId>org.skywalking</groupId> <version>3.2.4-2017</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>collector-baseline-computing-define</artifactId> </project> No newline at end of file
apm-collector/apm-collector-baseline/collector-baseline-computing-define/src/main/java/org/skywalking/apm/collector/baseline/computing/ComputingModule.java 0 → 100644 +38 −0 Original line number Diff line number Diff line /* * Copyright 2017, OpenSkywalking Organization All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Project repository: https://github.com/OpenSkywalking/skywalking */ package org.skywalking.apm.collector.baseline.computing; import org.skywalking.apm.collector.core.module.Module; /** * The <code>ComputingModule</code> defines the required service interfaces. * * @author wu-sheng */ public class ComputingModule extends Module { public static final String NAME = "baseline-computing"; @Override public String name() { return NAME; } @Override public Class[] services() { return new Class[0]; } }
apm-collector/apm-collector-baseline/collector-baseline-computing-define/src/main/resources/services/org.skywalking.apm.collector.core.module.Module 0 → 100644 +19 −0 Original line number Diff line number Diff line # # Copyright 2017, OpenSkywalking Organization All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Project repository: https://github.com/OpenSkywalking/skywalking # org.skywalking.apm.collector.baseline.computing.ComputingModule No newline at end of file
apm-collector/apm-collector-baseline/collector-baseline-computing-provider/pom.xml 0 → 100644 +44 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2017, OpenSkywalking Organization All rights reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ ~ Project repository: https://github.com/OpenSkywalking/skywalking --> <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"> <parent> <artifactId>apm-collector-baseline</artifactId> <groupId>org.skywalking</groupId> <version>3.2.4-2017</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>collector-baseline-computing-provider</artifactId> <dependencies> <dependency> <groupId>org.skywalking</groupId> <artifactId>collector-baseline-computing-define</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.skywalking</groupId> <artifactId>collector-baseline-computing-define</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project> No newline at end of file
apm-collector/apm-collector-baseline/collector-baseline-computing-provider/src/main/java/org/skywalking/collector/baseline/computing/provider/ComputingProvider.java 0 → 100644 +58 −0 Original line number Diff line number Diff line /* * Copyright 2017, OpenSkywalking Organization All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Project repository: https://github.com/OpenSkywalking/skywalking */ package org.skywalking.collector.baseline.computing.provider; import java.util.Properties; import org.skywalking.apm.collector.baseline.computing.ComputingModule; import org.skywalking.apm.collector.core.module.Module; import org.skywalking.apm.collector.core.module.ModuleProvider; import org.skywalking.apm.collector.core.module.ServiceNotProvidedException; /** * The <code>ComputingProvider</code> is the default implementation of {@link ComputingModule} * * @author wu-sheng */ public class ComputingProvider extends ModuleProvider { public static final String NAME = "default"; @Override public String name() { return NAME; } @Override public Class<? extends Module> module() { return ComputingModule.class; } @Override public void prepare(Properties config) throws ServiceNotProvidedException { } @Override public void start(Properties config) throws ServiceNotProvidedException { } @Override public void notifyAfterCompleted() throws ServiceNotProvidedException { } @Override public String[] requiredModules() { return new String[0]; } }