This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a1f67d  CAMEL-13520: Fixed setup-salesforce-instance issues
5a1f67d is described below

commit 5a1f67d3d81c1f631b9897e39ce55d2898338035
Author: aldettinger <[email protected]>
AuthorDate: Tue May 14 14:42:08 2019 +0200

    CAMEL-13520: Fixed setup-salesforce-instance issues
---
 .../salesforce/classes/MerchandiseRestResource.cls      | 17 +----------------
 .../salesforce/classes/MerchandiseRestResourceTests.cls | 17 +----------------
 .../it/resources/salesforce/classes/UpdateProfile.cls   | 15 ---------------
 .../System Administrator With Hard Delete.profile       |  4 ++++
 4 files changed, 6 insertions(+), 47 deletions(-)

diff --git 
a/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResource.cls
 
b/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResource.cls
index 356c0a6..ec2f416 100644
--- 
a/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResource.cls
+++ 
b/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResource.cls
@@ -1,18 +1,3 @@
-% Licensed to the Apache Software Foundation (ASF) under one or more
-% contributor license agreements.  See the NOTICE file distributed with
-% this work for additional information regarding copyright ownership.
-% The ASF licenses this file to You under the Apache License, Version 2.0
-% (the "License"); you may not use this file except in compliance with
-% the License.  You may obtain a copy of the License at
-%
-%      http://www.apache.org/licenses/LICENSE-2.0
-%
-% Unless required by applicable law or agreed to in writing, software
-% distributed under the License is distributed on an "AS IS" BASIS,
-% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-% See the License for the specific language governing permissions and
-% limitations under the License.
-
 /**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -72,4 +57,4 @@ global with sharing class MerchandiseRestResource {
 
     // Invalid Merchandise Id exception
     public class InvalidParamException extends Exception {}
-}
\ No newline at end of file
+}
diff --git 
a/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResourceTests.cls
 
b/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResourceTests.cls
index d77cc12..8c755bd 100644
--- 
a/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResourceTests.cls
+++ 
b/components/camel-salesforce/it/resources/salesforce/classes/MerchandiseRestResourceTests.cls
@@ -1,18 +1,3 @@
-% Licensed to the Apache Software Foundation (ASF) under one or more
-% contributor license agreements.  See the NOTICE file distributed with
-% this work for additional information regarding copyright ownership.
-% The ASF licenses this file to You under the Apache License, Version 2.0
-% (the "License"); you may not use this file except in compliance with
-% the License.  You may obtain a copy of the License at
-%
-%      http://www.apache.org/licenses/LICENSE-2.0
-%
-% Unless required by applicable law or agreed to in writing, software
-% distributed under the License is distributed on an "AS IS" BASIS,
-% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-% See the License for the specific language governing permissions and
-% limitations under the License.
-
 /**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -85,4 +70,4 @@ public class MerchandiseRestResourceTests {
 
         MerchandiseRestResource.doPatch(merchandise);
     }
-}
\ No newline at end of file
+}
diff --git 
a/components/camel-salesforce/it/resources/salesforce/classes/UpdateProfile.cls 
b/components/camel-salesforce/it/resources/salesforce/classes/UpdateProfile.cls
index 7cd4b03..1b12942 100644
--- 
a/components/camel-salesforce/it/resources/salesforce/classes/UpdateProfile.cls
+++ 
b/components/camel-salesforce/it/resources/salesforce/classes/UpdateProfile.cls
@@ -1,18 +1,3 @@
-% Licensed to the Apache Software Foundation (ASF) under one or more
-% contributor license agreements.  See the NOTICE file distributed with
-% this work for additional information regarding copyright ownership.
-% The ASF licenses this file to You under the Apache License, Version 2.0
-% (the "License"); you may not use this file except in compliance with
-% the License.  You may obtain a copy of the License at
-%
-%      http://www.apache.org/licenses/LICENSE-2.0
-%
-% Unless required by applicable law or agreed to in writing, software
-% distributed under the License is distributed on an "AS IS" BASIS,
-% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-% See the License for the specific language governing permissions and
-% limitations under the License.
-
 /**
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git 
a/components/camel-salesforce/it/resources/salesforce/profiles/System 
Administrator With Hard Delete.profile 
b/components/camel-salesforce/it/resources/salesforce/profiles/System 
Administrator With Hard Delete.profile
index fea9133..0ef5451 100644
--- a/components/camel-salesforce/it/resources/salesforce/profiles/System 
Administrator With Hard Delete.profile        
+++ b/components/camel-salesforce/it/resources/salesforce/profiles/System 
Administrator With Hard Delete.profile        
@@ -621,4 +621,8 @@
         <enabled>true</enabled>
         <name>WorkCalibrationUser</name>
     </userPermissions>
+    <userPermissions>
+        <enabled>true</enabled>
+        <name>ModifyMetadata</name>
+    </userPermissions>
 </Profile>

Reply via email to