Modify permissions for files in Things Manager
authorJihun Ha <jihun.ha@samsung.com>
Thu, 17 Sep 2015 05:20:14 +0000 (14:20 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Thu, 17 Sep 2015 07:15:29 +0000 (07:15 +0000)
All files with "Excutable bit" has been changed into "Non-executable bit"
(755 -> 664)
And, I've modified typo strings in con-client and con-server applications

Change-Id: I6498d22b96fadd078e0ae9a05e782dfccb84bb07
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2615
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
16 files changed:
service/things-manager/sampleapp/linux/configuration/ConfigurationCollection.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/ConfigurationCollection.h [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/FactorySetCollection.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/FactorySetCollection.h [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/MaintenanceCollection.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/MaintenanceCollection.h [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/bootstrapserver.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/con-client.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/configuration/con-server.cpp [changed mode: 0755->0644]
service/things-manager/sampleapp/linux/groupaction/groupserver.cpp [changed mode: 0755->0644]
service/things-manager/sdk/inc/GroupManager.h [changed mode: 0755->0644]
service/things-manager/sdk/inc/GroupSynchronization.h [changed mode: 0755->0644]
service/things-manager/sdk/inc/ThingsConfiguration.h [changed mode: 0755->0644]
service/things-manager/sdk/inc/ThingsMaintenance.h [changed mode: 0755->0644]
service/things-manager/sdk/src/ThingsConfiguration.cpp [changed mode: 0755->0644]
service/things-manager/sdk/src/ThingsMaintenance.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index a7a67e9..b59e983
@@ -27,7 +27,6 @@
 #include <vector>
 #include "OCPlatform.h"
 #include "OCApi.h"
-//#include "ThingsManager.h"
 #include "ThingsConfiguration.h"
 #include "ThingsMaintenance.h"
 #include "GroupManager.h"
@@ -41,7 +40,6 @@ pthread_mutex_t mutex_lock = PTHREAD_MUTEX_INITIALIZER;
 
 const int SUCCESS_RESPONSE = 0;
 
-//static ThingsManager* g_thingsmanager;
 static GroupManager* g_groupmanager;
 static ThingsConfiguration* g_thingsConf;
 static ThingsMaintenance* g_thingsMnt;
@@ -312,7 +310,7 @@ int main(int argc, char* argv[])
             cout << "(1) Find all resources(URI: /oic/con, /oic/mnt, /factoryset)" << std::endl;
             cout << "(2) Find all groups" << std::endl;
             cout << "(3) Get a Configuration resource" << std::endl;
-            cout << "(4) Update a region attribute value" << std::endl;
+            cout << "(4) Update a device name attribute value" << std::endl;
             cout << "(5) FactoryReset (for the group)" << std::endl;
             cout << "(6) Reboot (for the group)" << std::endl;
             cout << "(10) Show Configuration Units" << std::endl;
@@ -459,7 +457,7 @@ int main(int argc, char* argv[])
                     continue;
                 }
 
-                std::cout << "For example, change region resource's value" << std::endl;
+                std::cout << "For example, change a device name" << std::endl;
                 std::cout << g_configurationCollection->uri() << std::endl;
 
                 std::map< ConfigurationName, ConfigurationValue > configurations;
old mode 100755 (executable)
new mode 100644 (file)
index 136b22f..0a67a09
@@ -51,7 +51,6 @@ std::string defaultLocationName;
 std::string defaultRegion;
 std::string defaultCurrency;
 
-//static ThingsManager* g_thingsmanager;
 static ThingsConfiguration* g_thingsConf;
 
 // Forward declaring the entityHandler (Configuration)
@@ -239,7 +238,7 @@ void onBootstrap(const HeaderOptions& headerOptions, const OCRepresentation& rep
     defaultRegion = rep.getValue< std::string >("r");
     defaultCurrency = rep.getValue< std::string >("c");
 
-    std::cout << "\tSystemTime : " << defaultDeviceName << std::endl;
+    std::cout << "\DeviceName : " << defaultDeviceName << std::endl;
     std::cout << "\tLocation : " << defaultLocation << std::endl;
     std::cout << "\tLocationName : " << defaultLocationName << std::endl;
     std::cout << "\tCurrency : " << defaultCurrency << std::endl;
@@ -257,7 +256,6 @@ int main()
 
     OCPlatform::Configure(cfg);
     g_thingsConf = new ThingsConfiguration();
-    //g_thingsDiag = new ThingsMaintenance();
     //**************************************************************
 
     if (getuid() != 0)
@@ -283,7 +281,7 @@ int main()
 
             std::cout << endl << endl << "(0) Quit" << std::endl;
             std::cout << "(1) Bootstrap" << std::endl;
-            std::cout << "(2) Create Configuration Resources" << std::endl;
+            std::cout << "(2) Create Configuration/Maintenance Resources" << std::endl;
 
             cin >> g_Steps;
 
old mode 100755 (executable)
new mode 100644 (file)