Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
f774ac0f
Commit
f774ac0f
authored
9 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
update README -> add bugs list
parent
38e11cf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+22
-5
22 additions, 5 deletions
README.md
src/main/java/org/hbp/mip/controllers/ModelsApi.java
+0
-26
0 additions, 26 deletions
src/main/java/org/hbp/mip/controllers/ModelsApi.java
with
22 additions
and
31 deletions
README.md
+
22
−
5
View file @
f774ac0f
...
...
@@ -12,13 +12,30 @@ The API documentation is available at `<BASE URL>/swagger-ui.html`. A JSON versi
## TODO
*
Fix bugs;
*
Externalize configuration (DB parameters, security enabled/disabled, ...);
*
Sync backend with hand written Swagger specs (see Maintenance section below);
*
Decide if an update on a model should affect the articles including it;
*
Add author's view if needed;
*
Implement delete methods if needed;
*
Implement logout;
*
Add some details to the group and variable models like descriptions;
*
Update frontend (add introduction page, hide header/footer when not logged in, remove mock authors, real stats like users count);
*
Fix bugs;
*
Add SoapUI tests.
*
Add introduction page;
*
Update front-end behavior when not logged in;
*
Clean code (both back-end front-end);
*
Sync with original Swagger description;
*
Implement SoapUI tests;
*
Make user tests with multiple users.
## BUGS
*
Copy a model;
*
When updating an article from the 'recent articles' list, bug with 'publish' state;
*
When updating a model the SVG is not updated (SVG updates when opening article editor);
*
Dynamic stats (users, articles, ...);
*
In the profile view, we shouldn't see the '+' between firstname and lastname;
*
In the profile view links to own articles and so on, are not implemented;
*
Export PDF;
### Maintenance
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/hbp/mip/controllers/ModelsApi.java
+
0
−
26
View file @
f774ac0f
...
...
@@ -144,32 +144,6 @@ public class ModelsApi {
Model
model
=
(
Model
)
query
.
uniqueResult
();
session
.
getTransaction
().
commit
();
// Inject mock data
/*List<Object> values = new LinkedList<>();
values.add(18422);
values.add(16972);
values.add(17330);
values.add(16398);
values.add(21614);
values.add(21386);
values.add(20474);
values.add(19867);
values.add(20398);
values.add(19741);
values.add(18595);
values.add(18018);
model.getDataset().getData().put("MidTemp", values);
model.getDataset().getHeader().add("MidTemp");*/
/*session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
query = session.createQuery("from Dataset where code= :code");
query.setString("code", model.getDataset().getCode());
Dataset dataset = (Dataset) query.uniqueResult();
session.getTransaction().commit();
System.out.println("keyset : "+dataset.getData().keySet());*/
session
=
HibernateUtil
.
getSessionFactory
().
getCurrentSession
();
session
.
beginTransaction
();
query
=
session
.
createQuery
(
"from Query where id= :id"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment