cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8677) Call-home functionality for CloudStack
Date Tue, 16 Feb 2016 16:50:18 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148895#comment-15148895
] 

ASF GitHub Bot commented on CLOUDSTACK-8677:
--------------------------------------------

Github user rodrigo93 commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/625#discussion_r53039381
  
    --- Diff: server/src/org/apache/cloudstack/report/AtomicGsonAdapter.java ---
    @@ -0,0 +1,48 @@
    +// 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.
    +package org.apache.cloudstack.report;
    +
    +import com.google.gson.TypeAdapter;
    +import com.google.gson.stream.JsonReader;
    +import com.google.gson.stream.JsonWriter;
    +import com.google.common.util.concurrent.AtomicLongMap;
    +import java.util.Map;
    +import java.io.IOException;
    +
    +public class AtomicGsonAdapter extends TypeAdapter<AtomicLongMap> {
    +
    +    public AtomicLongMap<Object> read(JsonReader reader) throws IOException {
    --- End diff --
    
    Hi @wido,
    Why don't you turn this method "void", so you could remove the "return null;" line.


> Call-home functionality for CloudStack
> --------------------------------------
>
>                 Key: CLOUDSTACK-8677
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8677
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: Future, 4.6.0
>            Reporter: Wido den Hollander
>            Assignee: Wido den Hollander
>             Fix For: 4.6.1
>
>
> A call-home feature for the CloudStack management server would send anonimized reports
back to the CloudStack project.
> These statistics will contain numbers and details on how CloudStack will be used. It
will NOT contain:
> * Hostnames
> * IP-Addresses
> * Instance names
> It will report back:
> * Hosts (Number, version, type, hypervisor)
> * Clusters (Hypervisor en Management type)
> * Primary storage (Type and provider)
> * Zones (Network type and providers)
> * Instances (Number and types)
> This gives the CloudStack project a better insight on how CloudStack is being used and
allows us to develop accordingly.
> It will be OPT-OUT, using the "usage.report.interval" users can disable usage reporting.
By default it will run every 7 days and send a JSON document to https://call-home.cloudstack.org/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message