diff --git a/events/src/main/resources/application.properties b/events/src/main/resources/application.properties index 994728a..eade546 100644 --- a/events/src/main/resources/application.properties +++ b/events/src/main/resources/application.properties @@ -1,24 +1,24 @@ server.port = 9020 - -spring.datasource.url = jdbc:mysql://localhost:3306/events -spring.datasource.username = root -spring.datasource.password = 1DvaTri! - -# Keep the connection alive if idle for a long time (needed in production) -spring.datasource.testWhileIdle = true -spring.datasource.validationQuery = SELECT 1 - -# Show or not log for each sql query -spring.jpa.show-sql = true - -# Hibernate ddl auto (create, create-drop, update) -spring.jpa.hibernate.ddl-auto = update - -# Naming strategy -spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy - -# Use spring.jpa.properties.* for Hibernate native properties (the prefix is -# stripped before adding them to the entity manager) - -# The SQL dialect makes Hibernate generate better SQL for the chosen database -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect +# +#spring.datasource.url = jdbc:mysql://localhost:3306/events +#spring.datasource.username = root +#spring.datasource.password = 1DvaTri! +# +## Keep the connection alive if idle for a long time (needed in production) +#spring.datasource.testWhileIdle = true +#spring.datasource.validationQuery = SELECT 1 +# +## Show or not log for each sql query +#spring.jpa.show-sql = true +# +## Hibernate ddl auto (create, create-drop, update) +#spring.jpa.hibernate.ddl-auto = update +# +## Naming strategy +#spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy +# +## Use spring.jpa.properties.* for Hibernate native properties (the prefix is +## stripped before adding them to the entity manager) +# +## The SQL dialect makes Hibernate generate better SQL for the chosen database +#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect diff --git a/postman collections/Steleks%20Backend.postman_collection.json b/postman collections/Steleks%20Backend.postman_collection.json index 893975b..c31b252 100644 --- a/postman collections/Steleks%20Backend.postman_collection.json +++ b/postman collections/Steleks%20Backend.postman_collection.json @@ -501,7 +501,7 @@ "name": "Add Category To Team", "request": { "url": "http://{{url}}:{{teamsPort}}/teams/{{teamId}}/teamCategory", - "method": "POST", + "method": "PUT", "header": [ { "key": "Content-Type", diff --git a/postman collections/Steleks%20Local.postman_environment.json b/postman collections/Steleks%20Local.postman_environment.json new file mode 100644 index 0000000..5ee48e0 --- /dev/null +++ b/postman collections/Steleks%20Local.postman_environment.json @@ -0,0 +1,53 @@ +{ + "id": "f9241756-1b82-e149-d0d5-9269bf40e003", + "name": "Steleks Local", + "values": [ + { + "enabled": true, + "key": "url", + "type": "text", + "value": "localhost" + }, + { + "enabled": true, + "key": "usersPort", + "type": "text", + "value": "8090" + }, + { + "enabled": true, + "key": "eventsPort", + "type": "text", + "value": "9020" + }, + { + "enabled": true, + "key": "teamsPort", + "type": "text", + "value": "9010" + }, + { + "enabled": true, + "key": "teamId", + "type": "text", + "value": "3" + }, + { + "enabled": true, + "key": "userId", + "type": "text", + "value": "6" + }, + { + "enabled": true, + "key": "eventId", + "type": "text", + "value": "2" + } + ], + "timestamp": 1490733819308, + "synced": false, + "syncedFilename": "", + "team": null, + "isDeleted": false +} \ No newline at end of file diff --git a/teams/src/main/resources/application.properties b/teams/src/main/resources/application.properties index 7ec8116..67b67ee 100644 --- a/teams/src/main/resources/application.properties +++ b/teams/src/main/resources/application.properties @@ -1,24 +1,24 @@ server.port=9010 - -spring.datasource.url = jdbc:mysql://localhost:3306/teams -spring.datasource.username = root -spring.datasource.password = 1DvaTri! - -# Keep the connection alive if idle for a long time (needed in production) -spring.datasource.testWhileIdle = true -spring.datasource.validationQuery = SELECT 1 - -# Show or not log for each sql query -spring.jpa.show-sql = true - -# Hibernate ddl auto (create, create-drop, update) -spring.jpa.hibernate.ddl-auto = update - -# Naming strategy -spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy - -# Use spring.jpa.properties.* for Hibernate native properties (the prefix is -# stripped before adding them to the entity manager) - -# The SQL dialect makes Hibernate generate better SQL for the chosen database -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect +# +#spring.datasource.url = jdbc:mysql://localhost:3306/teams +#spring.datasource.username = root +#spring.datasource.password = 1DvaTri! +# +## Keep the connection alive if idle for a long time (needed in production) +#spring.datasource.testWhileIdle = true +#spring.datasource.validationQuery = SELECT 1 +# +## Show or not log for each sql query +#spring.jpa.show-sql = true +# +## Hibernate ddl auto (create, create-drop, update) +#spring.jpa.hibernate.ddl-auto = update +# +## Naming strategy +#spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy +# +## Use spring.jpa.properties.* for Hibernate native properties (the prefix is +## stripped before adding them to the entity manager) +# +## The SQL dialect makes Hibernate generate better SQL for the chosen database +#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect diff --git a/users/src/main/resources/application.properties b/users/src/main/resources/application.properties index 2eee343..64f3853 100644 --- a/users/src/main/resources/application.properties +++ b/users/src/main/resources/application.properties @@ -1,24 +1,24 @@ server.port = 8090 - -spring.datasource.url = jdbc:mysql://localhost:3306/users -spring.datasource.username = root -spring.datasource.password = 1DvaTri! - -# Keep the connection alive if idle for a long time (needed in production) -spring.datasource.testWhileIdle = true -spring.datasource.validationQuery = SELECT 1 - -# Show or not log for each sql query -spring.jpa.show-sql = true - -# Hibernate ddl auto (create, create-drop, update) -spring.jpa.hibernate.ddl-auto = update - -# Naming strategy -spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy - -# Use spring.jpa.properties.* for Hibernate native properties (the prefix is -# stripped before adding them to the entity manager) - -# The SQL dialect makes Hibernate generate better SQL for the chosen database -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect +# +#spring.datasource.url = jdbc:mysql://localhost:3306/users +#spring.datasource.username = root +#spring.datasource.password = 1DvaTri! +# +## Keep the connection alive if idle for a long time (needed in production) +#spring.datasource.testWhileIdle = true +#spring.datasource.validationQuery = SELECT 1 +# +## Show or not log for each sql query +#spring.jpa.show-sql = true +# +## Hibernate ddl auto (create, create-drop, update) +#spring.jpa.hibernate.ddl-auto = update +# +## Naming strategy +#spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy +# +## Use spring.jpa.properties.* for Hibernate native properties (the prefix is +## stripped before adding them to the entity manager) +# +## The SQL dialect makes Hibernate generate better SQL for the chosen database +#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect