Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ jobs:
ruby-version: '3.3.5'
bundler-cache: true

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
if [ -f services/requirements.txt ]; then pip install -r services/requirements.txt; fi
pip install -e services
pip list

- name: Cache Thrift
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ config/configuration.yml
config/database.yml
config/ldap.yml

# Ignore OneraMDAO
services/whatsopt_server/optimizer_store/oneramdao

# Ignore XDSMjs
app/javascript/XDSMjs

Expand Down
2 changes: 0 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ inherit_mode:
- Exclude

AllCops:
Exclude:
- 'app/lib/whats_opt/services/*.rb'
TargetRubyVersion: 3.0

Layout/IndentationConsistency:
Expand Down
8 changes: 5 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<h1>CHANGELOG</h1>

<h3>2.0.0 (11/02/2026)</h3>
<h3>2.0.1 (12/02/2026)</h3>
<ul>
<li>Breaking change: the metamodel creation from DOE is not available anymore</li>
<li>Breaking change: the running operation on the server is not available anymore</li>
<li>Breaking change: the metamodel creation (kriging, pce) from DOE is removed</li>
<li>Breaking change: the running operation on the server is removed</li>
<li>Breaking change: the package management is removed</li>
<li>Breaking change: remote access to SEGOMOE optimizer is removed</li>
<li>Openmdao code generation handles Jax components</li>
</ul>

Expand Down
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ RUN pip install numpy \
&& pip install salib \
&& pip install smt \
&& pip install openturns \
&& pip install thrift \
&& pip install wop

# Clean up APT when done.
Expand All @@ -114,13 +113,6 @@ RUN gem install bundler:2.2.33 \

COPY . ./

RUN pip install -e services/whatsopt_server/optimizer_store/oneramdao/doe \
&& pip install -e services/whatsopt_server/optimizer_store/oneramdao/kpls \
&& pip install -e services/whatsopt_server/optimizer_store/oneramdao/mfk \
&& pip install -e services/whatsopt_server/optimizer_store/oneramdao/moe \
&& pip install -e services/whatsopt_server/optimizer_store/oneramdao/sego \
&& pip install -e services

RUN bundle install

EXPOSE 3000
Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ gem "popper" # bootstrap dependency
gem "bootstrap", "~> 5.0"
gem "font-awesome-sass", "~> 6.7.2"

# thrift
gem "thrift", "~>0.22"

# Actiontext image processing
gem "image_processing", "~> 1.2"

Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ GEM
terser (1.2.6)
execjs (>= 0.3.0, < 3)
thor (1.5.0)
thrift (0.22.0)
tilt (2.6.1)
timeout (0.6.0)
toml (0.3.0)
Expand Down Expand Up @@ -569,7 +568,6 @@ DEPENDENCIES
sqlite3
stringio (= 3.1.1)
terser
thrift (~> 0.22)
turbo-rails
tzinfo-data
web-console
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1
11 changes: 0 additions & 11 deletions app/channels/operation_run_channel.rb

This file was deleted.

2 changes: 1 addition & 1 deletion app/controllers/api/v1/analyses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def update
@journal.journalize_changes(@mda, old_attrs)
json_response @mda
elsif import
if @mda.packaged? || @mda.operated?
if @mda.operated?
json_response @mda, :forbidden
else
fromAnalysis = Analysis.find(import[:analysis])
Expand Down
13 changes: 0 additions & 13 deletions app/controllers/api/v1/exports_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require "whats_opt/package_fetcher"

# Used by wop
class Api::V1::ExportsController < Api::ApiController
def new
Expand Down Expand Up @@ -32,17 +30,6 @@ def new
rescue WhatsOpt::GemseoGenerator::NotYetImplementedError => e
json_response({ message: "GEMSEO export failure: #{e}" }, :bad_request)
end
when "mda_pkg_content"
src_id = params[:src_id]
src_mda = Analysis.find(src_id)
src_mda
fetcher = WhatsOpt::PackageFetcher.new(mda, src_mda)
begin
content, filename = fetcher.generate()
send_data content, filename: filename
rescue => e
json_response({ message: "Package content export failure: #{e}" }, :bad_request)
end
else
json_response({ message: "Export format #{format} not known" }, :bad_request)
end
Expand Down
35 changes: 0 additions & 35 deletions app/controllers/api/v1/jobs_controller.rb

This file was deleted.

86 changes: 0 additions & 86 deletions app/controllers/api/v1/meta_models_controller.rb

This file was deleted.

2 changes: 1 addition & 1 deletion app/controllers/api/v1/operations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def set_operation
end

def ope_params
params.require(:operation).permit(:host, :driver, :name,
params.require(:operation).permit(:driver, :name,
cases: [:varname, :coord_index, values: []],
success: [],
options_attributes: [:id, :name, :value, :_destroy])
Expand Down
59 changes: 0 additions & 59 deletions app/controllers/api/v1/optimizations_controller.rb

This file was deleted.

39 changes: 0 additions & 39 deletions app/controllers/api/v1/packages_controller.rb

This file was deleted.

11 changes: 0 additions & 11 deletions app/controllers/api/v1/prediction_qualities_controller.rb

This file was deleted.

Loading