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
# Description | |
# Look at versions for our various modules and how they relate to framework versions | |
# | |
# Dependencies: | |
# "octonode": "^0.6.4" | |
# "xml2js": "^0.4.4" | |
# | |
# Configuration: | |
# HUBOT_GITHUB_TOKEN - API token from a GitHub account | |
# |
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
@Component | |
public class SkuInvalidator { | |
@Autowired | |
private SystemEventSender eventSender; | |
public void invalidateSku(Long id) { | |
SystemEvent event = new SystemEventImpl(); | |
event.setType(EventType.CACHE_INVALIDATION.getType()); | |
event.setEnabled(true); |
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
class X { | |
@Autowired | |
private X me; | |
@Transactional | |
foo() { | |
} | |
@Transactional |
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
@Configuration | |
public class CustomDatabaseAutoConfiguration extends DatabaseAutoConfiguration { | |
protected DataSource buildDataSource() { | |
DatabaseDriver driver = DatabaseDriver.fromJdbcUrl(props.getUrl()); | |
com.zaxxer.hikari.HikariDataSource ds = DataSourceBuilder | |
.create() | |
.username(props.getUser()) | |
.password(props.getPassword()) |
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
# Used as a base image that other Spring Boot-based | |
# docker containers can be based off of. Example dependent Dockerfile: | |
# | |
# FROM <this-image> | |
# ADD target/myjar.jar /app.jar | |
# | |
# Alternatively, you can modify this file to use a build arg: | |
# ... | |
# ... | |
# ARG JAR_FILE |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
[WARNING] The requested profile "SNAPSHOTS" could not be activated because it does not exist. | |
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:1.21.1:check (check) on project broadleaf-auth-services-samples-main: Execution check of goal com.diffplug.spotless:spotless-maven-plugin:1.21.1:check failed: Unable to load the mojo 'check' (or one of its required components) from the plugin 'com.diffplug.spotless:spotless-maven-plugin:1.21.1': com.google.inject.ProvisionException: Unable to provision, see the following errors: | |
[ERROR] | |
[ERROR] 1) Error injecting: private org.eclipse.aether.spi.log.Logger org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger | |
[ERROR] while locating org.apache.maven.repository.internal.DefaultVersionRangeResolver | |
[ERROR] while locating java.lang.Object annotated with * | |
[ERROR] at org.eclipse.sisu.wire.LocatorWiring | |
[ERROR] while locating org.eclipse.aether.impl.VersionRangeResolver | |
[ERROR] for parameter 2 at org.eclipse.aether.internal.impl.De |
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
package com.example.demo; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.stream.annotation.EnableBinding; | |
import org.springframework.cloud.stream.annotation.Input; | |
import org.springframework.cloud.stream.annotation.Output; | |
import org.springframework.cloud.stream.annotation.StreamListener; | |
import org.springframework.messaging.MessageChannel; | |
import org.springframework.messaging.SubscribableChannel; |
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
server: | |
port: 8443 | |
ssl: | |
key-password: keypass | |
key-store: classpath:local.keystore | |
key-store-password: storepass |
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
[MASTER] | |
# A comma-separated list of package or module names from where C extensions may | |
# be loaded. Extensions are loading into the active Python interpreter and may | |
# run arbitrary code | |
extension-pkg-whitelist= | |
# Add files or directories to the blacklist. They should be base names, not | |
# paths. | |
ignore=CVS |