From 031df997dc870b026ecdd00d9444c0fa9ccaef6c Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Mon, 3 Oct 2016 00:24:03 +0200 Subject: [PATCH] Update dml --- src/main/resources/liquibase/dml.sql | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/resources/liquibase/dml.sql b/src/main/resources/liquibase/dml.sql index abbb353..477d055 100644 --- a/src/main/resources/liquibase/dml.sql +++ b/src/main/resources/liquibase/dml.sql @@ -7,24 +7,24 @@ INSERT INTO APPLICATION_ROLE (CODE,DESCRIPTION) values INSERT INTO APPLICATION_RESOURCE (URL_PATTERN, HTTP_METHOD) values -('/app/page_1.html', 'GET'), -('/app/page_2.html', 'GET'), -('/app/page_3.html', 'GET'), -('/app/{username}', 'GET'), -('/app/{username}', 'PUT'), -('/app/{username}', 'POST'); +('/app/pages/page_1.html', 'GET'), +('/app/pages/page_2.html', 'GET'), +('/app/pages/page_3.html', 'GET'), +('/app/api/{username}', 'GET'), +('/app/api/{username}', 'PUT'), +('/app/api/{username}', 'POST'); INSERT INTO APPLICATION_RESOURCE_APPLICATION_ROLE (APPLICATION_RESOURCE_URL_PATTERN, APPLICATION_RESOURCE_HTTP_METHOD, APPLICATION_ROLE_CODE) values -('/app/page_1.html', 'GET', 'ROLE_APP_PAGE_1'), -('/app/page_2.html', 'GET', 'ROLE_APP_PAGE_2'), -('/app/page_3.html', 'GET', 'ROLE_APP_PAGE_3'), -('/app/{username}', 'GET', 'ROLE_APP_PAGE_1'), -('/app/{username}', 'GET', 'ROLE_APP_PAGE_2'), -('/app/{username}', 'GET', 'ROLE_APP_PAGE_3'), -('/app/{username}', 'GET', 'ROLE_APP_ADMIN'), -('/app/{username}', 'PUT', 'ROLE_APP_ADMIN'), -('/app/{username}', 'POST', 'ROLE_APP_ADMIN'); +('/app/pages/page_1.html', 'GET', 'ROLE_APP_PAGE_1'), +('/app/pages/page_2.html', 'GET', 'ROLE_APP_PAGE_2'), +('/app/pages/page_3.html', 'GET', 'ROLE_APP_PAGE_3'), +('/app/api/{username}', 'GET', 'ROLE_APP_PAGE_1'), +('/app/api/{username}', 'GET', 'ROLE_APP_PAGE_2'), +('/app/api/{username}', 'GET', 'ROLE_APP_PAGE_3'), +('/app/api/{username}', 'GET', 'ROLE_APP_ADMIN'), +('/app/api/{username}', 'PUT', 'ROLE_APP_ADMIN'), +('/app/api/{username}', 'POST', 'ROLE_APP_ADMIN'); INSERT INTO ACCOUNT (CODE, NAME, SURNAME, PASSWORD, APPLICATION_ROLE_CODE) values -- 2.1.4