@Configuration
public class TestProp {
@Bean
public static PropertySourcesPlaceholderConfigurer placeHolderConfigurer() {
PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer =
new PropertySourcesPlaceholderConfigurer();
Properties properties = new Properties();
properties.setProperty( "test", "http://localhost:8080" );
propertySourcesPlaceholderConfigurer.setProperties( properties );
return propertySourcesPlaceholderConfigurer();
}
}
@FeignClient(
name = "TestController",
// url = "${url}"
url = Config.getService(ServiceName.class).getServiceUrl()
)
public interface ITestApi {}
@Bean
public ServiceInstanceListSupplier instanceSupplier( ConfigurableApplicationContext context ) throws IOException {
return ServiceInstanceListSupplier.builder()
.withDiscoveryClient()
.withHealthChecks()
.build( context );
}
host all all 0.0.0.0/0 md5
host all all ::/0 md5
● postgresql.service - PostgreSQL database server
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2021-09-27 10:25:48 UTC; 6min ago
Main PID: 4977 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4195)
Memory: 0B
CGroup: /system.slice/postgresql.service
сен 27 10:25:48 server systemd[1]: Starting PostgreSQL RDBMS...
сен 27 10:25:48 server systemd[1]: Finished PostgreSQL RDBMS.
:: running early hook [udev]
Starting version 248.3-2-arch
:: running hook [udev]
:: Triggering uevents...
:: performing fsck on '/dev/mmcblk0p1'
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 32641/1954064 files, 382106/7814656 blocks
:: mounting '/dev/mmcblk0p1' on real root
[ 8.133814] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
:: running cleanup hook [udev]
[ 8.384466] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-0000, throttling...
switch_root: [ 13.539919] request_module: modprobe binfmt-0000 cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[ 13.557275] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007e00
[ 13.577166] CPU: 0 PID: 1 Comm: switch_root Not tainted 5.11.2-1-ARCH #1
[ 13.583916] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 13.590048] Backtrace:
[ 13.592520] [<c0e7a210>] (dump_backtrace) from [<c0e7a5bc>] (show_stack+0x20/0x24)
[ 13.600178] r7:ffffe000 r6:c10ed750 r5:00000000 r4:c10fd388
[ 13.605872] [<c0e7a59c>] (show_stack) from [<c0e83a0c>] (dump_stack+0x2c/0x30)
[ 13.613154] [<c0e839e0>] (dump_stack) from [<c0e7ab74>] (panic+0x124/0x340)
[ 13.620171] r5:00000000 r4:c15ab598
[ 13.623766] [<c0e7aa50>] (panic) from [<c0131d14>] (do_exit+0xaf4/0xb6c)
[ 13.630534] r3:00000001 r2:c194e2c4 r1:00007e00 r0:c10ed750
[ 13.636227] r7:ffffe000
[ 13.638774] [<c0131220>] (do_exit) from [<c0131e28>] (do_group_exit+0x50/0xec)
[ 13.646056] r7:000000f8
[ 13.648604] [<c0131dd8>] (do_group_exit) from [<c0131ee4>] (__wake_up_parent+0x0/0x30)
[ 13.656588] r7:000000f8 r6:00000000 r5:b6ef424c r4:00000001
[ 13.662280] [<c0131ec4>] (sys_exit_group) from [<c0100060>] (ret_fast_syscall+0x0/0x58)
[ 13.670348] Exception stack(0xc194dfa8 to 0xc194dff0)
[ 13.675438] dfa0: 00000001 b6ef424c 0000007e 00000000 0000007e c7ac4600
[ 13.683673] dfc0: 00000001 b6ef424c 00000000 000000f8 b6ef4500 00000000 00000002 b6ef2e20
[ 13.691906] dfe0: 00000000 bee61d1c b6dd6484 b6e48254
[ 13.697011] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007e00 ]---
failed to execute /sbin/init: Exec format error