k2hr3-api 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/ChangeLog +24 -0
  2. package/app.js +7 -4
  3. package/bin/run.sh +218 -172
  4. package/bin/watcher +7 -4
  5. package/bin/www +7 -4
  6. package/config/default.json +7 -4
  7. package/config/development.json +7 -4
  8. package/config/dummyuser.json +8 -5
  9. package/config/extdata-dummy.sh.templ +12 -9
  10. package/config/k2hr3-cloud-config.txt.templ +7 -4
  11. package/config/k2hr3-init-error.sh.templ +8 -5
  12. package/config/k2hr3-init.sh.templ +127 -207
  13. package/config/keystone_v2.json +7 -4
  14. package/config/keystone_v3.json +7 -4
  15. package/lib/basicipcheck.js +7 -4
  16. package/lib/cacerts.js +7 -4
  17. package/lib/dbglogging.js +7 -4
  18. package/lib/dummyuserapi.js +7 -4
  19. package/lib/ipwatch.js +7 -4
  20. package/lib/k2hr3acrutil.js +7 -5
  21. package/lib/k2hr3apiutil.js +7 -4
  22. package/lib/k2hr3cliutil.js +7 -4
  23. package/lib/k2hr3config.js +7 -4
  24. package/lib/k2hr3cryptutil.js +7 -4
  25. package/lib/k2hr3dkc.js +7 -4
  26. package/lib/k2hr3extdata.js +7 -4
  27. package/lib/k2hr3keys.js +7 -4
  28. package/lib/k2hr3resutil.js +7 -4
  29. package/lib/k2hr3template.js +7 -4
  30. package/lib/k2hr3tokens.js +7 -4
  31. package/lib/k2hr3userdata.js +8 -5
  32. package/lib/k8soidc.js +1 -1
  33. package/lib/openstackapiv2.js +7 -4
  34. package/lib/openstackapiv3.js +7 -4
  35. package/lib/openstackep.js +7 -4
  36. package/package.json +73 -72
  37. package/routes/acr.js +7 -4
  38. package/routes/debugVerify.js +7 -4
  39. package/routes/extdata.js +7 -4
  40. package/routes/list.js +7 -4
  41. package/routes/policy.js +7 -4
  42. package/routes/resource.js +7 -4
  43. package/routes/role.js +7 -4
  44. package/routes/service.js +7 -4
  45. package/routes/userTokens.js +7 -4
  46. package/routes/userdata.js +7 -4
  47. package/routes/version.js +7 -4
  48. package/templ/Dockerfile.templ +35 -52
  49. package/{test → tests}/auto_acr.js +7 -4
  50. package/{test → tests}/auto_acr_spec.js +7 -4
  51. package/{test → tests}/auto_all_spec.js +7 -4
  52. package/{test → tests}/auto_common.js +7 -4
  53. package/tests/auto_control_subprocess.sh +239 -0
  54. package/{test → tests}/auto_extdata.js +7 -4
  55. package/{test → tests}/auto_extdata_spec.js +7 -4
  56. package/tests/auto_init_config_json.sh +275 -0
  57. package/{test → tests}/auto_k2hdkc_server.ini +7 -4
  58. package/{test → tests}/auto_k2hdkc_slave.ini +7 -4
  59. package/{test → tests}/auto_list.js +7 -4
  60. package/{test → tests}/auto_list_spec.js +7 -4
  61. package/{test → tests}/auto_policy.js +7 -4
  62. package/{test → tests}/auto_policy_spec.js +7 -4
  63. package/{test → tests}/auto_resource.js +7 -4
  64. package/{test → tests}/auto_resource_spec.js +7 -4
  65. package/{test → tests}/auto_role.js +7 -4
  66. package/{test → tests}/auto_role_spec.js +7 -4
  67. package/{test → tests}/auto_service.js +7 -4
  68. package/{test → tests}/auto_service_spec.js +7 -4
  69. package/{test → tests}/auto_subprocesses.js +14 -11
  70. package/tests/auto_template.sh +126 -0
  71. package/{test → tests}/auto_token_util.js +7 -4
  72. package/{test → tests}/auto_userdata.js +7 -4
  73. package/{test → tests}/auto_userdata_spec.js +7 -4
  74. package/{test → tests}/auto_usertokens.js +7 -4
  75. package/{test → tests}/auto_usertokens_spec.js +7 -4
  76. package/{test → tests}/auto_version.js +7 -4
  77. package/{test → tests}/auto_version_spec.js +7 -4
  78. package/{test → tests}/auto_watcher.js +7 -4
  79. package/{test → tests}/auto_watcher_spec.js +7 -4
  80. package/{test → tests}/k2hdkc_test.data +7 -4
  81. package/tests/k2hdkc_test_load.sh +255 -0
  82. package/{test → tests}/k2hr3template_test.js +7 -4
  83. package/tests/k2hr3template_test.sh +339 -0
  84. package/{test → tests}/k2hr3template_test_async.js +7 -4
  85. package/{test → tests}/k2hr3template_test_template.result +14 -8
  86. package/{test → tests}/k2hr3template_test_template.txt +7 -4
  87. package/{test → tests}/k2hr3template_test_vars.js +7 -4
  88. package/{test → tests}/manual_acr_delete.js +7 -4
  89. package/{test → tests}/manual_acr_get.js +7 -4
  90. package/{test → tests}/manual_acr_postput.js +7 -4
  91. package/{test → tests}/manual_allusertenant_get.js +7 -4
  92. package/{test → tests}/manual_extdata_get.js +7 -4
  93. package/{test → tests}/manual_k2hr3keys_get.js +7 -4
  94. package/{test → tests}/manual_list_gethead.js +7 -4
  95. package/{test → tests}/manual_policy_delete.js +7 -4
  96. package/{test → tests}/manual_policy_gethead.js +7 -4
  97. package/{test → tests}/manual_policy_postput.js +7 -4
  98. package/{test → tests}/manual_resource_delete.js +7 -4
  99. package/{test → tests}/manual_resource_gethead.js +7 -4
  100. package/{test → tests}/manual_resource_postput.js +7 -4
  101. package/{test → tests}/manual_role_delete.js +7 -4
  102. package/{test → tests}/manual_role_gethead.js +7 -4
  103. package/{test → tests}/manual_role_postput.js +7 -4
  104. package/{test → tests}/manual_service_delete.js +7 -4
  105. package/{test → tests}/manual_service_gethead.js +7 -4
  106. package/{test → tests}/manual_service_postput.js +7 -4
  107. package/tests/manual_test.sh +338 -0
  108. package/{test → tests}/manual_userdata_get.js +7 -4
  109. package/{test → tests}/manual_usertoken_gethead.js +7 -4
  110. package/{test → tests}/manual_usertoken_postput.js +7 -4
  111. package/{test → tests}/manual_version_get.js +7 -4
  112. package/tests/run_local_test_k2hdkc.sh +174 -0
  113. package/tests/test.sh +331 -0
  114. package/test/auto_control_subprocess.sh +0 -170
  115. package/test/auto_init_config_json.sh +0 -246
  116. package/test/auto_template.sh +0 -127
  117. package/test/auto_test.sh +0 -321
  118. package/test/k2hdkc_test_load.sh +0 -198
  119. package/test/k2hr3template_test.sh +0 -296
  120. package/test/manual_test.sh +0 -321
  121. package/test/run_local_test_k2hdkc.sh +0 -154
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # K2HR3 REST API
3
3
  #
4
- # Copyright 2017 Yahoo! Japan Corporation.
4
+ # Copyright 2017 Yahoo Japan Corporation.
5
5
  #
6
6
  # K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  # common management information for the cloud.
@@ -3599,7 +3599,10 @@
3599
3599
  #### TEST END
3600
3600
  ############################################################
3601
3601
  #
3602
- # VIM modelines
3603
- #
3604
- # vim:set ts=4 fenc=utf-8:
3602
+ # Local variables:
3603
+ # tab-width: 4
3604
+ # c-basic-offset: 4
3605
+ # End:
3606
+ # vim600: noexpandtab sw=4 ts=4 fdm=marker
3607
+ # vim<600: noexpandtab sw=4 ts=4
3605
3608
  #
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -187,7 +187,10 @@ module.exports = {
187
187
  /* eslint-enable indent */
188
188
 
189
189
  /*
190
- * VIM modelines
191
- *
192
- * vim:set ts=4 fenc=utf-8:
190
+ * Local variables:
191
+ * tab-width: 4
192
+ * c-basic-offset: 4
193
+ * End:
194
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
195
+ * vim<600: noexpandtab sw=4 ts=4
193
196
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -134,7 +134,10 @@ cliutil.getConsoleInput('Service name : ',
134
134
  });
135
135
 
136
136
  /*
137
- * VIM modelines
138
- *
139
- * vim:set ts=4 fenc=utf-8:
137
+ * Local variables:
138
+ * tab-width: 4
139
+ * c-basic-offset: 4
140
+ * End:
141
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
142
+ * vim<600: noexpandtab sw=4 ts=4
140
143
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -288,7 +288,10 @@ cliutil.getConsoleInput('Service name : ',
288
288
  });
289
289
 
290
290
  /*
291
- * VIM modelines
292
- *
293
- * vim:set ts=4 fenc=utf-8:
291
+ * Local variables:
292
+ * tab-width: 4
293
+ * c-basic-offset: 4
294
+ * End:
295
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
296
+ * vim<600: noexpandtab sw=4 ts=4
294
297
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -206,7 +206,10 @@ cliutil.getConsoleInput('Method(POST/PUT) : ',
206
206
  });
207
207
 
208
208
  /*
209
- * VIM modelines
210
- *
211
- * vim:set ts=4 fenc=utf-8:
209
+ * Local variables:
210
+ * tab-width: 4
211
+ * c-basic-offset: 4
212
+ * End:
213
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
214
+ * vim<600: noexpandtab sw=4 ts=4
212
215
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -49,7 +49,10 @@ function printAllUserTenantService()
49
49
  printAllUserTenantService();
50
50
 
51
51
  /*
52
- * VIM modelines
53
- *
54
- * vim:set ts=4 fenc=utf-8:
52
+ * Local variables:
53
+ * tab-width: 4
54
+ * c-basic-offset: 4
55
+ * End:
56
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
57
+ * vim<600: noexpandtab sw=4 ts=4
55
58
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -182,7 +182,10 @@ cliutil.getConsoleInput('extdata uri (/v1/extdata/<uri>/<path>) : ', true, fals
182
182
  });
183
183
 
184
184
  /*
185
- * VIM modelines
186
- *
187
- * vim:set ts=4 fenc=utf-8:
185
+ * Local variables:
186
+ * tab-width: 4
187
+ * c-basic-offset: 4
188
+ * End:
189
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
190
+ * vim<600: noexpandtab sw=4 ts=4
188
191
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -75,7 +75,10 @@ cliutil.getConsoleInput('user(allow null) : ', true, false, function(isbreak,
75
75
  });
76
76
 
77
77
  /*
78
- * VIM modelines
79
- *
80
- * vim:set ts=4 fenc=utf-8:
78
+ * Local variables:
79
+ * tab-width: 4
80
+ * c-basic-offset: 4
81
+ * End:
82
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
83
+ * vim<600: noexpandtab sw=4 ts=4
81
84
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -221,7 +221,10 @@ cliutil.getConsoleInput('Method(GET/HEAD) : ', true, false, fu
221
221
  });
222
222
 
223
223
  /*
224
- * VIM modelines
225
- *
226
- * vim:set ts=4 fenc=utf-8:
224
+ * Local variables:
225
+ * tab-width: 4
226
+ * c-basic-offset: 4
227
+ * End:
228
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
229
+ * vim<600: noexpandtab sw=4 ts=4
227
230
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -123,7 +123,10 @@ cliutil.getConsoleInput('Scoped user token for tenant : ', true, false, function
123
123
  });
124
124
 
125
125
  /*
126
- * VIM modelines
127
- *
128
- * vim:set ts=4 fenc=utf-8:
126
+ * Local variables:
127
+ * tab-width: 4
128
+ * c-basic-offset: 4
129
+ * End:
130
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
131
+ * vim<600: noexpandtab sw=4 ts=4
129
132
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -264,7 +264,10 @@ cliutil.getConsoleInput('Method(GET/HEAD) : ', true, false, function
264
264
  });
265
265
 
266
266
  /*
267
- * VIM modelines
268
- *
269
- * vim:set ts=4 fenc=utf-8:
267
+ * Local variables:
268
+ * tab-width: 4
269
+ * c-basic-offset: 4
270
+ * End:
271
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
272
+ * vim<600: noexpandtab sw=4 ts=4
270
273
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -289,7 +289,10 @@ cliutil.getConsoleInput('Method(POST/PUT)
289
289
  });
290
290
 
291
291
  /*
292
- * VIM modelines
293
- *
294
- * vim:set ts=4 fenc=utf-8:
292
+ * Local variables:
293
+ * tab-width: 4
294
+ * c-basic-offset: 4
295
+ * End:
296
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
297
+ * vim<600: noexpandtab sw=4 ts=4
295
298
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -427,7 +427,10 @@ rawInputToken(function(error, token_type, token)
427
427
  });
428
428
 
429
429
  /*
430
- * VIM modelines
431
- *
432
- * vim:set ts=4 fenc=utf-8:
430
+ * Local variables:
431
+ * tab-width: 4
432
+ * c-basic-offset: 4
433
+ * End:
434
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
435
+ * vim<600: noexpandtab sw=4 ts=4
433
436
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -416,7 +416,10 @@ cliutil.getConsoleInput('Method(GET/HEAD) : ', true, false, fun
416
416
  });
417
417
 
418
418
  /*
419
- * VIM modelines
420
- *
421
- * vim:set ts=4 fenc=utf-8:
419
+ * Local variables:
420
+ * tab-width: 4
421
+ * c-basic-offset: 4
422
+ * End:
423
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
424
+ * vim<600: noexpandtab sw=4 ts=4
422
425
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -480,7 +480,10 @@ cliutil.getConsoleInput('Method(POST/PUT)
480
480
  });
481
481
 
482
482
  /*
483
- * VIM modelines
484
- *
485
- * vim:set ts=4 fenc=utf-8:
483
+ * Local variables:
484
+ * tab-width: 4
485
+ * c-basic-offset: 4
486
+ * End:
487
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
488
+ * vim<600: noexpandtab sw=4 ts=4
486
489
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -399,7 +399,10 @@ cliutil.getConsoleInput('Delete ROLE/TOKEN(role)/HOST(name or ip)/IP/CUK : ', tr
399
399
  });
400
400
 
401
401
  /*
402
- * VIM modelines
403
- *
404
- * vim:set ts=4 fenc=utf-8:
402
+ * Local variables:
403
+ * tab-width: 4
404
+ * c-basic-offset: 4
405
+ * End:
406
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
407
+ * vim<600: noexpandtab sw=4 ts=4
405
408
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -534,7 +534,10 @@ cliutil.getConsoleInput('Method(GET/HEAD) : ', true, false, function
534
534
  });
535
535
 
536
536
  /*
537
- * VIM modelines
538
- *
539
- * vim:set ts=4 fenc=utf-8:
537
+ * Local variables:
538
+ * tab-width: 4
539
+ * c-basic-offset: 4
540
+ * End:
541
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
542
+ * vim<600: noexpandtab sw=4 ts=4
540
543
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -536,7 +536,10 @@ cliutil.getConsoleInput('Method(POST/PUT) :
536
536
  });
537
537
 
538
538
  /*
539
- * VIM modelines
540
- *
541
- * vim:set ts=4 fenc=utf-8:
539
+ * Local variables:
540
+ * tab-width: 4
541
+ * c-basic-offset: 4
542
+ * End:
543
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
544
+ * vim<600: noexpandtab sw=4 ts=4
542
545
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -145,7 +145,10 @@ cliutil.getConsoleInput('Scoped user token for service owner tenant
145
145
  });
146
146
 
147
147
  /*
148
- * VIM modelines
149
- *
150
- * vim:set ts=4 fenc=utf-8:
148
+ * Local variables:
149
+ * tab-width: 4
150
+ * c-basic-offset: 4
151
+ * End:
152
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
153
+ * vim<600: noexpandtab sw=4 ts=4
151
154
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -170,7 +170,10 @@ cliutil.getConsoleInput('Method(GET/HEAD)
170
170
  });
171
171
 
172
172
  /*
173
- * VIM modelines
174
- *
175
- * vim:set ts=4 fenc=utf-8:
173
+ * Local variables:
174
+ * tab-width: 4
175
+ * c-basic-offset: 4
176
+ * End:
177
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
178
+ * vim<600: noexpandtab sw=4 ts=4
176
179
  */
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * K2HR3 REST API
3
3
  *
4
- * Copyright 2017 Yahoo! Japan Corporation.
4
+ * Copyright 2017 Yahoo Japan Corporation.
5
5
  *
6
6
  * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
7
7
  * common management information for the cloud.
@@ -339,7 +339,10 @@ cliutil.getConsoleInput('Method(POST/PUT)
339
339
  });
340
340
 
341
341
  /*
342
- * VIM modelines
343
- *
344
- * vim:set ts=4 fenc=utf-8:
342
+ * Local variables:
343
+ * tab-width: 4
344
+ * c-basic-offset: 4
345
+ * End:
346
+ * vim600: noexpandtab sw=4 ts=4 fdm=marker
347
+ * vim<600: noexpandtab sw=4 ts=4
345
348
  */