-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed extra = in newVersion. Added target to release action to use the correct branch (#7) Signed-off-by: Knut-Erik Johnsen <[email protected]> * Feature/update workflows (#11) * Removed extra = in newVersion. Added target to release action to use the correct branch Signed-off-by: Knut-Erik Johnsen <[email protected]> * Downgraded grpc to same version as the used springboot starter. Added javadoc. Removed componentscan since it's bad practie Signed-off-by: Knut-Erik Johnsen <[email protected]> --------- Signed-off-by: Knut-Erik Johnsen <[email protected]> --------- Signed-off-by: Knut-Erik Johnsen <[email protected]>
- Loading branch information
Showing
11 changed files
with
195 additions
and
80 deletions.
There are no files selected for viewing
41 changes: 40 additions & 1 deletion
41
.../java/io/crossplane/compositefunctions/starter/config/CrossplaneServiceConfiguration.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 |
---|---|---|
@@ -1,9 +1,48 @@ | ||
package io.crossplane.compositefunctions.starter.config; | ||
|
||
import io.crossplane.compositefunctions.starter.conversion.CrossplaneExtraResourcesService; | ||
import io.crossplane.compositefunctions.starter.conversion.CrossplaneObservableService; | ||
import io.crossplane.compositefunctions.starter.conversion.CrossplaneResourceService; | ||
import org.checkerframework.checker.units.qual.C; | ||
import org.springframework.boot.autoconfigure.AutoConfiguration; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.ComponentScan; | ||
|
||
/** | ||
* Autoconfiguration for the crossplane services. | ||
*/ | ||
@AutoConfiguration | ||
@ComponentScan(basePackages = {"io.crossplane.compositefunctions.starter.conversion"}) | ||
public class CrossplaneServiceConfiguration { | ||
|
||
|
||
/** | ||
* Set up services for working with extra resources | ||
* @return the crossplaneExtraResourcesService | ||
* @since 1.15 | ||
*/ | ||
@Bean | ||
public CrossplaneExtraResourcesService crossplaneExtraResourcesService() { | ||
return new CrossplaneExtraResourcesService(); | ||
} | ||
|
||
/** | ||
* Set up services for working with observed resources | ||
* @return the crossplaneObservableService | ||
* @since 1.14 | ||
*/ | ||
@Bean | ||
public CrossplaneObservableService crossplaneObservableService() { | ||
return new CrossplaneObservableService(); | ||
} | ||
|
||
/** | ||
* Set up services for working with default resources | ||
* @return the crossplaneResourceService | ||
* @since 1.15 | ||
*/ | ||
@Bean | ||
public CrossplaneResourceService crossplaneResourceService() { | ||
return new CrossplaneResourceService(); | ||
} | ||
|
||
} |
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
12 changes: 12 additions & 0 deletions
12
...o/crossplane/compositefunctions/starter/exception/CrossplaneUnexpectedItemsException.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
12 changes: 12 additions & 0 deletions
12
...ava/io/crossplane/compositefunctions/starter/exception/CrossplaneUnmarshallException.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
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
Oops, something went wrong.