Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

It's a good idea to check whether you can access your newly created database. Make sure you can successfully connect there.

Code Block
> mysql -u itm_catalog_rw -p -h localhost itm_catalog_qt
Enter password:
...
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6318
Server version: 8.0.20 MySQL Community Server - GPL

...
...

mysql> show tables;
+----------------------------+
| Tables_in_itm_catalog_test |
+----------------------------+
| annotation                 |
| catalog_parameters         |
| entry                      |
| entry_data                 |
| experiment                 |
| outcome                    |
| reference                  |
| replace                    |
| request                    |
| tag                        |
| tag_entry                  |
| user                       |
| variable                   |
+----------------------------+
13 rows in set (0.00 sec)

mysql>


Starting WS API server

In order to run WS API server you have to start Spring-Boot application. Make sure to go inside directory: ws/catalog-ws 

Code Block
> cd ws/catalog-ws
> mvn spring-boot:run
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< pl.psnc.catalog:catalog-ws >---------------------
[INFO] Building catalog-ws 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
...
...
 .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.0.RELEASE)

2020-06-05 13:21:31.533  INFO 17919 --- [           main] p.p.c.catalogws.CatalogWsApplication     : Starting CatalogWsApplication on catalog.eufus.eu with PID 17919
...
...