-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OAP-120 Move oap-remote to a separate module
- Loading branch information
Showing
250 changed files
with
3,827 additions
and
3,675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
...ation/oap-application-test/src/test/resources/oap/application/KernelTest/application.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{ | ||
boot.main = m3 | ||
boot.main = m3 | ||
|
||
profiles = [profileOne] | ||
services { | ||
m2.ServiceTwo.parameters.j = ${a.b} | ||
m1.ServiceOneP1.parameters.i2 = ${one.i2} | ||
} | ||
profiles = [profileOne] | ||
services { | ||
m2.ServiceTwo.parameters.j = ${a.b} | ||
m1.ServiceOneP1.parameters.i2 = ${one.i2} | ||
} |
34 changes: 16 additions & 18 deletions
34
...oap-application-test/src/test/resources/oap/application/KernelTest/disabled/disabled.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
{ | ||
name = disabled | ||
services { | ||
s1 { | ||
implementation = oap.application.ServiceOne | ||
parameters { | ||
i = 1 | ||
list = [ | ||
modules.this.s2 | ||
] | ||
} | ||
dependsOn = [s2] | ||
name = disabled | ||
services { | ||
s1 { | ||
implementation = oap.application.ServiceOne | ||
parameters { | ||
i = 1 | ||
list = [ | ||
<modules.this.s2> | ||
] | ||
} | ||
s2 { | ||
implementation = oap.application.ServiceOne | ||
profile = disabled | ||
parameters { | ||
i = 2 | ||
} | ||
dependsOn = [s2] | ||
} | ||
s2 { | ||
implementation = oap.application.ServiceOne | ||
profile = disabled | ||
parameters { | ||
i = 2 | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...cation/oap-application-test/src/test/resources/oap/application/KernelTest/modules/m2.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name = m2 | ||
dependsOn = m1 | ||
|
||
services { | ||
ServiceTwo { | ||
implementation = oap.application.ServiceTwo | ||
parameters { | ||
j = 1 | ||
one = <modules.m1.ServiceOne> | ||
} | ||
listen { | ||
some = <modules.m1.ServiceOne> | ||
}, | ||
supervision.supervise = true | ||
} | ||
ServiceScheduled { | ||
implementation = oap.application.ServiceScheduled | ||
supervision { | ||
schedule = true | ||
delay = 1s | ||
} | ||
} | ||
} |
28 changes: 0 additions & 28 deletions
28
...cation/oap-application-test/src/test/resources/oap/application/KernelTest/modules/m2.json
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...cation/oap-application-test/src/test/resources/oap/application/KernelTest/modules/m3.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name = m3 | ||
dependsOn = [ | ||
m1 | ||
m2 | ||
] | ||
services { | ||
ServiceDepsList { | ||
implementation = oap.application.ServiceDepsList | ||
parameters { | ||
deps = [ | ||
<modules.m1.ServiceOne> | ||
<modules.m2.ServiceTwo> | ||
] | ||
} | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
...cation/oap-application-test/src/test/resources/oap/application/KernelTest/modules/m3.yaml
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
...ion/oap-application-test/src/test/resources/oap/application/remote/RemoteTest/module.conf
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
oap-application/oap-application/src/main/java/oap/application/ServiceKernelListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package oap.application; | ||
|
||
import oap.reflect.Reflection; | ||
|
||
import java.util.List; | ||
|
||
public interface ServiceKernelListener { | ||
Object newInstance( Kernel kernel, | ||
ServiceInitializationTree retModules, | ||
ModuleItem.ServiceItem serviceItem, Reflection reflect ); | ||
|
||
default List<String> validate( ModuleItem.ServiceItem serviceItem ) { | ||
return List.of(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.