Skip to content

Commit 482cb90

Browse files
author
Ivan St. Ivanov
committed
Added license information to the project files
1 parent 9158da6 commit 482cb90

File tree

15 files changed

+195
-24
lines changed

15 files changed

+195
-24
lines changed

javaee-actuator-showcase/pom.xml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
215
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
316
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
417
<modelVersion>4.0.0</modelVersion>

javaee-actuator/pom.xml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
215
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
316
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
417
<modelVersion>4.0.0</modelVersion>

javaee-actuator/src/main/java/io/github/ivannov/actuator/config/RestConfig.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.config;
215

316
import javax.ws.rs.ApplicationPath;

javaee-actuator/src/main/java/io/github/ivannov/actuator/inspectors/BeansInspector.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.inspectors;
215

316
import javax.enterprise.context.RequestScoped;
@@ -8,9 +21,6 @@
821
import javax.inject.Inject;
922
import java.util.Set;
1023

11-
/**
12-
* @author Ivan St. Ivanov.
13-
*/
1424
@RequestScoped
1525
public class BeansInspector {
1626

javaee-actuator/src/main/java/io/github/ivannov/actuator/inspectors/JmxInspector.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.inspectors;
215

316
import java.lang.management.ThreadInfo;

javaee-actuator/src/main/java/io/github/ivannov/actuator/inspectors/JmxInspectorImpl.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.inspectors;
215

316
import javax.annotation.PostConstruct;
@@ -13,9 +26,6 @@
1326
import java.util.HashMap;
1427
import java.util.Map;
1528

16-
/**
17-
* @author Ivan St. Ivanov.
18-
*/
1929
@ApplicationScoped
2030
public class JmxInspectorImpl implements JmxInspector {
2131

javaee-actuator/src/main/java/io/github/ivannov/actuator/resources/BeansResource.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.BeansInspector;
@@ -14,9 +27,6 @@
1427
import javax.ws.rs.QueryParam;
1528
import javax.ws.rs.core.Response;
1629

17-
/**
18-
* @author Ivan St. Ivanov.
19-
*/
2030
@Path("/beans")
2131
@RequestScoped
2232
public class BeansResource {

javaee-actuator/src/main/java/io/github/ivannov/actuator/resources/DumpResource.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.JmxInspector;
@@ -14,9 +27,6 @@
1427
import java.lang.management.MonitorInfo;
1528
import java.lang.management.ThreadInfo;
1629

17-
/**
18-
* @author Ivan St. Ivanov
19-
*/
2030
@Path("/dump")
2131
public class DumpResource {
2232

javaee-actuator/src/main/java/io/github/ivannov/actuator/resources/MetricsResource.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.JmxInspector;

javaee-actuator/src/test/java/io/github/ivannov/actuator/resources/ActuatorResourcesBaseTest.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.config.RestConfig;
@@ -16,9 +29,6 @@
1629
import java.net.MalformedURLException;
1730
import java.net.URL;
1831

19-
/**
20-
* @author Ivan St. Ivanov.
21-
*/
2232
abstract class ActuatorResourcesBaseTest {
2333

2434
private @ArquillianResource URL base;

javaee-actuator/src/test/java/io/github/ivannov/actuator/resources/BeansResourceTest.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.BeansInspector;
@@ -16,9 +29,6 @@
1629

1730
import static org.junit.Assert.*;
1831

19-
/**
20-
* @author Ivan St. Ivanov.
21-
*/
2232
@RunWith(Arquillian.class)
2333
@RunAsClient
2434
public class BeansResourceTest extends ActuatorResourcesBaseTest {

javaee-actuator/src/test/java/io/github/ivannov/actuator/resources/JmxInspectorStub.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.JmxInspector;
@@ -9,9 +22,6 @@
922

1023
import static io.github.ivannov.actuator.resources.MetricsResourceTest.*;
1124

12-
/**
13-
* @author Ivan St. Ivanov.
14-
*/
1525
@ApplicationScoped
1626
public class JmxInspectorStub implements JmxInspector {
1727

javaee-actuator/src/test/java/io/github/ivannov/actuator/resources/MetricsResourceTest.java

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
114
package io.github.ivannov.actuator.resources;
215

316
import io.github.ivannov.actuator.inspectors.JmxInspector;
@@ -13,9 +26,6 @@
1326

1427
import static org.junit.Assert.assertEquals;
1528

16-
/**
17-
* @author Ivan St. Ivanov.
18-
*/
1929
@RunWith(Arquillian.class)
2030
@RunAsClient
2131
public class MetricsResourceTest extends ActuatorResourcesBaseTest {

javaee-actuator/src/test/resources/arquillian.xml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
215
<arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
316
<container qualifier="arquillian-tomee-embedded"/>
417
<container qualifier="arquillian-wildfly-managed">

pom.xml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
215
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
316
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
417
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)