ENTAXY-480 release version 1.8.3
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core</groupId>
|
||||
<artifactId>initializer</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* connection-initializer
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,6 +19,15 @@
|
||||
*/
|
||||
package ru.entaxy.esb.platform.runtime.core.initializer.connection;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FilenameFilter;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.osgi.framework.BundleContext;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@ -32,20 +41,10 @@ import ru.entaxy.platform.base.support.FileUtils;
|
||||
import ru.entaxy.platform.base.support.JSONUtils;
|
||||
import ru.entaxy.platform.base.support.osgi.OSGIUtils;
|
||||
import ru.entaxy.platform.core.artifact.ArtifactCoordinates;
|
||||
import ru.entaxy.platform.core.artifact.service.ArtifactService;
|
||||
import ru.entaxy.platform.core.producer.api.EntaxyProducerService;
|
||||
import ru.entaxy.platform.core.producer.api.EntaxyProducerUtils;
|
||||
import ru.entaxy.platform.core.producer.executor.objectmodel.ObjectModel;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FilenameFilter;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class ConnectionInitializer extends AbstractInitializer {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(ConnectionInitializer.class);
|
||||
@ -184,10 +183,11 @@ public class ConnectionInitializer extends AbstractInitializer {
|
||||
//
|
||||
|
||||
EntaxyProducerUtils.InstructionsBuilder builder = EntaxyProducerUtils.instructions()
|
||||
.lifecycle("general")
|
||||
.any()
|
||||
.command("add-config")
|
||||
.command("pre-generate")
|
||||
.set(EntaxyProducerService.INSTRUCTIONS.PRINT_OUTPUT, true)
|
||||
.set(EntaxyProducerService.INSTRUCTIONS.PRINT_OUTPUT, false)
|
||||
.command("build")
|
||||
.set(EntaxyProducerService.INSTRUCTIONS.ARTIFACT.VERSION_POLICY
|
||||
, ArtifactCoordinates.VERSION_POLICY_DATED_EMBEDDED)
|
||||
|
@ -4,7 +4,8 @@
|
||||
"factoryId": "file-adapter",
|
||||
"objectId": "entaxy-file",
|
||||
"properties": {
|
||||
"rootDirectory": "data/shared"
|
||||
"rootDirectory": "data/shared",
|
||||
"ext_createResourceProvider": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -20,9 +21,13 @@
|
||||
"targetId": "entaxy-file"
|
||||
},
|
||||
"rootDirectory": {
|
||||
"isCalculated": true,
|
||||
"expression": "${__parentConnection}/.entaxy"
|
||||
}
|
||||
"@CALCULATED": {
|
||||
"expression": "${?.__parentConnection}/.entaxy",
|
||||
"lazy": false,
|
||||
"allowObjects": false
|
||||
}
|
||||
},
|
||||
"ext_createResourceProvider": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user