RED-8670: integrate table inference from research

This commit is contained in:
Kilian Schuettler 2024-05-16 22:03:54 +02:00
parent 8ceef60a26
commit ddd24bb65c
3 changed files with 6 additions and 4 deletions

View File

@ -61,7 +61,7 @@ public class ComponentMappingEntity {
@NonNull
@Builder.Default
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(name = "component_mapping_column_labels")
@CollectionTable(name = "component_mapping_column_labels", catalog = )
List<String> columnLabels = new ArrayList<>();
@NonNull

View File

@ -82,7 +82,7 @@ databaseChangeLog:
constraints:
nullable: false
- column:
name: label
name: column_labels
type: VARCHAR(255)
constraints:
nullable: false

View File

@ -15,7 +15,9 @@ gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion
newImageName="nexus.knecon.com:5001/red/${dir}-server-v1:$buildName"
echo "full image name:"
echo ${newImageName}
echo ""
if [ -z "$1" ]; then
exit 0
@ -32,8 +34,8 @@ if [ "${newImageName}" = "${oldImageName}" ]; then
echo "Image tag did not change, redeploying..."
rancher kubectl rollout restart deployment ${deployment_name} -n ${namespace}
else
echo "upgrading..."
echo "upgrading the image tag..."
rancher kubectl set image deployment/${deployment_name} ${deployment_name}=${newImageName} -n ${namespace}
fi
rancher kubectl rollout status deployment ${deployment_name} -n ${namespace}
echo "Built ${dir} and deployed to ${namespace}"
echo "Built ${deployment_name}:${buildName} and deployed to ${namespace}"