AIP 테이블 입력.SQL 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. -- TB_AIP_SERVER --
  2. SET IDENTITY_INSERT [TB_AIP_SERVER] ON
  3. INSERT INTO [TB_AIP_SERVER]
  4. (AipServerId, [AipServerName], [IpAddr], [Port])
  5. VALUES
  6. (0, 'AIP Gateway Server', '192.168.20.99', 5000)
  7. SET IDENTITY_INSERT [TB_AIP_SERVER] OFF
  8. GO
  9. -- TB_AIP_SERVER --
  10. SET IDENTITY_INSERT [TB_AIP_CONFIG] ON
  11. INSERT INTO [TB_AIP_CONFIG]
  12. (Id, [AipServerId], [ConfigKey], [ConfigValue])
  13. VALUES
  14. --( 1, 0, 'AppName', 'AIP Gateway RESTFull Service'),
  15. --( 2, 0, 'AppVersion', '1.0.0.0'),
  16. --( 3, 0, 'ClientId', '0e225915-3be3-419c-aa04-284d7de5e16b'),
  17. --( 4, 0, 'TenantId', '2e58414a-c6ae-43ff-aaf5-45ab8b78a404'),
  18. --( 5, 0, 'MipData', 'App_Data\\mip_data'),
  19. --( 6, 0, 'LoginType', 'authLoginCert'),
  20. --( 7, 0, 'Domain', 'AIP.Gateway'),
  21. --( 8, 0, 'EMail', 'SeungHo@kangfamily.site'),
  22. --( 9, 0, 'SecretValue', 'CvW8Q~0iANtLN1Y2EXR_nVyYb_tQTDwjW-Z7Ndg3'),
  23. --(10, 0, 'CertThumbPrint', 'C:\\DEV\\SOLUTION\\IIS\\OpenSSL\\mip\\mip_gateway.pfx'),
  24. --(11, 0, 'SourceFileDir', 'C:\\Data\\Source\\'),
  25. --(12, 0, 'TargetFileDir', 'C:\\Data\\Target\\'),
  26. (13, 0, 'SetLabelId', '1098bdb0-f2bc-43d3-b9c7-e610431fc1a4'),
  27. (14, 0, 'DeleteLabelId', '878173ae-cc36-4881-af57-604af868314c'),
  28. (15, 0, 'SetTemplateId', '3c597cfe-ec81-4c18-add7-3867f2d3b4d4'),
  29. (16, 0, 'DeleteTemplateId', '0166b75f-6a93-47f3-8fd3-e1e7c59141ab'),
  30. (17, 0, 'SupportedFileExt', '.doc;.docx;.docm;.dot;.dotm;.dotx;.xls;.xlt;.xlsx;.xltx;.xltm;.xlsm;.xlsb;.ppt;.pps;.pot;.pptx;.ppsx;.pptm;.ppsm;.potx;.potm;.pdf;.txt;.xml;.jpg;.jpeg;.png;.tif;.tiff;.bmp;.gif;.jpe;.jfif;.jt;'),
  31. (18, 0, 'ProtectedFileExt', '.txt-.ptxt;.xml-.pxml;.jpg-.pjpg;.jpeg-.pjpeg;.png-.ppng;.tif-.ptif;.tiff-.ptiff;.bmp-.pbmp;.gif-.pgif;.jpe-.pjpe;.jfif-.pjfif;.jt-.pjt;'),
  32. --(21, 1, 'AppName', 'AIP Gateway RESTFull Service'),
  33. --(22, 1, 'AppVersion', '1.0.0.0'),
  34. (23, 1, 'ClientId', '0e225915-3be3-419c-aa04-284d7de5e16b'),
  35. (24, 1, 'TenantId', '2e58414a-c6ae-43ff-aaf5-45ab8b78a404'),
  36. (26, 1, 'LoginType', 'authLoginCert'),
  37. (27, 1, 'Domain', 'AIP.Gateway'),
  38. (28, 1, 'EMail', 'SeungHo@kangfamily.site'),
  39. (29, 1, 'SecretValue', 'CvW8Q~0iANtLN1Y2EXR_nVyYb_tQTDwjW-Z7Ndg3'),
  40. (30, 1, 'CertThumbPrint', 'C:\\Data\\SSL\\mip\\mip_gateway.pfx')
  41. SET IDENTITY_INSERT [TB_AIP_CONFIG] OFF
  42. GO
  43. INSERT INTO [TB_AIP_API_INFO]
  44. ([ApiId], [AipEndPoint], [ApiName], [ApiDesc])
  45. VALUES
  46. ( 1, '/api/v1/db/reload', 'ReloadDatabase', '데이터베이스 재로딩'),
  47. ( 2, '/api/v1/db/linked-systems', 'GetLinkedSystems', '연계 시스템 정보 조회'),
  48. ( 3, '/api/v1/db/linked-servers', 'GetLinkedServers', '연계 서버 정보 조회'),
  49. ( 4, '/api/v1/db/linked-api-keys', 'GetApiKeys', 'API Key 조회'),
  50. ( 5, '/api/v1/db/linked-decrypt-keys', 'GetDecryptKeys', 'Decrypt Key 조회'),
  51. (10, '/api/v1/aip/download', 'DownloadAIP', 'AIP 정보 다운로드'),
  52. (11, '/api/v1/aip/labels', 'GetLabels', 'AIP Label 정보 조회'),
  53. (12, '/api/v1/aip/policies', 'GetPolicies', 'AIP Policy 정보 조회'),
  54. (13, '/api/v1/aip/protections', 'GetProtections', 'AIP Protection 정보 조회'),
  55. (21, '/api/v1/file/info', 'GetFileInfo', 'File AIP 정보 조회'),
  56. (22, '/api/v1/file/set-label', 'SetLabel', 'File Label 설정'),
  57. (23, '/api/v1/file/delete-label', 'DeleteLabel', 'File Label 해제'),
  58. (24, '/api/v1/file/set-protection', 'SetProtection', 'File Protection 설정'),
  59. (25, '/api/v1/file/delete-protection', 'DeleteProtection', 'File Protection 해제'),
  60. (26, '/api/v1/file/set-label-protection', 'SetLabelOrProtection', 'File Lable Or Protection 설정'),
  61. (27, '/api/v1/file/delete-label-protection', 'DeleteLableOrProtection', 'File Label Or Protection 해제'),
  62. (28, '/api/v1/file/encrypt', 'EncryptFile', 'File Encrypt'),
  63. (29, '/api/v1/file/decrypt', 'DecryptFile', 'File Decrypt'),
  64. (30, '/api/v1/file/set-labels', 'SetLabels', 'File Label 설정'),
  65. (31, '/api/v1/file/delete-labels', 'DeleteLabels', 'File Label 해제'),
  66. (41, '/api/v1/stream/info', 'GetStreamInfo', 'Stream AIP 정보 조회'),
  67. (42, '/api/v1/stream/set-label', 'SetStreamLabel', 'Stream Label 설정'),
  68. (43, '/api/v1/stream/delete-label', 'DeleteStreamLabel', 'Stream Label 해제'),
  69. (44, '/api/v1/stream/set-protection', 'SetStreamProtection', 'Stream Protection 설정'),
  70. (45, '/api/v1/stream/delete-protection', 'DeleteStreamProtection', 'Stream Protection 해제'),
  71. (46, '/api/v1/stream/set-label-protection', 'SetLabelOrProtection', 'Stream Lable Or Protection 설정'),
  72. (47, '/api/v1/stream/delete-label-protection', 'DeleteLableOrProtection', 'Stream Label Or Protection 해제'),
  73. (48, '/api/v1/stream/encrypt', 'EncryptStream', 'Stream Encrypt'),
  74. (49, '/api/v1/stream/decrypt', 'DecryptStream', 'Stream Decrypt'),
  75. (50, '/api/v1/stream/set-labels', 'SetStreamLabels', 'Stream Label 설정'),
  76. (51, '/api/v1/stream/delete-labels', 'DeleteStreamLabels', 'Stream Label 해제'),
  77. (99, '/api/v1/dummy', 'Dummy', 'Dummy');
  78. GO