Skip to content

Commit

Permalink
Releasing version 65.48.0
Browse files Browse the repository at this point in the history
Releasing version 65.48.0
  • Loading branch information
oci-dex-release-bot authored Aug 29, 2023
2 parents 5850d1c + b2883f5 commit 5653241
Show file tree
Hide file tree
Showing 1,208 changed files with 8,181 additions and 8,752 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)

## 65.48.0 - 2023-08-29
### Added
- Support for creating and updating network monitors in the Application Performance Monitoring Synthetics service
- Support for integration of GoldenGate service for replication in the Database Migration Service
- Support for displaying resource usage information on autonomous container database and cloud autonomous vm cluster get operations in the Database service
- Support for FastConnect Media Access Control Security (MACSec) fail open option in the Network Monitoring service
- Support for generic bare metal types and configuration maps in compute instance platform configuration in the Compute service
- Support for encrypted FastConnect in the Network Monitoring service
- Support for new parameters on customer premises equipment and virtual circuit create operations in the Network Monitoring service
- Support for virtual circuit associated tunnels in the Network Monitoring service
- Support for additional parameters on dynamic routing gateway create and update operations in the Network Monitoring service
- Support for assigning an IPv6 address to a compute instance during instance launch or secondary VNIC attach in the Compute service

### Breaking Changes
- The models `AnalyticsCluster`, `AnalyticsClusterMemoryEstimate`, `AnalyticsClusterMemoryEstimateStatus`, `AnalyticsClusterNode`, `AnalyticsClusterSchemaMemoryEstimate`, `AnalyticsClusterSummary`, `AnalyticsClusterTableMemoryEstimate`, `UpdateAnalyticsClusterDetails`, `AddAnalyticsClusterRequest`, `DeleteAnalyticsClusterRequest`, `GenerateAnalyticsClusterMemoryEstimateRequest`, `GetAnalyticsClusterRequest`, `RestartAnalyticsClusterRequest`, `StartAnalyticsClusterRequest`, `StopAnalyticsClusterRequest`, `UpdateAnalyticsClusterRequest`, `DeleteAnalyticsClusterResponse`, `GetAnalyticsClusterMemoryEstimateResponse`, `RestartAnalyticsClusterResponse`, `StartAnalyticsClusterResponse`, `StopAnalyticsClusterResponse`, `UpdateAnalyticsClusterResponse` were removed in the MySQL Database service
- The properties `IsAnalyticsClusterAttached` and `AnalyticsCluster` were removed from `DbSystem` and `DbSystemSummary` models in the MySQL Database service
- The enum member `ANALYTICSCLUSTER` was removed from the enum `IsSupportedForEnum` in the models `ShapeSummary` and `ListShapesRequest` in the MySQL Database service
- The enum members `ADD_ANALYTICS_CLUSTER`, `UPDATE_ANALYTICS_CLUSTER`, `DELETE_ANALYTICS_CLUSTER`, `START_ANALYTICS_CLUSTER`, `STOP_ANALYTICS_CLUSTER`, `RESTART_ANALYTICS_CLUSTER`, `GENERATE_ANALYTICS_CLUSTER_MEMORY_ESTIMATE` were removed from the enum `WorkRequestOperationType` in the MySQL Database service
- The property `IsAnalyticsClusterAttached` was removed from the model `ListDbSystemsRequest` in the MySQL Database service
- The operations `AddAnalyticsCluster`, `DeleteAnalyticsCluster`, `GenerateAnalyticsClusterMemoryEstimate`, `GetAnalyticsCluster`, `GetAnalyticsClusterMemoryEstimate`, `RestartAnalyticsCluster`, `StartAnalyticsCluster`, `StopAnalyticsCluster`, `UpdateAnalyticsCluster` were removed from the `DbSystemClient` in the MySQL Database service


## 65.47.2 - 2023-08-22
### Added
- Support for Compute Cloud at Customer service
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ EXCLUDED_CLEAN_DIRECTORIES = objectstorage/transfer*

build: lint $(TARGETS_BUILD)

static-check:
@staticcheck ./...
@echo "Success: No static check warnings"

test: build $(TARGETS_TEST)

test-only: $(TARGETS_TEST)
Expand Down
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,36 @@ go install github.com/gofrs/flock
```
go install github.com/golang/lint/golint
```
- Install [staticcheck](https://github.com/dominikh/go-tools) with the command:
```
go install honnef.co/go/tools/cmd/staticcheck@2023.1.3
```

### Linting and Staticcheck
Linting (performed by golint) can be done with the following command:

```
make lint
```
This command is also run by the make build and make test commands.
Linting will perform a number of formatting changes across the code base.

Staticcheck can be run with:

```
make static-check
```
Staticcheck will provide formatting warnings but will not make any changes to any files.
You can also cause staticcheck to be run before calls to "git commit" with the pre-commit plugin.

```
pre-commit install
```
You can install pre-commit itself, you can use your package manager of choice, such as

```
brew install pre-commit
```

### Build
Building is provided by the make file at the root of the project. To build the project execute.
Expand Down
2 changes: 1 addition & 1 deletion accessgovernancecp/accessgovernancecp_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (client *AccessGovernanceCPClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
2 changes: 1 addition & 1 deletion adm/adm_applicationdependencymanagement_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (client *ApplicationDependencyManagementClient) setConfigurationProvider(co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
5 changes: 1 addition & 4 deletions adm/create_vulnerability_audit_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error) {
m.CompartmentId = model.CompartmentId

m.ApplicationDependencies = make([]ApplicationDependency, len(model.ApplicationDependencies))
for i, n := range model.ApplicationDependencies {
m.ApplicationDependencies[i] = n
}

copy(m.ApplicationDependencies, model.ApplicationDependencies)
m.Configuration = model.Configuration

m.DisplayName = model.DisplayName
Expand Down
5 changes: 1 addition & 4 deletions adm/vulnerability_audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,7 @@ func (m *VulnerabilityAudit) UnmarshalJSON(data []byte) (e error) {
m.LifecycleState = model.LifecycleState

m.Vulnerabilities = make([]Vulnerability, len(model.Vulnerabilities))
for i, n := range model.Vulnerabilities {
m.Vulnerabilities[i] = n
}

copy(m.Vulnerabilities, model.Vulnerabilities)
m.MaxObservedCvssV2Score = model.MaxObservedCvssV2Score

m.MaxObservedCvssV3Score = model.MaxObservedCvssV3Score
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (client *AnomalyDetectionClient) setConfigurationProvider(configProvider co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
14 changes: 7 additions & 7 deletions aianomalydetection/detect_anomalies_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ type DetectAnomaliesDetails interface {

type detectanomaliesdetails struct {
JsonData []byte
ModelId *string `mandatory:"true" json:"modelId"`
Sensitivity *float32 `mandatory:"false" json:"sensitivity"`
ModelId *string `mandatory:"true" json:"modelId"`
RequestType string `json:"requestType"`
}

Expand Down Expand Up @@ -77,16 +77,16 @@ func (m *detectanomaliesdetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}

//GetModelId returns ModelId
func (m detectanomaliesdetails) GetModelId() *string {
return m.ModelId
}

//GetSensitivity returns Sensitivity
// GetSensitivity returns Sensitivity
func (m detectanomaliesdetails) GetSensitivity() *float32 {
return m.Sensitivity
}

// GetModelId returns ModelId
func (m detectanomaliesdetails) GetModelId() *string {
return m.ModelId
}

func (m detectanomaliesdetails) String() string {
return common.PointerString(m)
}
Expand Down
2 changes: 1 addition & 1 deletion aidocument/aidocument_aiservicedocument_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (client *AIServiceDocumentClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
1 change: 0 additions & 1 deletion aidocument/analyze_document_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func (m *AnalyzeDocumentDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}

nn, e = model.Document.UnmarshalPolymorphicJSON(model.Document.JsonData)
if e != nil {
return
Expand Down
5 changes: 1 addition & 4 deletions aidocument/create_model_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,7 @@ func (m *CreateModelDetails) UnmarshalJSON(data []byte) (e error) {
}

m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
for i, n := range model.ComponentModels {
m.ComponentModels[i] = n
}

copy(m.ComponentModels, model.ComponentModels)
m.AliasName = model.AliasName

m.FreeformTags = model.FreeformTags
Expand Down
18 changes: 9 additions & 9 deletions aidocument/field_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ type FieldValue interface {

type fieldvalue struct {
JsonData []byte
Text *string `mandatory:"false" json:"text"`
Confidence *float32 `mandatory:"true" json:"confidence"`
BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"`
WordIndexes []int `mandatory:"true" json:"wordIndexes"`
Text *string `mandatory:"false" json:"text"`
ValueType string `json:"valueType"`
}

Expand Down Expand Up @@ -103,26 +103,26 @@ func (m *fieldvalue) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}

//GetConfidence returns Confidence
// GetText returns Text
func (m fieldvalue) GetText() *string {
return m.Text
}

// GetConfidence returns Confidence
func (m fieldvalue) GetConfidence() *float32 {
return m.Confidence
}

//GetBoundingPolygon returns BoundingPolygon
// GetBoundingPolygon returns BoundingPolygon
func (m fieldvalue) GetBoundingPolygon() *BoundingPolygon {
return m.BoundingPolygon
}

//GetWordIndexes returns WordIndexes
// GetWordIndexes returns WordIndexes
func (m fieldvalue) GetWordIndexes() []int {
return m.WordIndexes
}

//GetText returns Text
func (m fieldvalue) GetText() *string {
return m.Text
}

func (m fieldvalue) String() string {
return common.PointerString(m)
}
Expand Down
1 change: 0 additions & 1 deletion aidocument/general_processor_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,5 @@ func (m *GeneralProcessorConfig) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}

return
}
10 changes: 2 additions & 8 deletions aidocument/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ func (m *Model) UnmarshalJSON(data []byte) (e error) {
m.AliasName = model.AliasName

m.Labels = make([]string, len(model.Labels))
for i, n := range model.Labels {
m.Labels[i] = n
}

copy(m.Labels, model.Labels)
m.IsQuickMode = model.IsQuickMode

m.MaxTrainingTimeInHours = model.MaxTrainingTimeInHours
Expand Down Expand Up @@ -205,10 +202,7 @@ func (m *Model) UnmarshalJSON(data []byte) (e error) {
}

m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
for i, n := range model.ComponentModels {
m.ComponentModels[i] = n
}

copy(m.ComponentModels, model.ComponentModels)
m.IsComposedModel = model.IsComposedModel

m.TimeUpdated = model.TimeUpdated
Expand Down
2 changes: 1 addition & 1 deletion aidocument/model_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (m *modelmetrics) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}

//GetDatasetSummary returns DatasetSummary
// GetDatasetSummary returns DatasetSummary
func (m modelmetrics) GetDatasetSummary() *DatasetSummary {
return m.DatasetSummary
}
Expand Down
5 changes: 1 addition & 4 deletions aidocument/model_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ func (m *ModelSummary) UnmarshalJSON(data []byte) (e error) {
}

m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
for i, n := range model.ComponentModels {
m.ComponentModels[i] = n
}

copy(m.ComponentModels, model.ComponentModels)
m.IsComposedModel = model.IsComposedModel

m.FreeformTags = model.FreeformTags
Expand Down
2 changes: 1 addition & 1 deletion ailanguage/ailanguage_aiservicelanguage_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (client *AIServiceLanguageClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
5 changes: 1 addition & 4 deletions ailanguage/batch_detect_language_pii_entities_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e er
}

m.Documents = make([]TextDocument, len(model.Documents))
for i, n := range model.Documents {
m.Documents[i] = n
}

copy(m.Documents, model.Documents)
return
}
1 change: 0 additions & 1 deletion ailanguage/evaluation_result_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,5 @@ func (m *EvaluationResultCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}

return
}
4 changes: 2 additions & 2 deletions ailanguage/evaluation_result_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ func (m *evaluationresultsummary) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}

//GetFreeformTags returns FreeformTags
// GetFreeformTags returns FreeformTags
func (m evaluationresultsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}

//GetDefinedTags returns DefinedTags
// GetDefinedTags returns DefinedTags
func (m evaluationresultsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
Expand Down
2 changes: 1 addition & 1 deletion ailanguage/model_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (m *modeldetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}

//GetLanguageCode returns LanguageCode
// GetLanguageCode returns LanguageCode
func (m modeldetails) GetLanguageCode() *string {
return m.LanguageCode
}
Expand Down
2 changes: 1 addition & 1 deletion aispeech/aispeech_aiservicespeech_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (client *AIServiceSpeechClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
5 changes: 1 addition & 4 deletions aispeech/create_transcription_job_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ func (m *CreateTranscriptionJobDetails) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description

m.AdditionalTranscriptionFormats = make([]CreateTranscriptionJobDetailsAdditionalTranscriptionFormatsEnum, len(model.AdditionalTranscriptionFormats))
for i, n := range model.AdditionalTranscriptionFormats {
m.AdditionalTranscriptionFormats[i] = n
}

copy(m.AdditionalTranscriptionFormats, model.AdditionalTranscriptionFormats)
m.ModelDetails = model.ModelDetails

m.Normalization = model.Normalization
Expand Down
5 changes: 1 addition & 4 deletions aispeech/transcription_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,7 @@ func (m *TranscriptionJob) UnmarshalJSON(data []byte) (e error) {
m.CreatedBy = model.CreatedBy

m.AdditionalTranscriptionFormats = make([]TranscriptionJobAdditionalTranscriptionFormatsEnum, len(model.AdditionalTranscriptionFormats))
for i, n := range model.AdditionalTranscriptionFormats {
m.AdditionalTranscriptionFormats[i] = n
}

copy(m.AdditionalTranscriptionFormats, model.AdditionalTranscriptionFormats)
m.LifecycleState = model.LifecycleState

m.LifecycleDetails = model.LifecycleDetails
Expand Down
1 change: 0 additions & 1 deletion aispeech/transcription_normalization.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@ func (m *TranscriptionNormalization) UnmarshalJSON(data []byte) (e error) {
m.Filters[i] = nil
}
}

return
}
2 changes: 1 addition & 1 deletion aivision/aivision_aiservicevision_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (client *AIServiceVisionClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
Expand Down
1 change: 0 additions & 1 deletion aivision/analyze_document_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ func (m *AnalyzeDocumentDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}

nn, e = model.Document.UnmarshalPolymorphicJSON(model.Document.JsonData)
if e != nil {
return
Expand Down
Loading

0 comments on commit 5653241

Please sign in to comment.