Skip to content

Commit 5a88dfa

Browse files
committed
vaultifier push to node v22 and renamed to semcon-js
1 parent 0713093 commit 5a88dfa

124 files changed

Lines changed: 7396 additions & 353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dc-base/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44
# ruby "3.1.4"
55

66
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7-
gem "rails", "7.1.3.4"
7+
gem "rails", "~>7.2"
88

99
# Use sqlite3 as the database for Active Record
1010
# gem "sqlite3", "~> 1.4"

dc-base/app/controllers/api/v1/stores_controller.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ def write
5454
end
5555
meta_data = input["meta"].except(:schema, "schema") rescue nil
5656
schema = input["meta"]["schema"] rescue nil
57+
# hack for SOyA - should be fixed, i.e. providing soya_yaml in meta
58+
soya_yaml = params.permit!["soya_yaml"]
59+
if !soya_yaml.nil?
60+
if meta_data.nil?
61+
meta_data = {}
62+
end
63+
meta_data["soya_yaml"] = soya_yaml
64+
end
5765
else
5866
# Legacy Structured data
5967
item_data = input["data"]["content"]

dc-base/config/environments/development.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
}
2727
else
2828
config.action_controller.perform_caching = false
29-
3029
config.cache_store = :null_store
3130
end
3231

@@ -55,7 +54,5 @@
5554
# Uncomment if you wish to allow Action Cable access from any origin.
5655
# config.action_cable.disable_request_forgery_protection = true
5756

58-
# config.hosts << "dec-backup.data-container.net"
59-
# config.hosts << "dec-support.data-container.net"
6057
config.hosts << ENV["RAILS_CONFIG_HOSTS"].to_s
6158
end
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class AddGinIndexesToStore < ActiveRecord::Migration[6.0]
2+
def change
3+
add_index :stores, :item, using: :gin, name: 'index_stores_on_data_gin'
4+
add_index :stores, :meta, using: :gin, name: 'index_stores_on_meta_gin'
5+
end
6+
end

dc-base/docker/Dockerfile-local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.2.2
1+
FROM ruby:3.2.8
22
LABEL maintainer="Christoph Fabianek <christoph@ownyourdata.eu>"
33

44
WORKDIR /usr/src/app
@@ -20,7 +20,7 @@ RUN git config --global url."https://".insteadOf git:// && \
2020
gem update --system && \
2121
bundle install && \
2222
bundle update && \
23-
rake app:update:bin && \
23+
# rake app:update:bin && \
2424
ln -s $PWD/script/init.sh /bin/init.sh
2525

2626
COPY . .

dc-base/docker/Dockerfile-local.arm64v8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ COPY config config
1717
COPY docker/local-gem/*.gem /tmp/
1818
RUN git config --global url."https://".insteadOf git:// && \
1919
gem install /tmp/*.gem && \
20+
gem update --system && \
2021
bundle install && \
2122
bundle update && \
22-
rake app:update:bin && \
23+
# rake app:update:bin && \
2324
ln -s $PWD/script/init.sh /bin/init.sh
2425

2526
COPY . .
1 KB
Binary file not shown.

0 commit comments

Comments
 (0)