Skip to content

Commit

Permalink
[HOPSWORKS-2656][HOPSWORKS-2662] Fix serving UI and set angular-mater…
Browse files Browse the repository at this point in the history
…ial to v1.1.22 (#913)

* [HOPSWORKS-2656] Fix sklearn serving creation with new artifact (#601)

* [HOPSWORKS-2662] Fix angular-material version to 1.1.22 (#603)
  • Loading branch information
javierdlrm authored and SirOibaf committed Jul 24, 2021
1 parent 8ccaa26 commit 3294b1a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hopsworks-IT/src/test/ruby/spec/tfserving_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@
end

after :each do
# Check if the process is
wait_for_type("testModelChanged")
serving = Serving.find(@serving[:id])
wait_for_type(serving[:name])
end

it "should be able to update the name" do
Expand Down
2 changes: 1 addition & 1 deletion hopsworks-web/yo/app/scripts/controllers/servingCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ angular.module('hopsWorksApp')
if (self.isKubernetes) {
self.artifactVersions = [{key: "0", value: self.artifactModelOnly}];
self.artifactVersion = self.artifactVersions[0];
self.editServing.artifactVersion = self.artifactVersion.key;
self.editServing.artifactVersion = null; // set null to create the artifact if it doesn't exist
}
} else {
self.editServing.transformer = path;
Expand Down
4 changes: 2 additions & 2 deletions hopsworks-web/yo/app/views/serving.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h3 id="projectBread" style="border-bottom: none"></h3>
ng-disabled="!servingCtrl.isKubernetes"
ng-change="servingCtrl.setArtifactVersion(servingCtrl.artifactVersion)"></select>
<!-- KFServing -->
<md-checkbox style="margin-top: -2px; margin-bottom: -20px;"
<md-checkbox style="margin-top: 7px; margin-bottom: -2px;"
class="md-primary"
name="kfserving"
ng-model="servingCtrl.kfserving"
Expand Down Expand Up @@ -293,7 +293,7 @@ <h3 id="projectBread" style="border-bottom: none"></h3>
</rzslider>
<!-- Request batching -->
<md-checkbox name="requestBatching"
style="margin-top: 10px; margin-bottom: -20px;"
style="margin-top: 17px; margin-bottom: -2px;"
class="md-primary"
ng-model="servingCtrl.editServing.batchingEnabled"
ng-disabled="servingCtrl.kfserving || servingCtrl.editServing.modelServer === servingCtrl.modelServerFlask">
Expand Down
2 changes: 1 addition & 1 deletion hopsworks-web/yo/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"angular-growl-v2": "^0.7.9",
"angular-xeditable": "^0.2.0",
"isteven-angular-multiselect": "angular-multi-select#^4.0.0",
"angular-material": "^1.1.1",
"angular-material": "1.1.22",
"angular-material-data-table": "^0.10.9",
"angularjs-slider": "^5.5.1",
"angular-nvd3": "^1.0.9",
Expand Down

0 comments on commit 3294b1a

Please sign in to comment.