Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2017-11-14T18:39:01+01:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/223Genesys-pgr 503 Service Unavailable2017-11-14T18:39:01+01:00Aleksandr KirichenkoGenesys-pgr 503 Service Unavailable![SCR_0066](/uploads/ff916d1ac58a831f043769aa64b8c686/SCR_0066.png)![SCR_0066](/uploads/ff916d1ac58a831f043769aa64b8c686/SCR_0066.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/221NPGS link on the History of Genesys page doesn't work2017-11-13T13:56:19+01:00Aleksandr KirichenkoNPGS link on the History of Genesys page doesn't workI could open this link only in the Firefox v. 55.0.2 browser
**Steps:**
1. Go to History of Genesys page: "https://sandbox.genesys-pgr.org/content/about/history-of-genesys"
2. Click on the "NPGS" link
Act.res.: endless pending
![SCR_0...I could open this link only in the Firefox v. 55.0.2 browser
**Steps:**
1. Go to History of Genesys page: "https://sandbox.genesys-pgr.org/content/about/history-of-genesys"
2. Click on the "NPGS" link
Act.res.: endless pending
![SCR_0062](/uploads/a7c0a4175d8aa6c633da5caeade9b9bb/SCR_0062.png)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/215"Saved lists of accessions" long name or description2017-11-07T21:11:21+01:00Aleksandr Kirichenko"Saved lists of accessions" long name or description"Saved lists of accessions" long name or description cause failures
**Steps:**
1. Go to the "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Select several Accessions;
4. Click on the "My List" menu item;
5. Na..."Saved lists of accessions" long name or description cause failures
**Steps:**
1. Go to the "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Select several Accessions;
4. Click on the "My List" menu item;
5. Navigate to the "Accession List" tab;
6. Fill the "List title" and "List description" fields using long name / description for example 150 characters;
7. Click on the "CREATE NEW LIST" button;
8. Click on the "CLEAR THE LIST" button;
**Act.res.:** See attached screen:
![SCR_0061](/uploads/c4e41a239e70010c4a62f4aef3c4851f/SCR_0061.png)2.4Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/218Document new OAuth grants2017-11-07T11:21:24+01:00Matija ObrezaDocument new OAuth grantsThe Genesys API asciidoc should include documentation on **client credential** and **password** grants.
Update asciidoc.The Genesys API asciidoc should include documentation on **client credential** and **password** grants.
Update asciidoc.2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/94Uploading data on the server through the Anno2017-11-07T07:42:48+01:00Aleksandr KirichenkoUploading data on the server through the Anno@mobreza Could you please describe flow of the uploading data on the server through the Anno? I am particularly interested in action on approval of these data by the administrator. I assume that the uploading data to the server with the...@mobreza Could you please describe flow of the uploading data on the server through the Anno? I am particularly interested in action on approval of these data by the administrator. I assume that the uploading data to the server with the help of Anno requires the approval by the authorized person. At the moment I can't find a solution how and where can I see the request for upload confirmation. If I'm wrong in understanding this logic, please correct me..Aleksandr KirichenkoAleksandr Kirichenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/216OAuth client registration fails2017-11-06T21:28:56+01:00Matija ObrezaOAuth client registration failsRegression in cbb0512ef813ff2824575e0cecedc5b9a520a7cdRegression in cbb0512ef813ff2824575e0cecedc5b9a520a7cd2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/104Selected role isn't displaying correctly.2017-11-03T19:10:32+01:00Aleksandr KirichenkoSelected role isn't displaying correctly.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Institutes" menu item;
3. Click on the any institute from the list, "AUT001" e.g.;
4. Click on the "Edit permissions" link;
5. In the "Select role" drop-do...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Institutes" menu item;
3. Click on the any institute from the list, "AUT001" e.g.;
4. Click on the "Edit permissions" link;
5. In the "Select role" drop-down select any role, "ADMINISTRATOR" e.g.;
**Act.res.:** Selected role isn't displayed correctly. See attached screens and video.![SCR_0016](/uploads/caca7fbdeeeb93dc2212dd8a485d90e5/SCR_0016.png)[rec_008.avi](/uploads/53e72cae05ed53f0cf793b108c02a352/rec_008.avi)
![SCR_0018](/uploads/1754ae68264eda8cb108a445c198fb7a/SCR_0018.png)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/187Configurable default accounts2017-11-02T10:47:10+01:00Matija ObrezaConfigurable default accountsMake configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.Make configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/212CDN + languages2017-10-31T09:04:18+01:00Matija ObrezaCDN + languageshttps://www.genesys-pgr.org/de/c/apple
```
GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/styles/all.min.css net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ER...https://www.genesys-pgr.org/de/c/apple
```
GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/styles/all.min.css net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ERR_ABORTED
apple:553 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-LOGO_black.svg 404 ()
apple:128 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-ICON.svg 404 ()
apple:128 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-LOGO.svg 404 ()
apple:643 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/genesyshighcharts.min.js net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ERR_ABORTED
```2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/213WIEWS link changed2017-10-31T09:04:18+01:00Matija ObrezaWIEWS link changedFAO WIEWS details are now available at
```
http://www.fao.org/wiews/data/organizations/en/?instcode=GBR004
```
we use the old format http://www.fao.org/wiews/instab/en/?instcode=GBR004FAO WIEWS details are now available at
```
http://www.fao.org/wiews/data/organizations/en/?instcode=GBR004
```
we use the old format http://www.fao.org/wiews/instab/en/?instcode=GBR0042.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/207Validate API2017-10-30T08:09:27+01:00Matija ObrezaValidate APIWe've changed CORS and all other configuration in order to enable support for CDN with Cloudfront (now enabled on https://sandbox.genesys-pgr.org).
Please test that the Uploader (Anno) still works and you're able to update records on Sa...We've changed CORS and all other configuration in order to enable support for CDN with Cloudfront (now enabled on https://sandbox.genesys-pgr.org).
Please test that the Uploader (Anno) still works and you're able to update records on Sandbox.Aleksandr KirichenkoAleksandr Kirichenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/192Ability to save empty list of accessions2017-10-27T15:41:31+02:00Aleksandr KirichenkoAbility to save empty list of accessions**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields;
6. Click on the "CREATE NEW LIST" button;
**Act.Res:** "Your list of accessions successful saved." message was displayed and new empty list was created.
See attached video:
![recording_0008](/uploads/aee6f757cf5e96700f412d54d765c0b6/recording_0008.gif)2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/185KML exhausts memory2017-10-27T15:41:31+02:00Aleksandr KirichenkoKML exhausts memoryThe `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filtere...The `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filteredGeoJson`
1. `mappingService.filteredKml`
Throw exception if filter produces over 200,000 records.
Next, convert the filteredGeoJson to accept the response `OutputStream` and write the KML directly to the response stream, not a `String` buffer.
## Exhausting memory on the server
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map area;
3. Click on the "DOWNLOAD KML" button;
4. On the Download pop-up click "cancel" button;
5. Click on the "DOWNLOAD KML" button again;
The reproducibility of the error is unstable, and it can take several repetitions.
2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/209Register target in GLIS2017-10-27T15:41:31+02:00Matija ObrezaRegister target in GLISWhen accession record **with DOI** is persisted register Genesys as a target URL for that accession.
genesys-pgr/glis-client#29
The rate limit must be configurable in env vars or properties.
## Existing records
Some method of registe...When accession record **with DOI** is persisted register Genesys as a target URL for that accession.
genesys-pgr/glis-client#29
The rate limit must be configurable in env vars or properties.
## Existing records
Some method of registering Genesys as a target is required for existing DOI'zed accessions. (beanshell?)
2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/208Release 2.22017-10-27T15:41:31+02:00Matija ObrezaRelease 2.2Release version 2.2Release version 2.22.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/148Uniting Catalog and Genesys-PGR DBs2017-10-26T10:30:05+02:00Nina Tkachenkon.tkachenko@aimprosoft.comUniting Catalog and Genesys-PGR DBsDear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more c...Dear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more connections and dependencies we find.
Having interconnected data in two separate DBs will require us to duplicate code and to spend time supporting changes in both DBs
There’re the latest observations we’ve got after discussing the mockups of “Partners” and “Descriptors” for Catalog.
1) Search functionality should be common for two sites: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86546920
2) We should have connection between Partner and Accession: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544342
3) We should have connection between Partner and Institute: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544634
4) 2 sites should have common administration section: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86543918
5) We should use the same crop list in both sites (which is generated dynamically each time) https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699661/comments/86546654
6) Catalog is supposed to be a subsite of Genesys-PGR, in which case if user is logged in on Genesys-pgr and goes to the Catalog, he will find out that he’s not logged in, though it would seem like he hadn’t gone to a different environment.
Thus, on current level of understanding we think it would be reasonable to merge two DB's together in order to improve the effectiveness and speed of work.Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/202Accession last updated2017-10-25T14:22:56+02:00Matija ObrezaAccession last updatedI see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*I see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/204Improved HTTP cache headers2017-10-25T14:16:43+02:00Matija ObrezaImproved HTTP cache headersStatic resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeout...Static resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeouts when #203 is implemented as that will generate hashed names for CSS and other static resources.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/205CDN with Cloudfront2017-10-25T14:16:43+02:00Matija ObrezaCDN with CloudfrontWe started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code t...We started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code that we use for the tiles in (s1.cdn - s4.cdn.genesys-pgr.org). Some of this code can be reused.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/176Note on latest master2017-10-25T11:01:35+02:00Matija ObrezaNote on latest masterI've merged #174 . That has some major changes to Genesys and is deployed to https://sandbox.genesys-pgr.org
1. Create a `src/main/resources/genesys.properties` file with **your own** local configuration, especially the DB connection. ...I've merged #174 . That has some major changes to Genesys and is deployed to https://sandbox.genesys-pgr.org
1. Create a `src/main/resources/genesys.properties` file with **your own** local configuration, especially the DB connection. This file should not ever be committed to the repo.
1. That's it.
@all Say yes! If you have trouble running latest master let me know!
My `genesys.properties` has commented-out sections for testing against the mysql or against HSQL:
```.properties
#db.url=jdbc:mysql://localhost/sandbox?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#db.driverClassName=com.mysql.jdbc.Driver
#db.username=root
#db.password=
db.url=jdbc:hsqldb:mem:genesys;sql.syntax_mys=true
db.driverClassName=org.hsqldb.jdbc.JDBCDriver
db.username=sa
db.password=
db.showSql=false
db.hbm2ddl=true
auto.createContent=true
hibernate.dialect=org.genesys.blocks.util.BetterHSQLDialect
```2.2Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.com